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,0 +1,1 @@ 1 +12 Clock operation instruction - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome 1 +PLC Editor2.1 User manual.2\.1 LX5V user manual.07.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.J oey1 +XWiki.Jim - Content
-
... ... @@ -1,388 +386,3 @@ 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 - 386 386 == **TADD/The addition of clock data** == 387 387 388 388 **TADD(P)** ... ... @@ -1504,18 +1504,14 @@ 1504 1504 1505 1505 **Device used** 1506 1506 1507 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="14" %)**Devices**|((( 1508 -**Offset** 1509 - 1510 -**modification** 1122 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 1123 +**Offset modification** 1511 1511 )))|((( 1512 -**Pulse** 1513 - 1514 -**extension** 1125 +**Pulse extension** 1515 1515 ))) 1516 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|** E**|**[D]**|**XXP**1517 -|(% rowspan="2" %)DBINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●1518 -|Parameter 2| | | | | | |●|●|●| | | | | |●|●1127 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1128 +|(% rowspan="2" %)DBINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1129 +|Parameter 2| | | | | | |●|●|●| | | | |●|● 1519 1519 1520 1520 **Features** 1521 1521 ... ... @@ -1523,8 +1523,11 @@ 1523 1523 1524 1524 For example, when -12345678 is specified in (s). (in the case of specifying signed) 1525 1525 1526 -[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] The calculation result stored in (d) will be as below. 1137 +(% style="text-align:center" %) 1138 +[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] 1527 1527 1140 + The calculation result stored in (d) will be as below. 1141 + 1528 1528 • In "Sign", 20H is stored when the BIN data is positive, and 2DH is stored when it is negative. 1529 1529 1530 1530 • 20H is stored at 0 to the left of the effective number of digits. (Suppress 0.) For example, in the case of "0012034560", "00" becomes 20H, and "12034560" becomes effective digits. ... ... @@ -1541,13 +1541,14 @@ 1541 1541 1542 1542 **Example** 1543 1543 1544 -[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png]] 1158 +(% style="text-align:center" %) 1159 +[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png||height="59" width="300"]] 1545 1545 1546 1546 When X000 is ON, convert the value of 32-bit data (BIN) D1000 into decimal ASCII code, and then use PR (FNC 77) instruction to output the converted ASCII code character by character to the program in Y040 to Y051 in time and time division. 1547 1547 1548 - {{id name="_Toc19693"/}}{{id name="_Toc18078"/}}{{idname="_Toc5726"/}}**DABIN/Decimal ASCII → BIN conversion**1163 +== **DABIN/Decimal ASCII → BIN conversion** == 1549 1549 1550 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DABIN(P)**1165 +**DABIN(P)** 1551 1551 1552 1552 Digital ASCII code (30H to 39H) is a instruction to convert real data into BIN data. 1553 1553 ... ... @@ -1561,24 +1561,23 @@ 1561 1561 1562 1562 **Device used** 1563 1563 1564 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1565 -**Pulse** 1566 - 1567 -**extension** 1179 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|**Offset modification**|((( 1180 +**Pulse extension** 1568 1568 ))) 1569 -|** 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**1570 -|(% rowspan="2" %)DABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●|| | | | |●|●1571 -|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●|| | | | |●|●1182 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1183 +|(% rowspan="2" %)DABIN|Parameter 1| | | | | |●|●|●|●|● 1184 +|Parameter 2|●|●|●|●|●|●|●|●|●|● 1572 1572 1573 1573 **Features** 1574 1574 1575 1575 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 16-bit data and stored in the device specified in (d). 1576 1576 1577 -[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png]] 1190 +(% style="text-align:center" %) 1191 +[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png||height="273" width="750"]] 1578 1578 1579 1579 |**ASCII S**|**ASCII 10^^0^^**|**ASCII 10^^1^^**|**ASCII 10^^2^^**|**ASCII 10^^3^^**|**ASCII 10^^4^^** 1580 1580 |**ASCII code**|((( 1581 - {{id name="OLE_LINK36"/}}Units of1195 +Units of 1582 1582 1583 1583 ASCII code 1584 1584 )))|((( ... ... @@ -1601,7 +1601,8 @@ 1601 1601 1602 1602 For example, When -25,108 is specified in (s) 1603 1603 1604 -[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png]] 1218 +(% style="text-align:center" %) 1219 +[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png||height="123" width="750"]] 1605 1605 1606 1606 • The ASCII data specified in (s) to (s)+2 is within the range of -32,768 to +32,767. 1607 1607 ... ... @@ -1624,7 +1624,6 @@ 1624 1624 |4085H|The read address of (s) exceeds the device range. 1625 1625 |4086H|The write address of (d) exceeds the device range. 1626 1626 1627 - 1628 1628 ((( 1629 1629 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. 1630 1630 ... ... @@ -1631,11 +1631,12 @@ 1631 1631 **Example** 1632 1632 ))) 1633 1633 1634 -[[image:07-5 Basic instructions_html_bec2bea131b58c03.png]] 1248 +(% style="text-align:center" %) 1249 +[[image:07-5 Basic instructions_html_bec2bea131b58c03.png||height="55" width="300"]] 1635 1635 1636 - {{id name="_Toc3351"/}}{{id name="_Toc26383"/}}{{idname="_Toc26233"/}}**DDABIN/Decimal ASCII → BIN32-bit data conversion**1251 +== **DDABIN/Decimal ASCII → BIN32-bit data conversion** == 1637 1637 1638 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DDABIN(P)**1253 +**DDABIN(P)** 1639 1639 1640 1640 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 32-bit data and stored in the device number specified in (d). 1641 1641 ... ... @@ -1649,31 +1649,31 @@ 1649 1649 1650 1650 **Device used** 1651 1651 1652 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1653 -**Pulse** 1654 - 1655 -**extension** 1267 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1268 +**Pulse extension** 1656 1656 ))) 1657 -|** 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**1658 -|(% rowspan="2" %)DDABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | || | |●|●1659 -|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|| | |●|●1270 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**[D]**|**XXP** 1271 +|(% rowspan="2" %)DDABIN|Parameter 1| | | | | |●|●|●| | |●|● 1272 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|● 1660 1660 1661 1661 **Features** 1662 1662 1663 1663 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 32-bit data and stored in the device specified in (d). 1664 1664 1665 -[[image:07-5 Basic instructions_html_c444110b273f33b7.gif]] 1278 +(% style="text-align:center" %) 1279 +[[image:07-5 Basic instructions_html_c444110b273f33b7.gif||height="193" width="800"]] 1666 1666 1667 1667 |**ASCII S**|**ASCII code**|**ASCII S**|**ASCII code** 1668 -|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^| {{id name="OLE_LINK38"/}}Hundred thousands of ASCII code1282 +|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|Hundred thousands of ASCII code 1669 1669 |ASCII 10^^1^^|Tens of ASCII code|ASCII 10^^6^^|Millions of ASCII code 1670 1670 |ASCII 10^^2^^|Hundreds of ASCII code|ASCII 10^^7^^|Ten millions of ASCII code 1671 -|ASCII 10^^3^^| {{id name="OLE_LINK37"/}}Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code1285 +|ASCII 10^^3^^|Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1672 1672 |ASCII 10^^4^^|Tens thousands of ASCII code|ASCII 10^^9^^|billions of ASCII code 1673 1673 1674 1674 When -1234543210 is specified in (s) (When signed is specified) 1675 1675 1676 -[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png]] 1290 +(% style="text-align:center" %) 1291 +[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png||height="230" width="800"]] 1677 1677 1678 1678 • The ASCII data specified in (s) to (s)+5 is within the range of -2,147,483,648 to +2,147,483,647. In addition, the data stored in the high byte of (s)+5 will be ignored. 1679 1679 ... ... @@ -1689,7 +1689,7 @@ 1689 1689 |4084H|((( 1690 1690 When the Sign data exceeds the range of 30H to 39H, 20H, 00H and 2DH; 1691 1691 1692 - {{id name="OLE_LINK39"/}}When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H;1307 +When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H; 1693 1693 1694 1694 When the ASCII data specified in (s) to (s)+5 exceeds the range of -2,147,483,648 to +2,147,483,647 1695 1695 ))) ... ... @@ -1698,13 +1698,14 @@ 1698 1698 1699 1699 **Example** 1700 1700 1701 -[[image:07-5 Basic instructions_html_feea438c943ea9dd.png]] 1316 +(% style="text-align:center" %) 1317 +[[image:07-5 Basic instructions_html_feea438c943ea9dd.png||height="34" width="300"]] 1702 1702 1703 1703 When X000 is ON, the Signs set in to D20 to D25 and the ASCII code data of 10-digit decimal numbers are converted into BIN values and then saved to the program in D0 to D1. 1704 1704 1705 - {{id name="_Toc26556"/}}{{id name="_Toc12799"/}}{{idname="_Toc23863"/}}**LIMIT/ BIN 16-bit data high and low limit control**1321 +== **LIMIT/ BIN 16-bit data high and low limit control** == 1706 1706 1707 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**LIMIT(P)**1323 +**LIMIT(P)** 1708 1708 1709 1709 The input value (BIN 16-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limit value ranges specified in (s1) and (s2). 1710 1710 ... ... @@ -1720,16 +1720,14 @@ 1720 1720 1721 1721 **Device used** 1722 1722 1723 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1724 -**Pulse** 1725 - 1726 -**extension** 1339 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1340 +**Pulse extension** 1727 1727 ))) 1728 -|** 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**1729 -|(% rowspan="4" %)LIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1730 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1731 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | || | |●|●1732 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●1342 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1343 +|(% rowspan="4" %)LIMIT|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1344 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|● 1345 +|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|● 1346 +|Parameter 4| |●|●|●|●|●|●|●|●| | |●|● 1733 1733 1734 1734 **Features** 1735 1735 ... ... @@ -1740,13 +1740,13 @@ 1740 1740 |High limit value (s1) <input value (s3)|High limit value (s2) 1741 1741 |Low limit value (s1) ≤ input value (s3) ≤ high limit value (s2)|Input value (s3) 1742 1742 1743 - 1744 1744 ((( 1745 -•Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1358 +• Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1746 1746 1747 1747 • Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1748 1748 1749 -[[image:07-5 Basic instructions_html_50eb5229b027aa14.png]] 1362 +(% style="text-align:center" %) 1363 +[[image:07-5 Basic instructions_html_50eb5229b027aa14.png||height="297" width="550"]] 1750 1750 ))) 1751 1751 1752 1752 **Error code** ... ... @@ -1758,6 +1758,7 @@ 1758 1758 1759 1759 **Example** 1760 1760 1375 +(% style="text-align:center" %) 1761 1761 [[image:07-5 Basic instructions_html_d67a2e740d4fc738.png]] 1762 1762 1763 1763 When X000 is ON ... ... @@ -1768,9 +1768,9 @@ 1768 1768 1769 1769 • When 5,000 <D0, D1 is 5,000. 1770 1770 1771 - {{id name="_Toc32553"/}}{{id name="_Toc9981"/}}{{idname="_Toc9158"/}}**DLIMIT/BIN 32-bit data high and low limit control**1386 +== **DLIMIT/BIN 32-bit data high and low limit control** == 1772 1772 1773 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DLIMIT(P)**1388 +**DLIMIT(P)** 1774 1774 1775 1775 The input value (BIN 32-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the range of high and low limit values specified in (s1) and (s2). 1776 1776 ... ... @@ -1786,16 +1786,14 @@ 1786 1786 1787 1787 **Device used** 1788 1788 1789 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1790 -**Pulse** 1791 - 1792 -**extension** 1404 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1405 +**Pulse extension** 1793 1793 ))) 1794 -|** 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**1795 -|(% rowspan="4" %)DLIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1796 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1797 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | ||●|●1798 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●1407 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1408 +|(% rowspan="4" %)DLIMIT|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1409 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1410 +|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|● 1411 +|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|● 1799 1799 1800 1800 **Features** 1801 1801 ... ... @@ -1806,7 +1806,7 @@ 1806 1806 |High limit value ((s2), (s2)+1) <input value ((s3), (s3)+1)|High limit value ((s2), (s2)+1) 1807 1807 |Low limit value ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ high limit value ((s2), (s2)+1)|Input value ((s3), (s3)+1) 1808 1808 1809 - {{idname="OLE_LINK43"/}}{{idname="OLE_LINK40"/}}•Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1).1422 +• Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1810 1810 1811 1811 • Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1812 1812 ... ... @@ -1819,7 +1819,8 @@ 1819 1819 1820 1820 **Example** 1821 1821 1822 -[[image:07-5 Basic instructions_html_217355b90f4b4e16.png]] 1435 +(% style="text-align:center" %) 1436 +[[image:07-5 Basic instructions_html_217355b90f4b4e16.png||height="53" width="400"]] 1823 1823 1824 1824 Operation: 1825 1825 ... ... @@ -1829,9 +1829,9 @@ 1829 1829 1830 1830 • When 1,000,000 <(D1, D0), (D11, D10) is 1,000,000. 1831 1831 1832 - {{id name="_Toc12534"/}}{{id name="_Toc28213"/}}{{idname="_Toc24591"/}}**SCL/BIN 16-bit unit scale (coordinate data of each point)**1446 +== **SCL/BIN 16-bit unit scale (coordinate data of each point)** == 1833 1833 1834 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**SCL(P)**1448 +**SCL(P)** 1835 1835 1836 1836 The scaling conversion data (16-bit data unit) specified in (s2) is scaled from the input value specified in (s1), and the calculation result is stored in the device specified in (d). 1837 1837 ... ... @@ -1846,15 +1846,13 @@ 1846 1846 1847 1847 **Device used** 1848 1848 1849 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1850 -**Pulse** 1851 - 1852 -**extension** 1463 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1464 +**Pulse extension** 1853 1853 ))) 1854 -|** 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**1855 -|(% rowspan="3" %)SCL|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1856 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | || | |●|●1857 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●1466 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1467 +|(% rowspan="3" %)SCL|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1468 +|Parameter 2| | | | | | |●|●|●| | |●|● 1469 +|Parameter 3| |●|●|●|●|●|●|●|●| | |●|● 1858 1858 1859 1859 **Features** 1860 1860 ... ... @@ -1870,7 +1870,8 @@ 1870 1870 |(% rowspan="2" %)Point n|X coordinate|(s2)+2n-1 1871 1871 |Y coordinate|(s2)+2n 1872 1872 1873 -[[image:07-5 Basic instructions_html_80185ccddb878234.png]] 1485 +(% style="text-align:center" %) 1486 +[[image:07-5 Basic instructions_html_80185ccddb878234.png||height="422" width="750"]] 1874 1874 1875 1875 • If the operation result is not an integer value, round the first digit below the decimal point. 1876 1876 ... ... @@ -1886,10 +1886,13 @@ 1886 1886 1887 1887 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1888 1888 1889 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1502 +(% style="text-align:center" %) 1503 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 1890 1890 1891 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Sett device and content**|(% rowspan="2" %)**Remarks** 1892 -|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1505 +|(% colspan="2" rowspan="2" %)((( 1506 +**Set items** 1507 +)))|(% colspan="3" %)**Sett device and content**|(% rowspan="2" %)**Remarks** 1508 +|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1893 1893 |(% colspan="2" %)Coordinate points|(s2)|R0|K10| 1894 1894 |(% rowspan="2" %)Point 1|X coordinate|(s2)+1|R1|K5| 1895 1895 |Y coordinate|(s2)+2|R2|K20| ... ... @@ -1937,6 +1937,7 @@ 1937 1937 1938 1938 **Example** 1939 1939 1556 +(% style="text-align:center" %) 1940 1940 [[image:07-5 Basic instructions_html_5519d7b41f15b6d6.png]] 1941 1941 1942 1942 [[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] When -100 ≤ D0(X) < 0, D100(Y)= ... ... @@ -1945,14 +1945,13 @@ 1945 1945 1946 1946 when 0< D0(X) ≤ 100, D100(Y)= 1947 1947 1948 -[[image:07-5 Basic instructions_html_e35e13160c08a133.png]] 1565 +(% style="text-align:center" %) 1566 +[[image:07-5 Basic instructions_html_e35e13160c08a133.png||height="362" width="550"]] 1949 1949 1568 +== **DSCL/32-bit unit scale (coordinate data of each point)** == 1950 1950 1570 +**DSCL(P)** 1951 1951 1952 -{{id name="_Toc4862"/}}{{id name="_Toc11340"/}}{{id name="_Toc25383"/}}**DSCL/32-bit unit scale (coordinate data of each point)** 1953 - 1954 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL(P)** 1955 - 1956 1956 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). 1957 1957 1958 1958 -[DSCL (s1) (s2) (d)] ... ... @@ -1966,19 +1966,17 @@ 1966 1966 1967 1967 **Device used** 1968 1968 1969 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Device**|**Offset modification**|((( 1970 -**Pulse** 1971 - 1972 -**extension** 1585 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Device**|**Offset modification**|((( 1586 +**Pulse extension** 1973 1973 ))) 1974 -|** 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**1975 -|(% rowspan="3" %)DSCL|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1976 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | ||●|●1977 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●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| |●|●|●|●|●|●|●|●|●|●| | |●|● 1978 1978 1979 1979 **Features** 1980 1980 1981 - {{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).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). 1982 1982 1983 1983 |(% colspan="2" %)**Set items (n represents the number of coordinate points specified in (s2))**|**Device allocation** 1984 1984 |(% colspan="2" %)Coordinate points|(s2)+1, (s2) ... ... @@ -1990,7 +1990,8 @@ 1990 1990 |(% rowspan="2" %)Point n|X coordinate|(s2)+4n-1, (s2)+4n-2 1991 1991 |Y coordinate|(s2)+4n+1, (s2)+4n 1992 1992 1993 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 1607 +(% style="text-align:center" %) 1608 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 1994 1994 1995 1995 • If the calculation result is not an integer value, round the first digit below the decimal point. 1996 1996 ... ... @@ -2006,10 +2006,11 @@ 2006 2006 2007 2007 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2008 2008 2009 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1624 +(% style="text-align:center" %) 1625 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2010 2010 2011 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks**2012 -|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content**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** 2013 2013 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2014 2014 |(% rowspan="2" %)Point 1|X coordinate|(s2)+3, (s2)+2|R3, R2|K5| 2015 2015 |Y coordinate|(s2)+5, (s2)+4|R5, R4|K7| ... ... @@ -2057,7 +2057,8 @@ 2057 2057 2058 2058 **Example** 2059 2059 2060 -[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png]] 1676 +(% style="text-align:center" %) 1677 +[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png||height="272" width="404"]] 2061 2061 2062 2062 [[image:07-5 Basic instructions_html_1de79c7d87d51f78.gif]] When -100 ≤ D0(X) < 0, D100(Y)= 2063 2063 ... ... @@ -2065,11 +2065,12 @@ 2065 2065 2066 2066 When 0 < D0(X) ≤ 100, D100(Y)= 2067 2067 2068 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1685 +(% style="text-align:center" %) 1686 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2069 2069 2070 - {{id name="_Toc3776"/}}{{id name="_Toc11170"/}}{{idname="_Toc2957"/}}**SCL2/BIN 16-bit unit scale (X/Y coordinate data)**1688 +== **SCL2/BIN 16-bit unit scale (X/Y coordinate data)** == 2071 2071 2072 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**SCL2(P)**1690 +**SCL2(P)** 2073 2073 2074 2074 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). 2075 2075 ... ... @@ -2084,15 +2084,13 @@ 2084 2084 2085 2085 **Device used** 2086 2086 2087 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2088 -**Pulse** 2089 - 2090 -**extension** 1705 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1706 +**Pulse extension** 2091 2091 ))) 2092 -|** 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**2093 -|(% rowspan="3" %)SCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●2094 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | || | |●|●2095 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●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| |●|●|●|●|●|●|●|●| | |●|● 2096 2096 2097 2097 **Features** 2098 2098 ... ... @@ -2103,13 +2103,14 @@ 2103 2103 |(% rowspan="4" %)X coordinate|Point 1|(s2)+1 2104 2104 |Point 2|(s2)+2 2105 2105 |.....|...... 2106 -|Point n|(s2)+n2107 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+ n+12108 -|Point 2|(s2)+ n+21722 +|Point N|(s2)+N 1723 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+N+1 1724 +|Point 2|(s2)+N+2 2109 2109 |.....|..... 2110 -|Point n|(s2)+2n1726 +|Point N|(s2)+2N 2111 2111 2112 -[[image:07-5 Basic instructions_html_80185ccddb878234.png]] 1728 +(% style="text-align:center" %) 1729 +[[image:07-5 Basic instructions_html_80185ccddb878234.png||height="422" width="750"]] 2113 2113 2114 2114 • If the operation result is not an integer value, round the first digit below the decimal point. 2115 2115 ... ... @@ -2125,7 +2125,8 @@ 2125 2125 2126 2126 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2127 2127 2128 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1745 +(% style="text-align:center" %) 1746 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2129 2129 2130 2130 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2131 2131 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** ... ... @@ -2174,21 +2174,23 @@ 2174 2174 When the number of start coordinate points of device (s2) is less than 0. 2175 2175 ))) 2176 2176 2177 -**Example** 1795 +**Example** 2178 2178 2179 -[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] [[image:07-5 Basic instructions_html_de529c9a16a62ef0.png]] 1797 +(% style="text-align:center" %) 1798 +[[image:07-5 Basic instructions_html_de529c9a16a62ef0.png||height="316" width="400"]] 2180 2180 2181 -When -100 ≤D0 (X) < 0, D100(Y)= 1800 +When -100 ≤D0 (X) < 0, D100(Y)=[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] 2182 2182 2183 - [[image:07-5 Basic instructions_html_9acd6306c6d91847.gif]] when D0(X)=0, D100(Y)=0;1802 +When D0(X)=0, D100(Y)=0; 2184 2184 2185 - when 0 < D0(X) ≤ 100, D100(Y)=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]],, 2186 2186 2187 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1806 +(% style="text-align:center" %) 1807 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2188 2188 2189 - {{id name="_Toc5608"/}}{{id name="_Toc1756"/}}{{idname="_Toc21402"/}}**DSCL2/BIN 32-bit unit scale (X/Y coordinate data)**1809 +== **DSCL2/BIN 32-bit unit scale (X/Y coordinate data)** == 2190 2190 2191 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DSCL2(P)**1811 +**DSCL2(P)** 2192 2192 2193 2193 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). 2194 2194 ... ... @@ -2203,15 +2203,13 @@ 2203 2203 2204 2204 **Device used** 2205 2205 2206 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2207 -**Pulse** 2208 - 2209 -**extension** 1826 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1827 +**Pulse extension** 2210 2210 ))) 2211 -|** 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**2212 -|(% rowspan="3" %)DSCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●2213 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | ||●|●2214 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●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| |●|●|●|●|●|●|●|●|●|●| | |●|● 2215 2215 2216 2216 **Features** 2217 2217 ... ... @@ -2222,13 +2222,14 @@ 2222 2222 |(% rowspan="4" %)X coordinate|Point 1|(s2)+3, (s2)+2 2223 2223 |Point 2|(s2)+5, (s2)+4 2224 2224 |.....|...... 2225 -|Point n|(s2)+2n+1, (s2)+2n2226 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2 n+3, (s2)+2n+22227 -|Point 2|(s2)+2 n+5, (s2)+2n+41843 +|Point N|(s2)+2N+1, (s2)+2N 1844 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2N+3, (s2)+2N+2 1845 +|Point 2|(s2)+2N+5, (s2)+2N+4 2228 2228 |.....|..... 2229 -|Point n|(s2)+4n+1, (s2)+4n1847 +|Point N|(s2)+4N+1, (s2)+4N 2230 2230 2231 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 1849 +(% style="text-align:center" %) 1850 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 2232 2232 2233 2233 • If the operation result is not an integer value, round the first digit below the decimal point. 2234 2234 ... ... @@ -2244,9 +2244,10 @@ 2244 2244 2245 2245 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2246 2246 2247 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1866 +(% style="text-align:center" %) 1867 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2248 2248 2249 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks**1869 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2250 2250 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2251 2251 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2252 2252 |(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5| ... ... @@ -2295,19 +2295,21 @@ 2295 2295 2296 2296 **Example** 2297 2297 1918 +(% style="text-align:center" %) 2298 2298 [[image:07-5 Basic instructions_html_91dbc16faa9d2ec3.png]] 2299 2299 2300 -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]] ,,; 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]] ,,; 2301 2301 2302 2302 when D0(X)=0, D100(Y)=0; 2303 2303 2304 -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]] ,,. 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]] ,,. 2305 2305 2306 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1927 +(% style="text-align:center" %) 1928 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2307 2307 2308 - {{id name="_Toc32057"/}}{{id name="_Toc9941"/}}{{idname="_Toc6492"/}}**ZONE/BIN 16-bit data zone control**1930 +== **ZONE/BIN 16-bit data zone control** == 2309 2309 2310 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**ZONE(P)**1932 +**ZONE(P)** 2311 2311 2312 2312 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). 2313 2313 ... ... @@ -2323,16 +2323,14 @@ 2323 2323 2324 2324 **Device used** 2325 2325 2326 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2327 -**Pulse** 2328 - 2329 -**extension** 1948 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1949 +**Pulse extension** 2330 2330 ))) 2331 -|** 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**2332 -|(% rowspan="4" %)ZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●2333 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●2334 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | || | |●|●2335 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●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| |●|●|●|●|●|●|●|●| | |●|● 2336 2336 2337 2337 **Features** 2338 2338 ... ... @@ -2343,7 +2343,6 @@ 2343 2343 |When input value (s3)=0|0 2344 2344 |When input value (s3)>0|Input value (s3) + positive offset value (s2) 2345 2345 2346 - 2347 2347 ((( 2348 2348 • 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. 2349 2349 ... ... @@ -2351,10 +2351,8 @@ 2351 2351 2352 2352 the output value = -32768+(-100)=8000H-FF9CH=7F9CH=32668. 2353 2353 2354 -[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png]] 2355 - 2356 - 2357 - 1973 +(% style="text-align:center" %) 1974 +[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png||height="399" width="550"]] 2358 2358 ))) 2359 2359 2360 2360 **Error code** ... ... @@ -2365,6 +2365,7 @@ 2365 2365 2366 2366 **Example** 2367 2367 1985 +(% style="text-align:center" %) 2368 2368 [[image:07-5 Basic instructions_html_5da523c7765bf5be.png]] 2369 2369 2370 2370 When X000 is ON ... ... @@ -2375,9 +2375,9 @@ 2375 2375 2376 2376 • When 0<D0, the value of (D0)+(1,000) is stored in D1. 2377 2377 2378 - {{id name="_Toc28351"/}}{{id name="_Toc11023"/}}{{idname="_Toc30269"/}}**DZONE/BIN 32-bit data zone control**1996 +== **DZONE/BIN 32-bit data zone control** == 2379 2379 2380 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]DZONE(P)1998 +DZONE(P) 2381 2381 2382 2382 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). 2383 2383 ... ... @@ -2393,16 +2393,14 @@ 2393 2393 2394 2394 **Device used** 2395 2395 2396 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2397 -**Pulse** 2398 - 2399 -**extension** 2014 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 2015 +**Pulse extension** 2400 2400 ))) 2401 -|** 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**2402 -|(% rowspan="4" %)DZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●2403 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●2404 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | ||●|●2405 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●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| |●|●|●|●|●|●|●|●|●|●| | |●|● 2406 2406 2407 2407 **Features** 2408 2408 ... ... @@ -2413,12 +2413,12 @@ 2413 2413 |When input value ((s3), (s3)+1)=0|0 2414 2414 |When input value ((s3), (s3)+1)>0|Input value ((s3), (s3)+1) + positive offset value (s2), (s2)+1 2415 2415 2416 - 2417 2417 ((( 2418 2418 • 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. 2419 2419 2420 2420 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. 2421 2421 2037 +(% style="text-align:center" %) 2422 2422 [[image:07-5 Basic instructions_html_2f3a96a2565c75c7.png]] 2423 2423 ))) 2424 2424 ... ... @@ -2430,7 +2430,8 @@ 2430 2430 2431 2431 **Example** 2432 2432 2433 -[[image:07-5 Basic instructions_html_b831b14748df07ab.png]] 2049 +(% style="text-align:center" %) 2050 +[[image:07-5 Basic instructions_html_b831b14748df07ab.png||height="51" width="401"]] 2434 2434 2435 2435 • When (D1, D0)<0, the value of (D1, D0)+(-10,000) is stored in (D11, D10). 2436 2436