Changes for page 06 Instructions

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

From version 6.1
edited by Stone Wu
on 2022/07/20 10:28
Change comment: Renamed from xwiki:PLC Editor.1 User Manual.6\.Instruction.WebHome
To version 2.1
edited by Leo Wei
on 2022/07/14 14:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.admin
Content
... ... @@ -1,5 +1,6 @@
1 1  = **6.1.1 Basic program instruction list** =
2 2  
3 +(% class="table-bordered" %)
3 3  |**Instruction type**|**Instruction**|**Description**|(((
4 4  **LX3V(1S)**
5 5  )))|**LX3V (2N)**|**LX3VP**|**LX3VE**
... ... @@ -31,6 +31,7 @@
31 31  
32 32  = **6.1.2 Step ladder instructions list** =
33 33  
35 +(% class="table-bordered" %)
34 34  |**Instruction type**|**Instruction**|**Description**|(((
35 35  **LX3V**
36 36  
... ... @@ -41,112 +41,119 @@
41 41  
42 42  = **6.1.3 Program Flow instruction list** =
43 43  
44 -|**Instruction type**|**Instruction**|**Description**|(((
46 +(% class="table-bordered" %)
47 +|(% style="width:241px" %)**Instruction type**|(% style="width:129px" %)**Instruction**|(% style="width:306px" %)**Description**|(((
45 45  **LX3V**
46 46  
47 47  **(1S)**
48 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|¡|¡|¡|¡
52 +|(% rowspan="7" style="width:241px" %)[[Program flow instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/02.Program%20flow/]]|(% style="width:129px" %)CJ|(% style="width:306px" %)Conditional jump|¡|¡|¡|¡
53 +|(% style="width:129px" %)CALL|(% style="width:306px" %)Call Subroutine|¡|¡|¡|¡
54 +|(% style="width:129px" %)EI|(% style="width:306px" %)Enable Interrupt|¡|¡|¡|¡
55 +|(% style="width:129px" %)DI|(% style="width:306px" %)Disable Interrupt|¡|¡|¡|¡
56 +|(% style="width:129px" %)WDT|(% style="width:306px" %)Watchdog Timer|¡|¡|¡|¡
57 +|(% style="width:129px" %)FOR|(% style="width:306px" %)Start of a For/Next Loop|¡|¡|¡|¡
58 +|(% style="width:129px" %)NEXT|(% style="width:306px" %)End a For/Next Loop|¡|¡|¡|¡
56 56  
57 57  = **6.1.4 Move and Compare instruction list** =
58 58  
59 -|**Instruction type**|**Instruction**|**Description**|(((
62 +(% class="table-bordered" %)
63 +|(% style="width:314px" %)**Instruction type**|(% style="width:146px" %)**Instruction**|**Description**|(((
60 60  **LX3V**
61 61  
62 62  **(1S)**
63 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 |¡|¡|¡|¡
68 +|(% rowspan="10" style="width:314px" %)[[Move and Compare instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/03.Move%20and%20campare/]]|(% style="width:146px" %)CMP|Compare |¡|¡|¡|¡
69 +|(% style="width:146px" %)ZCP|Zone compare|¡|¡|¡|¡
70 +|(% style="width:146px" %)MOV|Move |¡|¡|¡|¡
71 +|(% style="width:146px" %)SMOV|Shift move|-|¡|¡|¡
72 +|(% style="width:146px" %)CML|Compliment |-|¡|¡|¡
73 +|(% style="width:146px" %)BMOV|Block move|¡|¡|¡|¡
74 +|(% style="width:146px" %)FMOV|Fill move|-|¡|¡|¡
75 +|(% style="width:146px" %)XCH|Exchange |-|¡|¡|¡
76 +|(% style="width:146px" %)BCD|Binary coded decimal|¡|¡|¡|¡
77 +|(% style="width:146px" %)BIN|Binary |¡|¡|¡|¡
74 74  
75 75  = **6.1.5 Arithmetic and Logical Operations instruction list** =
76 76  
77 -|**Instruction type**|**Instruction**|**Description**|(((
81 +(% class="table-bordered" %)
82 +|(% style="width:358px" %)**Instruction type**|(% style="width:162px" %)**Instruction**|(% style="width:206px" %)**Description**|(((
78 78  **LX3V**
79 79  
80 80  **(1S)**
81 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 |-|¡|¡|¡
87 +|(% rowspan="10" style="width:358px" %)[[Arithmetic and Logical Operations instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/06.Arithmetic%20and%20logical%20operations/]]|(% style="width:162px" %)ADD|(% style="width:206px" %)Addition |¡|¡|¡|¡
88 +|(% style="width:162px" %)SUB|(% style="width:206px" %)Subtraction |¡|¡|¡|¡
89 +|(% style="width:162px" %)MUL|(% style="width:206px" %)Multiplication |¡|¡|¡|¡
90 +|(% style="width:162px" %)DIV|(% style="width:206px" %)Division |¡|¡|¡|¡
91 +|(% style="width:162px" %)INC|(% style="width:206px" %)Increment|¡|¡|¡|¡
92 +|(% style="width:162px" %)DEC|(% style="width:206px" %)Decrement|¡|¡|¡|¡
93 +|(% style="width:162px" %)WAND|(% style="width:206px" %)Word AND|¡|¡|¡|¡
94 +|(% style="width:162px" %)WOR|(% style="width:206px" %)Word OR|¡|¡|¡|¡
95 +|(% style="width:162px" %)WXOR|(% style="width:206px" %)Word exclusive OR|¡|¡|¡|¡
96 +|(% style="width:162px" %)NEG|(% style="width:206px" %)Negation |-|¡|¡|¡
92 92  
93 93  = **6.1.6 Rotation and Shift instruction list** =
94 94  
95 -|**Instruction type**|**Instruction**|**Description**|(((
100 +(% class="table-bordered" %)
101 +|**Instruction type**|(% style="width:134px" %)**Instruction**|(% style="width:280px" %)**Description**|(((
96 96  **LX3V**
97 97  
98 98  **(1S)**
99 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|¡|¡|¡|¡
106 +|(% rowspan="10" %)[[Rotation and Shift instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/08.Rotation%20and%20shift/]]|(% style="width:134px" %)ROR|(% style="width:280px" %)Rotation right|¡|¡|¡|¡
107 +|(% style="width:134px" %)ROL|(% style="width:280px" %)Rotation left|¡|¡|¡|¡
108 +|(% style="width:134px" %)RCR|(% style="width:280px" %)16-bit rotation right with carry|-|¡|¡|¡
109 +|(% style="width:134px" %)RCL|(% style="width:280px" %)16-bit rotation left with carry|-|¡|¡|¡
110 +|(% style="width:134px" %)SFTR|(% style="width:280px" %)(bit) shift right|¡|¡|¡|¡
111 +|(% style="width:134px" %)SFTL|(% style="width:280px" %)(bit) shift left|¡|¡|¡|¡
112 +|(% style="width:134px" %)WSFR|(% style="width:280px" %)word shift right|-|¡|¡|¡
113 +|(% style="width:134px" %)WSFL|(% style="width:280px" %)word shift left|-|¡|¡|¡
114 +|(% style="width:134px" %)SFWR|(% style="width:280px" %)shift register write|¡|¡|¡|¡
115 +|(% style="width:134px" %)SFRD|(% style="width:280px" %)shift register read|¡|¡|¡|¡
110 110  
111 111  = **6.1.7 Data operation instruction list** =
112 112  
113 -|**Instruction type**|**Instruction**|**Description**|(((
119 +(% class="table-bordered" %)
120 +|(% style="width:292px" %)**Instruction type**|(% style="width:135px" %)**Instruction**|(% style="width:266px" %)**Description**|(((
114 114  **LX3V**
115 115  
116 116  **(1S)**
117 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|-|¡|¡|¡
125 +|(% rowspan="11" style="width:292px" %)[[Data operation instructions>>path:/wiki/plc/view/2-User%20manual/6.Instruction/04.Data%20operation/]]|(% style="width:135px" %)ZRST|(% style="width:266px" %)Zone reset|¡|¡|¡|¡
126 +|(% style="width:135px" %)DECO|(% style="width:266px" %)Decode |¡|¡|¡|¡
127 +|(% style="width:135px" %)ENCO|(% style="width:266px" %)Encode |¡|¡|¡|¡
128 +|(% style="width:135px" %)SUM|(% style="width:266px" %)The sum of active bits|-|¡|¡|¡
129 +|(% style="width:135px" %)BON|(% style="width:266px" %)Check specified bit status|-|¡|¡|¡
130 +|(% style="width:135px" %)MEAN|(% style="width:266px" %)Mean |-|¡|¡|¡
131 +|(% style="width:135px" %)ANS|(% style="width:266px" %)(timed) annunciator set|-|¡|¡|¡
132 +|(% style="width:135px" %)ANR|(% style="width:266px" %)Annunciator reset|-|¡|¡|¡
133 +|(% style="width:135px" %)SQR|(% style="width:266px" %)Square root|-|¡|¡|¡
134 +|(% style="width:135px" %)FLT|(% style="width:266px" %)Float |-|¡|¡|¡
135 +|(% style="width:135px" %)SWAP|(% style="width:266px" %)High and low bit conversion|-|¡|¡|¡
129 129  
130 130  = **6.1.8 High-speed Processing Instruction** =
131 131  
132 -|**Instruction type**|**Instruction**|**Description**|(((
139 +(% class="table-bordered" %)
140 +|(% style="width:290px" %)**Instruction type**|(% style="width:137px" %)**Instruction**|**Description**|(((
133 133  **LX3V**
134 134  
135 135  **(1S)**
136 136  )))|**LX3V (2N)**|**LX3VP**|**LX3VE**
137 -|(% rowspan="10" %)[[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|¡|¡|¡|¡
145 +|(% rowspan="10" style="width:290px" %)[[High-speed Processing Instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/07.High%20speed%20process/]]|(% style="width:137px" %)REF|Refresh|¡|¡|¡|¡
146 +|(% style="width:137px" %)REFF|Refresh and filter adjust|-|¡|¡|¡
147 +|(% style="width:137px" %)MTR|Input matrix|¡|¡|¡|¡
148 +|(% style="width:137px" %)DHSCR|High speed counter set|¡|¡|¡|¡
149 +|(% style="width:137px" %)DHSCS|High speed counter reset|¡|¡|¡|¡
150 +|(% style="width:137px" %)DHSZ|High speed counter zone compare|-|¡|¡|¡
151 +|(% style="width:137px" %)SPD|Speed detect|¡|¡|¡|¡
152 +|(% style="width:137px" %)PLSY|16-bit pulse Y output|¡|¡|¡|¡
153 +|(% style="width:137px" %)PWM|Pulse width modulation|¡|¡|¡|¡
154 +|(% style="width:137px" %)PLSR|Ramp pulse output|¡|¡|¡|¡
147 147  
148 148  = **6.1.9 ECAM instruction list** =
149 149  
158 +(% class="table-bordered" %)
150 150  |**Instruction type**|**Instruction**|**Description**|(((
151 151  **LX3V**
152 152  
... ... @@ -158,6 +158,7 @@
158 158  
159 159  = **6.1.10 External I/O Devices instruction list** =
160 160  
170 +(% class="table-bordered" %)
161 161  |**Instruction type**|**Instruction**|**Description**|(((
162 162  **LX3V**
163 163  
... ... @@ -178,6 +178,7 @@
178 178  
179 179  = **6.1.11 External Devices instruction list** =
180 180  
191 +(% class="table-bordered" %)
181 181  |**Instruction type**|**Instruction**|**Description**|(((
182 182  **LX3V**
183 183  
... ... @@ -195,6 +195,7 @@
195 195  
196 196  = **6.1.12 Floating Point instruction list** =
197 197  
209 +(% class="table-bordered" %)
198 198  |**Instruction type**|**Instruction**|**Description**|(((
199 199  **LX3V**
200 200  
... ... @@ -225,6 +225,7 @@
225 225  
226 226  = **6.1.13 Positioning Instruction list** =
227 227  
240 +(% class="table-bordered" %)
228 228  |**Instruction type**|**Instruction**|**Description**|(((
229 229  **LX3V**
230 230  
... ... @@ -238,6 +238,7 @@
238 238  
239 239  **4.14 Real Time Clock Control**
240 240  
254 +(% class="table-bordered" %)
241 241  |**Instruction type**|**Instruction**|**Description**|(((
242 242  **LX3V**
243 243  
... ... @@ -253,6 +253,7 @@
253 253  
254 254  = **6.1.14 Handy Instructions list** =
255 255  
270 +(% class="table-bordered" %)
256 256  |**Instruction type**|**Instruction**|**Description**|(((
257 257  **LX3V(1S)**
258 258  )))|**LX3V (2N)**|**LX3VP**|**LX3VE**
... ... @@ -269,6 +269,7 @@
269 269  
270 270  = **6.1.15 Circular interpolation instruction list** =
271 271  
287 +(% class="table-bordered" %)
272 272  |**Instruction type**|**Instruction**|**Decryption**|**LX3V**|**LX3VP**|**LX3VE**|**LX3VM**
273 273  |(% rowspan="6" %)[[Circular interpolation instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/15.Circular%20interpolation%20instruction/]]|G90G01|Absolute position line interpolation|-|-|-|¡
274 274  |G91G01|Relative position line interpolation|-|-|-|¡
... ... @@ -279,27 +279,28 @@
279 279  
280 280  = **6.1.16 Inline Comparisons Instruction list** =
281 281  
282 -|**Instruction type**|**Instruction**|**Description**|(((
298 +(% class="table-bordered" %)
299 +|(% style="width:260px" %)**Instruction type**|(% style="width:107px" %)**Instruction**|(% style="width:345px" %)**Description**|(((
283 283  **LX3V**
284 284  
285 285  **(1S)**
286 286  )))|**LX3V (2N)**|**LX3VP**|**LX3VE**
287 -|(% rowspan="19" %)Inline comparisons instruction|LD=|Comparison of 16-bit data (==)|¡|¡|¡|¡
288 -|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 -|AND=|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 -|OR=|Comparison of 16-bit data (==)|¡|¡|¡|¡
300 -|ORD=|Comparison of 32-bit data (==)|¡|¡|¡|¡
301 -|OR>|Comparison of 16-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 (>=)|¡|¡|¡|¡
304 +|(% rowspan="19" style="width:260px" %)Inline comparisons instruction|(% style="width:107px" %)LD=|(% style="width:345px" %)Comparison of 16-bit data (==)|¡|¡|¡|¡
305 +|(% style="width:107px" %)LD>|(% style="width:345px" %)Comparison of 16-bit data (>|¡|¡|¡|¡
306 +|(% style="width:107px" %)LD<|(% style="width:345px" %)Comparison of 16-bit data (<|¡|¡|¡|¡
307 +|(% style="width:107px" %)LD<>|(% style="width:345px" %)Comparison of 16-bit data (<>|¡|¡|¡|¡
308 +|(% style="width:107px" %)LD<=|(% style="width:345px" %)Comparison of 16-bit data (<=)|¡|¡|¡|¡
309 +|(% style="width:107px" %)LD>=|(% style="width:345px" %)Comparison of 16-bit data (>=)|¡|¡|¡|¡
310 +|(% style="width:107px" %)AND=|(% style="width:345px" %)Comparison of 16-bit data (==)|¡|¡|¡|¡
311 +|(% style="width:107px" %)AND>|(% style="width:345px" %)Comparison of 16-bit data (>|¡|¡|¡|¡
312 +|(% style="width:107px" %)AND<|(% style="width:345px" %)Comparison of 16-bit data (<|¡|¡|¡|¡
313 +|(% style="width:107px" %)AND<>|(% style="width:345px" %)Comparison of 16-bit data (<>|¡|¡|¡|¡
314 +|(% style="width:107px" %)AND<=|(% style="width:345px" %)Comparison of 16-bit data (<=)|¡|¡|¡|¡
315 +|(% style="width:107px" %)AND>=|(% style="width:345px" %)Comparison of 16-bit data (>=)|¡|¡|¡|¡
316 +|(% style="width:107px" %)OR=|(% style="width:345px" %)Comparison of 16-bit data (==)|¡|¡|¡|¡
317 +|(% style="width:107px" %)ORD=|(% style="width:345px" %)Comparison of 32-bit data (==)|¡|¡|¡|¡
318 +|(% style="width:107px" %)OR>|(% style="width:345px" %)Comparison of 16-bit data (>|¡|¡|¡|¡
319 +|(% style="width:107px" %)OR<|(% style="width:345px" %)Comparison of 16-bit data (<|¡|¡|¡|¡
320 +|(% style="width:107px" %)OR<>|(% style="width:345px" %)Comparison of 16-bit data (<>|¡|¡|¡|¡
321 +|(% style="width:107px" %)OR<=|(% style="width:345px" %)Comparison of 16-bit data (<=)|¡|¡|¡|¡
322 +|(% style="width:107px" %)OR>=|(% style="width:345px" %)Comparison of 16-bit data (>=)|¡|¡|¡|¡