Changes for page 06 Instructions
Last modified by Devin Chen on 2024/10/15 14:46
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -PLC Editor. 1UserManual.WebHome1 +PLC Editor.LX3V programing manual.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.Stone - Content
-
... ... @@ -1,6 +1,5 @@ 1 1 = **6.1.1 Basic program instruction list** = 2 2 3 -(% class="table-bordered" %) 4 4 |**Instruction type**|**Instruction**|**Description**|((( 5 5 **LX3V(1S)** 6 6 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** ... ... @@ -32,7 +32,6 @@ 32 32 33 33 = **6.1.2 Step ladder instructions list** = 34 34 35 -(% class="table-bordered" %) 36 36 |**Instruction type**|**Instruction**|**Description**|((( 37 37 **LX3V** 38 38 ... ... @@ -43,119 +43,112 @@ 43 43 44 44 = **6.1.3 Program Flow instruction list** = 45 45 46 -(% class="table-bordered" %) 47 -|(% style="width:241px" %)**Instruction type**|(% style="width:129px" %)**Instruction**|(% style="width:306px" %)**Description**|((( 44 +|**Instruction type**|**Instruction**|**Description**|((( 48 48 **LX3V** 49 49 50 50 **(1S)** 51 51 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** 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|¡|¡|¡|¡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|¡|¡|¡|¡ 59 59 60 60 = **6.1.4 Move and Compare instruction list** = 61 61 62 -(% class="table-bordered" %) 63 -|(% style="width:314px" %)**Instruction type**|(% style="width:146px" %)**Instruction**|**Description**|((( 59 +|**Instruction type**|**Instruction**|**Description**|((( 64 64 **LX3V** 65 65 66 66 **(1S)** 67 67 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** 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 |¡|¡|¡|¡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 |¡|¡|¡|¡ 78 78 79 79 = **6.1.5 Arithmetic and Logical Operations instruction list** = 80 80 81 -(% class="table-bordered" %) 82 -|(% style="width:358px" %)**Instruction type**|(% style="width:162px" %)**Instruction**|(% style="width:206px" %)**Description**|((( 77 +|**Instruction type**|**Instruction**|**Description**|((( 83 83 **LX3V** 84 84 85 85 **(1S)** 86 86 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** 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 |-|¡|¡|¡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 |-|¡|¡|¡ 97 97 98 98 = **6.1.6 Rotation and Shift instruction list** = 99 99 100 -(% class="table-bordered" %) 101 -|**Instruction type**|(% style="width:134px" %)**Instruction**|(% style="width:280px" %)**Description**|((( 95 +|**Instruction type**|**Instruction**|**Description**|((( 102 102 **LX3V** 103 103 104 104 **(1S)** 105 105 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** 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|¡|¡|¡|¡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|¡|¡|¡|¡ 116 116 117 117 = **6.1.7 Data operation instruction list** = 118 118 119 -(% class="table-bordered" %) 120 -|(% style="width:292px" %)**Instruction type**|(% style="width:135px" %)**Instruction**|(% style="width:266px" %)**Description**|((( 113 +|**Instruction type**|**Instruction**|**Description**|((( 121 121 **LX3V** 122 122 123 123 **(1S)** 124 124 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** 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|-|¡|¡|¡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|-|¡|¡|¡ 136 136 137 137 = **6.1.8 High-speed Processing Instruction** = 138 138 139 -(% class="table-bordered" %) 140 -|(% style="width:290px" %)**Instruction type**|(% style="width:137px" %)**Instruction**|**Description**|((( 132 +|**Instruction type**|**Instruction**|**Description**|((( 141 141 **LX3V** 142 142 143 143 **(1S)** 144 144 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** 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|¡|¡|¡|¡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|¡|¡|¡|¡ 155 155 156 156 = **6.1.9 ECAM instruction list** = 157 157 158 -(% class="table-bordered" %) 159 159 |**Instruction type**|**Instruction**|**Description**|((( 160 160 **LX3V** 161 161 ... ... @@ -167,7 +167,6 @@ 167 167 168 168 = **6.1.10 External I/O Devices instruction list** = 169 169 170 -(% class="table-bordered" %) 171 171 |**Instruction type**|**Instruction**|**Description**|((( 172 172 **LX3V** 173 173 ... ... @@ -188,7 +188,6 @@ 188 188 189 189 = **6.1.11 External Devices instruction list** = 190 190 191 -(% class="table-bordered" %) 192 192 |**Instruction type**|**Instruction**|**Description**|((( 193 193 **LX3V** 194 194 ... ... @@ -206,7 +206,6 @@ 206 206 207 207 = **6.1.12 Floating Point instruction list** = 208 208 209 -(% class="table-bordered" %) 210 210 |**Instruction type**|**Instruction**|**Description**|((( 211 211 **LX3V** 212 212 ... ... @@ -237,7 +237,6 @@ 237 237 238 238 = **6.1.13 Positioning Instruction list** = 239 239 240 -(% class="table-bordered" %) 241 241 |**Instruction type**|**Instruction**|**Description**|((( 242 242 **LX3V** 243 243 ... ... @@ -251,7 +251,6 @@ 251 251 252 252 **4.14 Real Time Clock Control** 253 253 254 -(% class="table-bordered" %) 255 255 |**Instruction type**|**Instruction**|**Description**|((( 256 256 **LX3V** 257 257 ... ... @@ -267,7 +267,6 @@ 267 267 268 268 = **6.1.14 Handy Instructions list** = 269 269 270 -(% class="table-bordered" %) 271 271 |**Instruction type**|**Instruction**|**Description**|((( 272 272 **LX3V(1S)** 273 273 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** ... ... @@ -284,7 +284,6 @@ 284 284 285 285 = **6.1.15 Circular interpolation instruction list** = 286 286 287 -(% class="table-bordered" %) 288 288 |**Instruction type**|**Instruction**|**Decryption**|**LX3V**|**LX3VP**|**LX3VE**|**LX3VM** 289 289 |(% rowspan="6" %)[[Circular interpolation instruction>>path:/wiki/plc/view/2-User%20manual/6.Instruction/15.Circular%20interpolation%20instruction/]]|G90G01|Absolute position line interpolation|-|-|-|¡ 290 290 |G91G01|Relative position line interpolation|-|-|-|¡ ... ... @@ -295,28 +295,27 @@ 295 295 296 296 = **6.1.16 Inline Comparisons Instruction list** = 297 297 298 -(% class="table-bordered" %) 299 -|(% style="width:260px" %)**Instruction type**|(% style="width:107px" %)**Instruction**|(% style="width:345px" %)**Description**|((( 282 +|**Instruction type**|**Instruction**|**Description**|((( 300 300 **LX3V** 301 301 302 302 **(1S)** 303 303 )))|**LX3V (2N)**|**LX3VP**|**LX3VE** 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 (>=)|¡|¡|¡|¡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 (>=)|¡|¡|¡|¡