Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -12 Clock operation instruction - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -PLC Editor2.1 User manual.2\.1 LX5V user manual. 07.WebHome1 +PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.J im1 +XWiki.Joey - Content
-
... ... @@ -1,3 +1,388 @@ 1 += **Contact comparison instruction** = 2 + 3 +== **Signed 16-bit contact comparison instruction** == 4 + 5 +**LD £, AND £, OR £** 6 + 7 +The BIN 16-bit data of the device specified in (s1) and the BIN 16-bit data of the device specified in (s2) are compared by normal open contact processing. 8 + 9 +LD£: Normally open contact comparison instruction 10 + 11 +AND£: Normally open contact series connection comparison instruction 12 + 13 +OR£: Normally open contact parallel connection comparison instruction 14 + 15 +**Ladder diagram** 16 + 17 +(% style="text-align:center" %) 18 +[[image:07-5 Basic instructions_html_63210db6b7e1512f.png]] 19 + 20 +(You can enter "=", "<>", ">", "<", ">=", "<=" in "£") 21 + 22 +**Content, range and data type** 23 + 24 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 25 +|(s1)|Comparison data or device storing comparison data|-32768 to 32767|Signed BIN 16 bit|ANY16_S 26 +|(s2)|Comparison data or device storing comparison data|-32768 to 32767|Signed BIN 16 bit|ANY16_S 27 + 28 +**Device used** 29 + 30 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|((( 31 +**Offset modification** 32 +)))|((( 33 +**Pulse extension** 34 +))) 35 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 36 +|LD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 37 +|LD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 38 +|LD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 39 +|LD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 40 +|LD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 41 +|LD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 42 +|AND=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 43 +|AND>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 44 +|AND<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 45 +|AND>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 46 +|AND<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 47 +|AND<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 48 +|OR=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 49 +|OR>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 50 +|OR<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 51 +|OR>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 52 +|OR<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 53 +|OR<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 54 + 55 +**Features** 56 + 57 +The BIN 16-bit data of the device specified in (s1) and the BIN 16-bit data of the device specified in (s2) are compared by normal open contact processing. 58 + 59 +The comparison operation result of each instruction is shown below. 60 + 61 +|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result** 62 +|==|(s1)=(s2)|(% rowspan="6" %)On state|==|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 63 +|<>|(s1)≠(s2)|<>|(s1)=(s2) 64 +|>|(s1)>(s2)|>|(s1)≤(s2) 65 +|<|(s1)<(s2)|<|(s1)≥(s2) 66 +|>=|(s1)≥(s2)|>=|(s1)<(s2) 67 +|<=|(s1)≤(s2)|<=|(s1)>(s2) 68 + 69 +**Error code** 70 + 71 +|**Error code**|**Content** 72 +|4085H|(s) read address exceeds the device range 73 + 74 +**Example** 75 + 76 +((( 77 +(1) LD£ instruction: 78 + 79 +(% style="text-align:center" %) 80 +[[image:07-5 Basic instructions_html_1309199eccc7134.png]] 81 +))) 82 + 83 +When the current value of counter C10 is 200, Y10 is set 84 + 85 +When the content of D200 is above -29, and X1 is ON, Y11 is set 86 + 87 +(2) AND£ instruction: 88 + 89 +(% style="text-align:center" %) 90 +[[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]] 91 + 92 +((( 93 +When X0 is ON, or when the current value of counter C10 is 200, Y10 is set 94 + 95 +When X1 is OFF, and the content of data counter D0 is not -10, Y11 is set 96 + 97 + 98 +))) 99 + 100 +(3) OR£ instruction: 101 + 102 +(% style="text-align:center" %) 103 +[[image:07-5 Basic instructions_html_8b000809015ea436.png]] 104 + 105 +((( 106 +When X1 is ON, or when the current value of counter C10 is 200, Y0 is set 107 + 108 +When X2 and M30 are ON, or the content of register D100 is K10000 and above, M60 is set 109 +))) 110 + 111 +== **Signed 32-bit contact comparison instruction** == 112 + 113 +**LDD £, ANDD £, ORD £** 114 + 115 +The BIN 32-bit data of the device specified in (s1) and the BIN 32-bit data of the device specified in (s2) are compared by normal open contact processing. 116 + 117 +LDD£: Normally open contact comparison command 118 + 119 +ANDD£: Normally open contact series link comparison instruction 120 + 121 +ORD£: Normally open contact parallel link comparison instruction 122 + 123 +**Ladder diagram** 124 + 125 +(% style="text-align:center" %) 126 +[[image:07-5 Basic instructions_html_63210db6b7e1512f.png]] 127 + 128 +“=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£” 129 + 130 +**Content, range and data type** 131 + 132 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 133 +|(s1)|Comparison data or device storing comparison data|-2147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 134 +|(s2)|Comparison data or device storing comparison data|-2147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 135 + 136 +**Device used** 137 + 138 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 139 +**Offset modification** 140 +)))|((( 141 +**Pulse extension** 142 +))) 143 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 144 +|LDD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 145 +|LDD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 146 +|LDD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 147 +|LDD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 148 +|LDD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 149 +|LDD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 150 +|ANDD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 151 +|ANDD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 152 +|ANDD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 153 +|ANDD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 154 +|ANDD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 155 +|ANDD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 156 +|ORD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 157 +|ORD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 158 +|ORD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 159 +|ORD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 160 +|ORD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 161 +|ORD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 162 + 163 +**Features** 164 + 165 +The BIN 32-bit data of the device specified in (s1) and the BIN 32-bit data of the device specified in (s2) are compared by normal open contact processing. 166 + 167 +The comparison operation result of each instruction is shown below. 168 + 169 +|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result** 170 +|==|(s1)=(s2)|(% rowspan="6" %)On state|==|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 171 +|<>|(s1)≠(s2)|<>|(s1)=(s2) 172 +|>|(s1)>(s2)|>|(s1)≤(s2) 173 +|<|(s1)<(s2)|<|(s1)≥(s2) 174 +|>=|(s1)≥(s2)|>=|(s1)<(s2) 175 +|<=|(s1)≤(s2)|<=|(s1)>(s2) 176 + 177 +**Error code** 178 + 179 +|**Error code**|**Content** 180 +|4085H|(S) read address exceeds the device range 181 + 182 +**Example** 183 + 184 +(1) LDD£ instruction: 185 + 186 +(% style="text-align:center" %) 187 +[[image:07-5 Basic instructions_html_8acf0d489297c561.png]] 188 + 189 +When the data of LC10 is 200000, Y10 is set, otherwise Y10 is reset. 190 + 191 +When the 32-bit data composed of D201 and D200 exceeds -5000, and X1 is ON, Y11 is turned ON. 192 + 193 +(2) ANDD£ instruction: 194 + 195 +(% style="text-align:center" %) 196 +[[image:07-5 Basic instructions_html_38be93eec0ced6c.png]] 197 + 198 +When X0 is ON and the value of LC10 is 200000, Y10 is set, otherwise it is reset. 199 + 200 +When X1 is OFF and the 32-bit data composed of D1 and D0 is not equal to K-50000, Y11 is set. 201 + 202 +(3) ORD£ instruction: 203 + 204 +(% style="text-align:center" %) 205 +[[image:07-5 Basic instructions_html_8ebfc7b0562cf370.png]] 206 + 207 +When X1 is ON, or the data of LC10 is equal to the data of LC10 is equal to 200000, Y0 is set. 208 + 209 +When X2 and M30 are set, or the double word data composed of D101 and D100 is greater than or equal to 100000, M60 is set. 210 + 211 +== **Single precision real number contact comparison instruction** == 212 + 213 +**LDE £, ANDE £, ORE £** 214 + 215 +The single precision real number of the device specified in (s1) and the single precision real number of the device specified in (s2) are compared by normal open contact processing. 216 + 217 +LDE£: Normally open contact comparison command 218 + 219 +ANDE£: Normally open contact series link comparison instruction 220 + 221 +ORE£: Normally open contact parallel link comparison instruction 222 + 223 +**Ladder diagram** 224 + 225 +(% style="text-align:center" %) 226 +[[image:07-5 Basic instructions_html_6ac28f30e24ad296.png||height="352" width="550"]] 227 + 228 +“=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£” 229 + 230 +**Content, range and data type** 231 + 232 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 233 +|(s1)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32 234 +|(s2)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32 235 + 236 +**Device used** 237 + 238 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|((( 239 +**Offset modification** 240 +)))|((( 241 +**Pulse extension** 242 +))) 243 +|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**E**|**[D]**|**XXP** 244 +|LDE=|s1, s2|●|●|●|●|●|●|●|●|●| 245 +|LDE>|s1, s2|●|●|●|●|●|●|●|●|●| 246 +|LDE<|s1, s2|●|●|●|●|●|●|●|●|●| 247 +|LDE>=|s1, s2|●|●|●|●|●|●|●|●|●| 248 +|LDE<=|s1, s2|●|●|●|●|●|●|●|●|●| 249 +|LDE<>|s1, s2|●|●|●|●|●|●|●|●|●| 250 +|ANDE=|s1, s2|●|●|●|●|●|●|●|●|●| 251 +|ANDE>|s1, s2|●|●|●|●|●|●|●|●|●| 252 +|ANDE<|s1, s2|●|●|●|●|●|●|●|●|●| 253 +|ANDE>=|s1, s2|●|●|●|●|●|●|●|●|●| 254 +|ANDE<=|s1, s2|●|●|●|●|●|●|●|●|●| 255 +|ANDE<>|s1, s2|●|●|●|●|●|●|●|●|●| 256 +|ORE=|s1, s2|●|●|●|●|●|●|●|●|●| 257 +|ORD>|s1, s2|●|●|●|●|●|●|●|●|●| 258 +|ORE<|s1, s2|●|●|●|●|●|●|●|●|●| 259 +|ORE>=|s1, s2|●|●|●|●|●|●|●|●|●| 260 +|ORE<=|s1, s2|●|●|●|●|●|●|●|●|●| 261 +|ORE<>|s1, s2|●|●|●|●|●|●|●|●|●| 262 + 263 +**Features** 264 + 265 +The single precision real number of the device specified in (s1) and the single precision real number of the device specified in (s2) are compared by normal open contact processing. 266 + 267 +The comparison operation result of each instruction is shown below. 268 + 269 +|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result** 270 +|E=|(s1)=(s2)|(% rowspan="6" %)On state|E=|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 271 +|E<>|(s1)≠(s2)|E<>|(s1)=(s2) 272 +|E>|(s1)>(s2)|E>|(s1)≤(s2) 273 +|E<|(s1)<(s2)|E<|(s1)≥(s2) 274 +|E>=|(s1)≥(s2)|E>=|(s1)<(s2) 275 +|E<=|(s1)≤(s2)|E<=|(s1)>(s2) 276 + 277 +**Error code** 278 + 279 +|**Error code**|**Content** 280 +|4084H|When the content of the specified device by (s1) and (s2) is an irregular number, a non-number, or ±∞ 281 +|4085H|The read address of (s1) and (s2exceeds the device range 282 + 283 +**Example** 284 + 285 +(1) LDE£ instruction: 286 + 287 +(% style="text-align:center" %) 288 +[[image:07-5 Basic instructions_html_c4c820cf59601493.png]] 289 + 290 +When the real number input in D0 is equal to E1.23, Y10 is ON, otherwise Y10 is OFF. 291 + 292 +When the real number in R0 is greater than or equal to the real number in LC0, Y11 is ON, otherwise it is OFF. 293 + 294 +If the input in D0, R0, LC0 is not a real number, it will report H4084 error. 295 + 296 +(2) ANDE£ instruction: 297 + 298 +(% style="text-align:center" %) 299 +[[image:07-5 Basic instructions_html_7cdd2117360e179b.png]] 300 + 301 +Only when M0 is ON and D2 real number is not equal to E1.23 and R2 real number is less than real number LC2 , Y12 is ON, otherwise all are OFF. 302 + 303 +(3) ORE£ instruction: 304 + 305 +(% style="text-align:center" %) 306 +[[image:07-5 Basic instructions_html_3eba0bd56176441d.png]] 307 + 308 +When the real number of R4 is less than or equal to the real number of R15, or the real number R6 is equal to the real number R20, Y13 is ON, otherwise Y13 is OFF. 309 + 310 +== **String comparison** == 311 + 312 +**LDS£、ANDS£、 ORS£** 313 + 314 +Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2). 315 + 316 +LDS£: String comparison instruction 317 + 318 +ANDS£: String serial connection comparison instruction 319 + 320 +ORS£: String parallel connection comparison instruction 321 + 322 +**Ladder diagram** 323 + 324 +(% style="text-align:center" %) 325 +[[image:07-5 Basic instructions_html_5fb3b3b70645fef5.png||height="371" width="550"]] 326 + 327 +“=” and “<>” could be entered in “£” 328 + 329 +**Content, range and data type** 330 + 331 +|**Parameter**|**Content**|**Range**|**Date type**|**Date type(label)** 332 +|(S1)|Connection data or the device start number storing the data or the string specified directly|-|String|ANYSTRING_SINGLE 333 +|(S1)|Connection data or the device start number storing the data or the string specified directly|-|String|ANYSTRING_SINGLE 334 + 335 +**Device used** 336 + 337 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 338 +**Offset modification** 339 +)))|((( 340 +**Pulse extension** 341 +))) 342 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 343 +|LDS=|s1、s2|●|●|●|●|●|●|●|●|●|●| 344 +|LDS<>|s1、s2|●|●|●|●|●|●|●|●|●|●| 345 +|ANDS=|s1、s2|●|●|●|●|●|●|●|●|●|●| 346 +|ANDS<>|s1、s2|●|●|●|●|●|●|●|●|●|●| 347 +|ORS=|s1、s2|●|●|●|●|●|●|●|●|●|●| 348 +|ORS<>|s1、s2|●|●|●|●|●|●|●|●|●|●| 349 + 350 +**Features** 351 + 352 +• Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2). 353 + 354 +• The comparison operation result of each instruction is shown below. 355 + 356 +|**Instruction sign**|**Condition**|**Comparison operation result**|**Instruction sign**|**Condition**|**Comparison operation result** 357 +|==|(s1)=(s2)|(% rowspan="2" %)On stat|==|(s1)≠(s2)|(% rowspan="2" %)Non-conduction state 358 +|<>|(s1)≠(s2)|<>|(s1)=(s2) 359 + 360 +**Error code** 361 + 362 +|**Error code**|**Content** 363 +|4085H|The read address of (s1) or (s2) exceeds the device range 364 +|408AH|The length of the read string of (s1) or (s2) exceeds, and the continuous length of the string exceeds 400 characters. 365 +|408BH|When (s1) or (s2) reading the string, the maximum range of the device is read but 00H is not found as the end. 366 + 367 +**Example** 368 + 369 +(1) LDS£ instruction: 370 + 371 +(% style="text-align:center" %) 372 +[[image:07-5 Basic instructions_html_449a071f61ff5b58.png]] 373 + 374 +(2) ANDS£ instruction: 375 + 376 +(% style="text-align:center" %) 377 +[[image:07-5 Basic instructions_html_dd6aa995d193bdd2.png]] 378 + 379 +(3) ORS£ instruction: 380 + 381 +(% style="text-align:center" %) 382 +[[image:07-5 Basic instructions_html_4f8fb7c94f87c58d.png]] 383 + 384 += **Clock operation instruction** = 385 + 1 1 == **TADD/The addition of clock data** == 2 2 3 3 **TADD(P)** ... ... @@ -1239,6 +1239,7 @@ 1239 1239 |4085H|The read address of (s) exceeds the device range. 1240 1240 |4086H|The write address of (d) exceeds the device range. 1241 1241 1627 + 1242 1242 ((( 1243 1243 When X000 is ON, the Signs set in D20 to D22 and the ASCII code data of 5-digit decimal numbers are converted into BIN values, and then stored in the program of D0. 1244 1244 ... ... @@ -1562,13 +1562,14 @@ 1562 1562 1563 1563 when 0< D0(X) ≤ 100, D100(Y)= 1564 1564 1565 -(% style="text-align:center" %) 1566 -[[image:07-5 Basic instructions_html_e35e13160c08a133.png||height="362" width="550"]] 1951 +[[image:07-5 Basic instructions_html_e35e13160c08a133.png]] 1567 1567 1568 -== **DSCL/32-bit unit scale (coordinate data of each point)** == 1569 1569 1570 -**DSCL(P)** 1571 1571 1955 +{{id name="_Toc4862"/}}{{id name="_Toc11340"/}}{{id name="_Toc25383"/}}**DSCL/32-bit unit scale (coordinate data of each point)** 1956 + 1957 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL(P)** 1958 + 1572 1572 The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device specified in (d). 1573 1573 1574 1574 -[DSCL (s1) (s2) (d)] ... ... @@ -1582,17 +1582,19 @@ 1582 1582 1583 1583 **Device used** 1584 1584 1585 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Device**|**Offset modification**|((( 1586 -**Pulse extension** 1972 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Device**|**Offset modification**|((( 1973 +**Pulse** 1974 + 1975 +**extension** 1587 1587 ))) 1588 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1589 -|(% rowspan="3" %)DSCL|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1590 -|Parameter 2| | | | | | |●|●|●| | | | |●|● 1591 -|Parameter 3| |●|●|●|●|●|●|●|●|●|●| | |●|● 1977 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1978 +|(% rowspan="3" %)DSCL|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1979 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1980 +|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1592 1592 1593 1593 **Features** 1594 1594 1595 -The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device number specified in (d). The scale conversion is performed based on the scale conversion data stored after the device specified in (s2). 1984 +{{id name="OLE_LINK41"/}}The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device number specified in (d). The scale conversion is performed based on the scale conversion data stored after the device specified in (s2). 1596 1596 1597 1597 |(% colspan="2" %)**Set items (n represents the number of coordinate points specified in (s2))**|**Device allocation** 1598 1598 |(% colspan="2" %)Coordinate points|(s2)+1, (s2) ... ... @@ -1604,8 +1604,7 @@ 1604 1604 |(% rowspan="2" %)Point n|X coordinate|(s2)+4n-1, (s2)+4n-2 1605 1605 |Y coordinate|(s2)+4n+1, (s2)+4n 1606 1606 1607 -(% style="text-align:center" %) 1608 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 1996 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 1609 1609 1610 1610 • If the calculation result is not an integer value, round the first digit below the decimal point. 1611 1611 ... ... @@ -1621,11 +1621,10 @@ 1621 1621 1622 1622 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1623 1623 1624 -(% style="text-align:center" %) 1625 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2012 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1626 1626 1627 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 1628 -|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2014 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2015 +|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1629 1629 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 1630 1630 |(% rowspan="2" %)Point 1|X coordinate|(s2)+3, (s2)+2|R3, R2|K5| 1631 1631 |Y coordinate|(s2)+5, (s2)+4|R5, R4|K7| ... ... @@ -1673,8 +1673,7 @@ 1673 1673 1674 1674 **Example** 1675 1675 1676 -(% style="text-align:center" %) 1677 -[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png||height="272" width="404"]] 2063 +[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png]] 1678 1678 1679 1679 [[image:07-5 Basic instructions_html_1de79c7d87d51f78.gif]] When -100 ≤ D0(X) < 0, D100(Y)= 1680 1680 ... ... @@ -1682,12 +1682,11 @@ 1682 1682 1683 1683 When 0 < D0(X) ≤ 100, D100(Y)= 1684 1684 1685 -(% style="text-align:center" %) 1686 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2071 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1687 1687 1688 -== **SCL2/BIN 16-bit unit scale (X/Y coordinate data)** ==2073 +{{id name="_Toc3776"/}}{{id name="_Toc11170"/}}{{id name="_Toc2957"/}}**SCL2/BIN 16-bit unit scale (X/Y coordinate data)** 1689 1689 1690 -**SCL2(P)** 2075 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **SCL2(P)** 1691 1691 1692 1692 The conversion data (16-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device specified in (d). 1693 1693 ... ... @@ -1702,13 +1702,15 @@ 1702 1702 1703 1703 **Device used** 1704 1704 1705 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1706 -**Pulse extension** 2090 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2091 +**Pulse** 2092 + 2093 +**extension** 1707 1707 ))) 1708 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1709 -|(% rowspan="3" %)SCL2|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1710 -|Parameter 2| | | | | | |●|●|●| | |●|● 1711 -|Parameter 3| |●|●|●|●|●|●|●|●| | |●|● 2095 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 2096 +|(% rowspan="3" %)SCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 2097 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 2098 +|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1712 1712 1713 1713 **Features** 1714 1714 ... ... @@ -1719,14 +1719,13 @@ 1719 1719 |(% rowspan="4" %)X coordinate|Point 1|(s2)+1 1720 1720 |Point 2|(s2)+2 1721 1721 |.....|...... 1722 -|Point N|(s2)+N1723 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+ N+11724 -|Point 2|(s2)+ N+22109 +|Point n|(s2)+n 2110 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+n+1 2111 +|Point 2|(s2)+n+2 1725 1725 |.....|..... 1726 -|Point N|(s2)+2N2113 +|Point n|(s2)+2n 1727 1727 1728 -(% style="text-align:center" %) 1729 -[[image:07-5 Basic instructions_html_80185ccddb878234.png||height="422" width="750"]] 2115 +[[image:07-5 Basic instructions_html_80185ccddb878234.png]] 1730 1730 1731 1731 • If the operation result is not an integer value, round the first digit below the decimal point. 1732 1732 ... ... @@ -1742,8 +1742,7 @@ 1742 1742 1743 1743 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1744 1744 1745 -(% style="text-align:center" %) 1746 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2131 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1747 1747 1748 1748 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 1749 1749 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** ... ... @@ -1792,23 +1792,21 @@ 1792 1792 When the number of start coordinate points of device (s2) is less than 0. 1793 1793 ))) 1794 1794 1795 -**Example** 2180 +**Example** 1796 1796 1797 -(% style="text-align:center" %) 1798 -[[image:07-5 Basic instructions_html_de529c9a16a62ef0.png||height="316" width="400"]] 2182 +[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] [[image:07-5 Basic instructions_html_de529c9a16a62ef0.png]] 1799 1799 1800 -When -100 ≤D0 (X) < 0, D100(Y)= [[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]]2184 +When -100 ≤D0 (X) < 0, D100(Y)= 1801 1801 1802 - When D0(X)=0, D100(Y)=0;2186 +[[image:07-5 Basic instructions_html_9acd6306c6d91847.gif]] when D0(X)=0, D100(Y)=0; 1803 1803 1804 - When 0 < D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]][[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]],,2188 +when 0 < D0(X) ≤ 100, D100(Y)= 1805 1805 1806 -(% style="text-align:center" %) 1807 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2190 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1808 1808 1809 -== **DSCL2/BIN 32-bit unit scale (X/Y coordinate data)** ==2192 +{{id name="_Toc5608"/}}{{id name="_Toc1756"/}}{{id name="_Toc21402"/}}**DSCL2/BIN 32-bit unit scale (X/Y coordinate data)** 1810 1810 1811 -**DSCL2(P)** 2194 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL2(P)** 1812 1812 1813 1813 The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device specified in (d). 1814 1814 ... ... @@ -1823,13 +1823,15 @@ 1823 1823 1824 1824 **Device used** 1825 1825 1826 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1827 -**Pulse extension** 2209 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2210 +**Pulse** 2211 + 2212 +**extension** 1828 1828 ))) 1829 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1830 -|(% rowspan="3" %)DSCL2|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1831 -|Parameter 2| | | | | | |●|●|●| | | | |●|● 1832 -|Parameter 3| |●|●|●|●|●|●|●|●|●|●| | |●|● 2214 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 2215 +|(% rowspan="3" %)DSCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 2216 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 2217 +|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1833 1833 1834 1834 **Features** 1835 1835 ... ... @@ -1840,14 +1840,13 @@ 1840 1840 |(% rowspan="4" %)X coordinate|Point 1|(s2)+3, (s2)+2 1841 1841 |Point 2|(s2)+5, (s2)+4 1842 1842 |.....|...... 1843 -|Point N|(s2)+2N+1, (s2)+2N1844 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2 N+3, (s2)+2N+21845 -|Point 2|(s2)+2 N+5, (s2)+2N+42228 +|Point n|(s2)+2n+1, (s2)+2n 2229 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2n+3, (s2)+2n+2 2230 +|Point 2|(s2)+2n+5, (s2)+2n+4 1846 1846 |.....|..... 1847 -|Point N|(s2)+4N+1, (s2)+4N2232 +|Point n|(s2)+4n+1, (s2)+4n 1848 1848 1849 -(% style="text-align:center" %) 1850 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 2234 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 1851 1851 1852 1852 • If the operation result is not an integer value, round the first digit below the decimal point. 1853 1853 ... ... @@ -1863,10 +1863,9 @@ 1863 1863 1864 1864 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1865 1865 1866 -(% style="text-align:center" %) 1867 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2250 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1868 1868 1869 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2252 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 1870 1870 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1871 1871 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 1872 1872 |(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5| ... ... @@ -1915,21 +1915,19 @@ 1915 1915 1916 1916 **Example** 1917 1917 1918 -(% style="text-align:center" %) 1919 1919 [[image:07-5 Basic instructions_html_91dbc16faa9d2ec3.png]] 1920 1920 1921 -When -100 ≤D0(X) < 0, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]] [[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]],,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,;2303 +When -100 ≤D0(X) < 0, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]],,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,; 1922 1922 1923 1923 when D0(X)=0, D100(Y)=0; 1924 1924 1925 -when 0< D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]] [[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,.2307 +when 0< D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,. 1926 1926 1927 -(% style="text-align:center" %) 1928 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2309 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1929 1929 1930 -== **ZONE/BIN 16-bit data zone control** ==2311 +{{id name="_Toc32057"/}}{{id name="_Toc9941"/}}{{id name="_Toc6492"/}}**ZONE/BIN 16-bit data zone control** 1931 1931 1932 -**ZONE(P)** 2313 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **ZONE(P)** 1933 1933 1934 1934 After adding the offset value specified in (s1) or (s2) to the input value specified in (s3), it is stored in the device number specified in (d). 1935 1935 ... ... @@ -1945,14 +1945,16 @@ 1945 1945 1946 1946 **Device used** 1947 1947 1948 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1949 -**Pulse extension** 2329 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2330 +**Pulse** 2331 + 2332 +**extension** 1950 1950 ))) 1951 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1952 -|(% rowspan="4" %)ZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1953 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|● 1954 -|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|● 1955 -|Parameter 4| |●|●|●|●|●|●|●|●| | |●|● 2334 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 2335 +|(% rowspan="4" %)ZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 2336 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 2337 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 2338 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1956 1956 1957 1957 **Features** 1958 1958 ... ... @@ -1963,6 +1963,7 @@ 1963 1963 |When input value (s3)=0|0 1964 1964 |When input value (s3)>0|Input value (s3) + positive offset value (s2) 1965 1965 2349 + 1966 1966 ((( 1967 1967 • When the output value stored in (d) is a signed BIN 16-bit value, and the operation result exceeds the range of -32,768 to 32,767, the situation is shown in the following example. 1968 1968 ... ... @@ -1970,8 +1970,10 @@ 1970 1970 1971 1971 the output value = -32768+(-100)=8000H-FF9CH=7F9CH=32668. 1972 1972 1973 -(% style="text-align:center" %) 1974 -[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png||height="399" width="550"]] 2357 +[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png]] 2358 + 2359 + 2360 + 1975 1975 ))) 1976 1976 1977 1977 **Error code** ... ... @@ -1982,7 +1982,6 @@ 1982 1982 1983 1983 **Example** 1984 1984 1985 -(% style="text-align:center" %) 1986 1986 [[image:07-5 Basic instructions_html_5da523c7765bf5be.png]] 1987 1987 1988 1988 When X000 is ON ... ... @@ -1993,9 +1993,9 @@ 1993 1993 1994 1994 • When 0<D0, the value of (D0)+(1,000) is stored in D1. 1995 1995 1996 -== **DZONE/BIN 32-bit data zone control** ==2381 +{{id name="_Toc28351"/}}{{id name="_Toc11023"/}}{{id name="_Toc30269"/}}**DZONE/BIN 32-bit data zone control** 1997 1997 1998 -DZONE(P) 2383 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] DZONE(P) 1999 1999 2000 2000 After adding the offset value specified in (s1) or (s2) to the input value specified in (s3), it is stored in the device number specified in (d). 2001 2001 ... ... @@ -2011,14 +2011,16 @@ 2011 2011 2012 2012 **Device used** 2013 2013 2014 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 2015 -**Pulse extension** 2399 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2400 +**Pulse** 2401 + 2402 +**extension** 2016 2016 ))) 2017 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 2018 -|(% rowspan="4" %)DZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 2019 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 2020 -|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|● 2021 -|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|● 2404 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 2405 +|(% rowspan="4" %)DZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 2406 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 2407 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|● 2408 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 2022 2022 2023 2023 **Features** 2024 2024 ... ... @@ -2029,12 +2029,12 @@ 2029 2029 |When input value ((s3), (s3)+1)=0|0 2030 2030 |When input value ((s3), (s3)+1)>0|Input value ((s3), (s3)+1) + positive offset value (s2), (s2)+1 2031 2031 2419 + 2032 2032 ((( 2033 2033 • When the output value stored in (d) and (d)+1 is a signed BIN 32-bit value, and the operation result exceeds the range of -2,147,483,648 to 2,147,483,647, the situation is shown in the following example. 2034 2034 2035 2035 For example, (s1), (s1)+1 is -1,000, (s3), (s3)+1 is -2,147,483,648, then the output value=-2,147,483,648+(-1000)=80000000H+FFFFFC18H=2,147,482,648. 2036 2036 2037 -(% style="text-align:center" %) 2038 2038 [[image:07-5 Basic instructions_html_2f3a96a2565c75c7.png]] 2039 2039 ))) 2040 2040 ... ... @@ -2046,8 +2046,7 @@ 2046 2046 2047 2047 **Example** 2048 2048 2049 -(% style="text-align:center" %) 2050 -[[image:07-5 Basic instructions_html_b831b14748df07ab.png||height="51" width="401"]] 2436 +[[image:07-5 Basic instructions_html_b831b14748df07ab.png]] 2051 2051 2052 2052 • When (D1, D0)<0, the value of (D1, D0)+(-10,000) is stored in (D11, D10). 2053 2053