Changes for page 06 Instructions

Last modified by Devin Chen on 2024/10/15 14:46

From version 4.1
edited by Stone Wu
on 2022/07/19 16:22
Change comment: There is no comment for this version
To version 11.1
edited by Devin Chen
on 2024/10/15 14:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor.1 User Manual.WebHome
1 +PLC Editor.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.DevinChen
Content
... ... @@ -1,0 +1,306 @@
1 += **Basic program instructions** =
2 +
3 +|**Instruction type**|**Instruction**|**Description**|(((
4 +**LX3V(1S)**
5 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
6 +|(% rowspan="25" %)[[Basic instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/01.Basic%20instruction/]]|LD|Operation contact type NO (normally open)|¡|¡|¡|¡
7 +|LDI|Operation contact type NC (normally closed)|¡|¡|¡|¡
8 +|OUT|Final logical operation type coil drive|¡|¡|¡|¡
9 +|AND|Serial connection of NO(normally open)|¡|¡|¡|¡
10 +|ANI|Serial logical, operation contact type NC(normally closed) contacts|¡|¡|¡|¡
11 +|OR|Parallel, connection of NO (normally open) contacts|¡|¡|¡|¡
12 +|ORI|Parallel, connection of NC (normally closed) contacts|¡|¡|¡|¡
13 +|LDP|Initial logical, operation -Rising edge pulse|¡|¡|¡|¡
14 +|LDF|Initial logical, operation falling/trailing edge pulse|¡|¡|¡|¡
15 +|ANDP|Serial connection of Rising edge pulse|¡|¡|¡|¡
16 +|ANDF|Serial connection of falling/ trailing edge pulse|¡|¡|¡|¡
17 +|ORP|Parallel, connection of NO Rising edge pulse|¡|¡|¡|¡
18 +|ORF|Parallel connection of Falling/trailing edge pulse|¡|¡|¡|¡
19 +|ORB|Serial connection of multiple parallel circuits|¡|¡|¡|¡
20 +|ANB|Serial connection of multiple parallel circuits|¡|¡|¡|¡
21 +|MPS|Stores the current result of the internal PLC operations|¡|¡|¡|¡
22 +|MRD|Reads the current result of the internal PLC operations|¡|¡|¡|¡
23 +|MPP|Pops (recalls and removes) the currently stored result|¡|¡|¡|¡
24 +|MC|Denotes the start of a master control block|¡|¡|¡|¡
25 +|MCR|Denotes the end of a master control block|¡|¡|¡|¡
26 +|INV|Invert the current result of the internal PLC operations|¡|¡|¡|¡
27 +|PLS|Rising edge pulse|¡|¡|¡|¡
28 +|PLF|Falling / trailing edge pulse|¡|¡|¡|¡
29 +|SET|Sets a bit device permanently ON|¡|¡|¡|¡
30 +|RST|Resets a bit device permanently OFF|¡|¡|¡|¡
31 +
32 += **Step ladder instructions** =
33 +
34 +|**Instruction type**|**Instruction**|**Description**|(((
35 +**LX3V**
36 +
37 +**(1S)**
38 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
39 +|(% rowspan="2" %)[[Step ladder instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/17.Step%20control%20instructions/]]|STL|STL programming start instruction|¡|¡|¡|¡
40 +|RET|STL programming end instruction|¡|¡|¡|¡
41 +
42 += **Program Flow instructions** =
43 +
44 +|**Instruction type**|**Instruction**|**Description**|(((
45 +**LX3V**
46 +
47 +**(1S)**
48 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
49 +|(% rowspan="7" %)[[Program flow instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/02.Program%20flow/]]|CJ|Conditional jump|¡|¡|¡|¡
50 +|CALL|Call Subroutine|¡|¡|¡|¡
51 +|EI|Enable Interrupt|¡|¡|¡|¡
52 +|DI|Disable Interrupt|¡|¡|¡|¡
53 +|WDT|Watchdog Timer|¡|¡|¡|¡
54 +|FOR|Start of a For/Next Loop|¡|¡|¡|¡
55 +|NEXT|End a For/Next Loop|¡|¡|¡|¡
56 +
57 += **Move and Compare instructions** =
58 +
59 +|**Instruction type**|**Instruction**|**Description**|(((
60 +**LX3V**
61 +
62 +**(1S)**
63 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
64 +|(% rowspan="10" %)[[Move and Compare instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/03.Move%20and%20campare/]]|CMP|Compare |¡|¡|¡|¡
65 +|ZCP|Zone compare|¡|¡|¡|¡
66 +|MOV|Move |¡|¡|¡|¡
67 +|SMOV|Shift move|-|¡|¡|¡
68 +|CML|Compliment |-|¡|¡|¡
69 +|BMOV|Block move|¡|¡|¡|¡
70 +|FMOV|Fill move|-|¡|¡|¡
71 +|XCH|Exchange |-|¡|¡|¡
72 +|BCD|Binary coded decimal|¡|¡|¡|¡
73 +|BIN|Binary |¡|¡|¡|¡
74 +
75 += **Arithmetic and Logical Operations instructions** =
76 +
77 +|**Instruction type**|**Instruction**|**Description**|(((
78 +**LX3V**
79 +
80 +**(1S)**
81 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
82 +|(% rowspan="10" %)[[Arithmetic and Logical Operations instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/06.Arithmetic%20and%20logical%20operations/]]|ADD|Addition |¡|¡|¡|¡
83 +|SUB|Subtraction |¡|¡|¡|¡
84 +|MUL|Multiplication |¡|¡|¡|¡
85 +|DIV|Division |¡|¡|¡|¡
86 +|INC|Increment|¡|¡|¡|¡
87 +|DEC|Decrement|¡|¡|¡|¡
88 +|WAND|Word AND|¡|¡|¡|¡
89 +|WOR|Word OR|¡|¡|¡|¡
90 +|WXOR|Word exclusive OR|¡|¡|¡|¡
91 +|NEG|Negation |-|¡|¡|¡
92 +
93 += **Rotation and Shift instructions** =
94 +
95 +|**Instruction type**|**Instruction**|**Description**|(((
96 +**LX3V**
97 +
98 +**(1S)**
99 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
100 +|(% rowspan="10" %)[[Rotation and Shift instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/08.Rotation%20and%20shift/]]|ROR|Rotation right|¡|¡|¡|¡
101 +|ROL|Rotation left|¡|¡|¡|¡
102 +|RCR|16-bit rotation right with carry|-|¡|¡|¡
103 +|RCL|16-bit rotation left with carry|-|¡|¡|¡
104 +|SFTR|(bit) shift right|¡|¡|¡|¡
105 +|SFTL|(bit) shift left|¡|¡|¡|¡
106 +|WSFR|word shift right|-|¡|¡|¡
107 +|WSFL|word shift left|-|¡|¡|¡
108 +|SFWR|shift register write|¡|¡|¡|¡
109 +|SFRD|shift register read|¡|¡|¡|¡
110 +
111 += **Data operation instructions** =
112 +
113 +|**Instruction type**|**Instruction**|**Description**|(((
114 +**LX3V**
115 +
116 +**(1S)**
117 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
118 +|(% rowspan="11" %)[[Data operation instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/04.Data%20operation/]]|ZRST|Zone reset|¡|¡|¡|¡
119 +|DECO|Decode |¡|¡|¡|¡
120 +|ENCO|Encode |¡|¡|¡|¡
121 +|SUM|The sum of active bits|-|¡|¡|¡
122 +|BON|Check specified bit status|-|¡|¡|¡
123 +|MEAN|Mean |-|¡|¡|¡
124 +|ANS|(timed) annunciator set|-|¡|¡|¡
125 +|ANR|Annunciator reset|-|¡|¡|¡
126 +|SQR|Square root|-|¡|¡|¡
127 +|FLT|Float |-|¡|¡|¡
128 +|SWAP|High and low bit conversion|-|¡|¡|¡
129 +
130 += **High-speed Processing Instructions** =
131 +
132 +|**Instruction type**|**Instruction**|**Description**|(((
133 +**LX3V**
134 +
135 +**(1S)**
136 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
137 +|(% colspan="1" rowspan="11" %)[[High-speed Processing Instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/07.High%20speed%20process/]]|REF|Refresh|¡|¡|¡|¡
138 +|REFF|Refresh and filter adjust|-|¡|¡|¡
139 +|MTR|Input matrix|¡|¡|¡|¡
140 +|DHSCR|High speed counter set|¡|¡|¡|¡
141 +|DHSCS|High speed counter reset|¡|¡|¡|¡
142 +|DHSZ|High speed counter zone compare|-|¡|¡|¡
143 +|SPD|Speed detect|¡|¡|¡|¡
144 +|PLSY|16-bit pulse Y output|¡|¡|¡|¡
145 +|PWM|Pulse width modulation|¡|¡|¡|¡
146 +|PLSR|Ramp pulse output|¡|¡|¡|¡
147 +|PLSR2|Multi-speed pulse output|-|-|¡|-
148 +
149 += **ECAM instructions** =
150 +
151 +|**Instruction type**|**Instruction**|**Description**|(((
152 +**LX3V**
153 +
154 +**(1S)**
155 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
156 +|(% rowspan="3" %)[[ECAM instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/10.ECAM/]]|DECAM|ECAM configuration|-|-|-|¡
157 +|DEGEAR|Electronic gear configuration|-|-|-|¡
158 +|ECAMTBX|Create E-CAM datasheet|-|-|-|¡
159 +
160 += **External I/O Devices instructions** =
161 +
162 +|**Instruction type**|**Instruction**|**Description**|(((
163 +**LX3V**
164 +
165 +**(1S)**
166 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
167 +|(% rowspan="12" %)[[External I/O device instruction>>path:https://docs.we-con.com.cn/bin/view/PLC%20Editor/6.Instruction/09.External%20IO%20Devices/]]|TKY|Ten key input|-|¡|¡|¡
168 +|HKY|Hexadecimal input|-|¡|¡|¡
169 +|DSW|Digital switch (thumbwheel input)|¡|¡|¡|¡
170 +|SEGD|Seven segment decoder|-|¡|¡|¡
171 +|SEGL|Seven segment with latch|¡|¡|¡|¡
172 +|ARWS|Arrow switch|-|¡|¡|¡
173 +|ASC|ASCII code|-|¡|¡|¡
174 +|PR|“print” to a display|-|¡|¡|¡
175 +|FROM|Read from a special function block|¡|¡|¡|¡
176 +|TO|Write to a special function block|¡|¡|¡|¡
177 +|GRY|Converts binary integer to GRAY code|-|¡|¡|¡
178 +|GBIN|Converts GRAY CODE to binary|-|¡|¡|¡
179 +
180 += **External Devices instructions** =
181 +
182 +|**Instruction type**|**Instruction**|**Description**|(((
183 +**LX3V**
184 +
185 +**(1S)**
186 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
187 +|(% rowspan="9" %)[[External devices instruction>>path:https://docs.we-con.com.cn/bin/view/PLC%20Editor/6.Instruction/13.External%20Device%20SER%20instruction/]]|RS|RS communications|¡|¡|¡|¡
188 +|RS2|RS2 communications|¡|¡|¡|¡
189 +|CPAVL|Serial port settings|¡|¡|¡|¡
190 +|CPAVL|Ethernet port settings|¡|¡|¡|¡
191 +|PRUN|Octal bit transmission|¡|¡|¡|¡
192 +|ASCI|hexadecimal to ASCII|¡|¡|¡|¡
193 +|HEX|ASCII to hexadecimal|¡|¡|¡|¡
194 +|CCD|check code|¡|¡|¡|¡
195 +|PID|PID control loop|¡|¡|¡|¡
196 +
197 += **Floating Point instructions** =
198 +
199 +|**Instruction type**|**Instruction**|**Description**|(((
200 +**LX3V**
201 +
202 +**(1S)**
203 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
204 +|(% rowspan="22" %)[[Floating point instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/14.Floating%20calculation/]]|DECMP|Binary floating point data compare|-|¡|¡|¡
205 +|DEZCP|Binary floating point zone compare|-|¡|¡|¡
206 +|DEBCD|Binary to BCD floating point data conversion|-|¡|¡|¡
207 +|DEBIN|BCD to Binary floating point data conversion|-|¡|¡|¡
208 +|DEADD|Binary floating point addition|-|¡|¡|¡
209 +|DESUB|Binary floating point subtraction|-|¡|¡|¡
210 +|DEMUL|Binary floating point multiplication|-|¡|¡|¡
211 +|DEDIV|Binary floating point division|-|¡|¡|¡
212 +|DESQR|Binary floating point square root|-|¡|¡|¡
213 +|INT|16-bit binary floating point to integer|-|¡|¡|¡
214 +|DSIN|Sin operation|-|¡|¡|¡
215 +|DCOS|Cosine operation|-|¡|¡|¡
216 +|DTAN|Tangent operation|-|¡|¡|¡
217 +|DASIN|Calculate radian value, according to the corresponding value of SIN|-|-|¡|¡
218 +|DSINH|Binary floating point operation of Hyperbolic Sine function SINH|-|-|¡|¡
219 +|DACOS|Calculate radian value, according to the corresponding value of COS|-|-|¡|¡
220 +|DCOSH|Binary floating point operation of Hyperbolic Cosine function COSH|-|-|¡|¡
221 +|DATAN|Calculate radian value, according to the corresponding value of TAN|-|-|¡|¡
222 +|DTANH|Binary floating point operation of Hyperbolic Tangent function TANH|-|-|¡|¡
223 +|DEXP|Perform exponent operation of binary floating-point number to base e (2.71828)|-|-|¡|¡
224 +|DLOG10|Perform common logarithm operation of binary floating-point number to base 10|-|-|¡|¡
225 +|DLOGE|Perform natural logarithm operation of binary floating-point number to base e (2.71828)|-|-|¡|¡
226 +
227 += **Positioning Instructions** =
228 +
229 +|**Instruction type**|**Instruction**|**Description**|(((
230 +**LX3V**
231 +
232 +**(1S)**
233 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
234 +|(% rowspan="5" %)[[Positioning instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/12.Positioning%20control/]]|DABS|Absolute current value read|¡|¡|¡|¡
235 +|ZRN|Setting of zero return speed|¡|¡|¡|¡
236 +|PLSV|Variable speed pulse output|¡|¡|¡|¡
237 +|DRVI|Relative position control|¡|¡|¡|¡
238 +|DRVA|Absolute position control|¡|¡|¡|¡
239 +
240 +**4.14 Real Time Clock Control**
241 +
242 +|**Instruction type**|**Instruction**|**Description**|(((
243 +**LX3V**
244 +
245 +**(1S)**
246 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
247 +|(% rowspan="7" %)[[Real time clock control>>path:/wiki/plc/view/2-User%20manual/6.Instruction/05.Real%20time%20clock/]]|TCMP|time compare|¡|¡|¡|¡
248 +|TZCP|time zone compare|¡|¡|¡|¡
249 +|TADD|time addition|¡|¡|¡|¡
250 +|TSUB|time subtraction|¡|¡|¡|¡
251 +|TRD|read RTC data|¡|¡|¡|¡
252 +|TWR|set RTC data|¡|¡|¡|¡
253 +|HOUR|16-bit chronograph|¡|¡|¡|¡
254 +
255 += **Handy Instructions** =
256 +
257 +|**Instruction type**|**Instruction**|**Description**|(((
258 +**LX3V(1S)**
259 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
260 +|(% rowspan="10" %)[[Handy instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/11.Handy%20instructions/]]|IST|initial state|¡|¡|¡|¡
261 +|SER|Search |-|¡|¡|¡
262 +|ABSD|Absolute drum|¡|¡|¡|¡
263 +|INCD|Incremental drum|¡|¡|¡|¡
264 +|TTMR|Teaching timer|-|¡|¡|¡
265 +|STMR|Special timer - definable|-|¡|¡|¡
266 +|ALT|Alternate state|¡|¡|¡|¡
267 +|RAMP|Ramp - variable value|¡|¡|¡|¡
268 +|ROTC|Rotary table control|-|¡|¡|¡
269 +|SORT|Sort data|-|¡|¡|¡
270 +
271 += **Circular interpolation instructions** =
272 +
273 +|**Instruction type**|**Instruction**|**Decryption**|**LX3V**|**LX3VP**|**LX3VE**|**LX3VM**
274 +|(% rowspan="6" %)[[Circular interpolation instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/15.Circular%20interpolation%20instruction/]]|G90G01|Absolute position line interpolation|-|-|-|¡
275 +|G91G01|Relative position line interpolation|-|-|-|¡
276 +|G90G02|Absolute position of the clockwise circular interpolation|-|-|-|¡
277 +|G91G02|Relative position clockwise circular interpolation|-|-|-|¡
278 +|G90G03|Absolute position anticlockwise circular interpolation|-|-|-|¡
279 +|G91G03|Relative position anticlockwise circular interpolation|-|-|-|¡
280 +
281 += **Inline Comparisons Instructions** =
282 +
283 +|**Instruction type**|**Instruction**|**Description**|(((
284 +**LX3V**
285 +
286 +**(1S)**
287 +)))|**LX3V (2N)**|**LX3VP**|**LX3VE**
288 +|(% rowspan="19" %)Inline comparisons instruction|LD=|Comparison of 16-bit data (==)|¡|¡|¡|¡
289 +|LD>|Comparison of 16-bit data (>|¡|¡|¡|¡
290 +|LD<|Comparison of 16-bit data (<|¡|¡|¡|¡
291 +|LD<>|Comparison of 16-bit data (<>|¡|¡|¡|¡
292 +|LD<=|Comparison of 16-bit data (<=)|¡|¡|¡|¡
293 +|LD>=|Comparison of 16-bit data (>=)|¡|¡|¡|¡
294 +|AND=|Comparison of 16-bit data (==)|¡|¡|¡|¡
295 +|AND>|Comparison of 16-bit data (>|¡|¡|¡|¡
296 +|AND<|Comparison of 16-bit data (<|¡|¡|¡|¡
297 +|AND<>|Comparison of 16-bit data (<>|¡|¡|¡|¡
298 +|AND<=|Comparison of 16-bit data (<=)|¡|¡|¡|¡
299 +|AND>=|Comparison of 16-bit data (>=)|¡|¡|¡|¡
300 +|OR=|Comparison of 16-bit data (==)|¡|¡|¡|¡
301 +|ORD=|Comparison of 32-bit data (==)|¡|¡|¡|¡
302 +|OR>|Comparison of 16-bit data (>|¡|¡|¡|¡
303 +|OR<|Comparison of 16-bit data (<|¡|¡|¡|¡
304 +|OR<>|Comparison of 16-bit data (<>|¡|¡|¡|¡
305 +|OR<=|Comparison of 16-bit data (<=)|¡|¡|¡|¡
306 +|OR>=|Comparison of 16-bit data (>=)|¡|¡|¡|¡