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)** ... ... @@ -659,7 +659,7 @@ 659 659 660 660 == **TWR/Clock data writing** == 661 661 662 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**TWR(P)**277 +**TWR(P)** 663 663 664 664 Write the clock data of the built-in real-time clock of the CPU module. 665 665 ... ... @@ -672,17 +672,13 @@ 672 672 673 673 **Device used** 674 674 675 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 676 -**Offset** 677 - 678 -**modification** 290 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="4" %)**Devices**|((( 291 +**Offset modification** 679 679 )))|((( 680 -**Pulse** 681 - 682 -**extension** 293 +**Pulse extension** 683 683 ))) 684 -|** 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**685 -|TWR|Parameter 1| | | | | | | | | | | | | | |β|β|β|β|| | | | | |β|β295 +|**T**|**C**|**D**|**R**|**[D]**|**XXP** 296 +|TWR|Parameter 1|β|β|β|β|β|β 686 686 687 687 **Features** 688 688 ... ... @@ -717,7 +717,7 @@ 717 717 |SD105|The year data of the clock data is stored in a 4-digit BIN code of the Gregorian calendar. 718 718 |SD106|The week data of the clock data is stored in BIN code. (0: day, 1: one, ..., 6: six) are stored in BIN code. 719 719 720 -β**Note** 331 +β**Note:** 721 721 722 722 The device specified in (s) occupies 7 points. Be careful not to overlap with the device used for machine control. 723 723 ... ... @@ -730,13 +730,15 @@ 730 730 731 731 Set D0 date and time to 2020-2-19 12:36:00 in advance 732 732 733 -[[image:07-5 Basic instructions_html_994c66d1a4cbd45f.png]] 344 +(% style="text-align:center" %) 345 +[[image:07-5 Basic instructions_html_994c66d1a4cbd45f.png||height="57" width="305"]] 734 734 735 735 At the moment when the time 12:36:00 arrives, turn on the M0 coil and write the time. 736 736 737 -[[image:07-5 Basic instructions_html_bf3e906ee5265598.png]] 349 +(% style="text-align:center" %) 350 +[[image:07-5 Basic instructions_html_bf3e906ee5265598.png||height="42" width="586"]] 738 738 739 - {{id name="_Toc5357"/}}{{id name="_Toc6196"/}}[[image:07-5Basic instructions_html_11b3991e89e21efc.gif]]**HTOS/16-bit data conversion of time data (hour, minute, second β second)**352 +== **HTOS/16-bit data conversion of time data (hour, minute, second β second)** == 740 740 741 741 **HTOS(P)** 742 742 ... ... @@ -752,26 +752,26 @@ 752 752 753 753 **Device used** 754 754 755 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 756 -**Pulse** 757 - 758 -**extension** 368 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|**Offset modification**|((( 369 +**Pulse extension** 759 759 ))) 760 -|** 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**761 -|(% rowspan="2" %)HTOS|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| | | | |β|β762 -|Parameter 2| | | | | | | | | | | |β|β|β|β|β|β|β|β|| | | | |β|β371 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 372 +|(% rowspan="2" %)HTOS|Parameter 1|β|β|β|β|β|β|β|β|β|β|β 373 +|Parameter 2| |β|β|β|β|β|β|β|β|β|β 763 763 764 764 **Features** 765 765 766 766 Convert the time data stored after the device number specified in (s) into seconds and store the conversion result in the device specified in (d). 767 767 768 -[[image:07-5 Basic instructions_html_a84b7741fd5bef2f.png]] 379 +(% style="text-align:center" %) 380 +[[image:07-5 Basic instructions_html_a84b7741fd5bef2f.png||height="130" width="550"]] 769 769 770 770 **Example** 771 771 772 772 When 4 hours, 29 minutes and 31 seconds are specified in (s) 773 773 774 -[[image:07-5 Basic instructions_html_5effb7bc9b8e5cf7.png]] 386 +(% style="text-align:center" %) 387 +[[image:07-5 Basic instructions_html_5effb7bc9b8e5cf7.png||height="162" width="550"]] 775 775 776 776 **Error code** 777 777 ... ... @@ -779,7 +779,7 @@ 779 779 |4085H|When reading the specified device range exceeds the corresponding device range 780 780 |4086H|When writing the specified device range exceeds the corresponding device range 781 781 |4084H|((( 782 - {{id name="OLE_LINK348"/}}When the calculation result is not in the range of 0 to 32767395 +When the calculation result is not in the range of 0 to 32767 783 783 784 784 When the value specified in (s) is not in the range of 0 to 9 785 785 ... ... @@ -788,19 +788,22 @@ 788 788 789 789 **Example** 790 790 791 -[[image:07-5 Basic instructions_html_e23e38c4ba4c34bb.png]] 404 +(% style="text-align:center" %) 405 +[[image:07-5 Basic instructions_html_e23e38c4ba4c34bb.png||height="43" width="338"]] 792 792 793 793 D0 time is set to 5:36:53 794 794 409 +(% style="text-align:center" %) 795 795 [[image:07-5 Basic instructions_html_2866a121e5ca5713.png]] 796 796 797 797 The time of D10 after the M0 coil is turned on is as below. 798 798 414 +(% style="text-align:center" %) 799 799 [[image:07-5 Basic instructions_html_1dd6c5de05890797.png]] 800 800 801 - {{id name="_Toc13431"/}}{{id name="_Toc5278"/}}**DHTOS/32-bit data conversion of time data (hour, minute, second β second)**417 +== **DHTOS/32-bit data conversion of time data (hour, minute, second β second)** == 802 802 803 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DHTOS(P)**419 +**DHTOS(P)** 804 804 805 805 Convert the time data stored after the device number specified in (s) into seconds and store the conversion result as BIN 32-bit data in the device specified in (d). 806 806 ... ... @@ -814,30 +814,28 @@ 814 814 815 815 **Device used** 816 816 817 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 818 -**Offset** 819 - 820 -**modification** 433 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 434 +**Offset modification** 821 821 )))|((( 822 -**Pulse** 823 - 824 -**extension** 436 +**Pulse extension** 825 825 ))) 826 -|** 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**827 -|(% rowspan="2" %)DHTOS|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| | | | |β|β828 -|Parameter 2| | | | | | | | | | | |β|β|β|β|β|β|β|β|| | | | |β|β438 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 439 +|(% rowspan="2" %)DHTOS|Parameter 1|β|β|β|β|β|β|β|β|β|β|β 440 +|Parameter 2| |β|β|β|β|β|β|β|β|β|β 829 829 830 830 **Features** 831 831 832 832 Convert the time data stored after the device number specified in (s) into seconds and store the conversion result in the device specified in (d). 833 833 834 -[[image:07-5 Basic instructions_html_f4be08508575ea01.png]] 446 +(% style="text-align:center" %) 447 +[[image:07-5 Basic instructions_html_f4be08508575ea01.png||height="99" width="550"]] 835 835 836 836 **Example** 837 837 838 838 When 35 hours, 10 minutes and 58 seconds are specified in (s) 839 839 840 -[[image:07-5 Basic instructions_html_5b9ad230ed5e1fd0.png]] 453 +(% style="text-align:center" %) 454 +[[image:07-5 Basic instructions_html_5b9ad230ed5e1fd0.png||height="125" width="550"]] 841 841 842 842 **Error code** 843 843 ... ... @@ -852,17 +852,20 @@ 852 852 853 853 **Example** 854 854 855 -[[image:07-5 Basic instructions_html_ae8ab4379e8bdb91.png]] 469 +(% style="text-align:center" %) 470 +[[image:07-5 Basic instructions_html_ae8ab4379e8bdb91.png||height="45" width="263"]] 856 856 857 857 D0 time is set to 15:33:24 858 858 859 -[[image:07-5 Basic instructions_html_57a15d9e1045e93e.png]] 474 +(% style="text-align:center" %) 475 +[[image:07-5 Basic instructions_html_57a15d9e1045e93e.png||height="41" width="313"]] 860 860 861 861 The second of D10 after the M0 coil is turned on is 862 862 863 -[[image:07-5 Basic instructions_html_194e906b1dc12078.png]] 479 +(% style="text-align:center" %) 480 +[[image:07-5 Basic instructions_html_194e906b1dc12078.png||height="64" width="365"]] 864 864 865 - {{id name="_Ref22686"/}}{{id name="_Toc11231"/}}{{id name="_Toc7401"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**HOUR/Hour measuring 16-bit**482 +**HOUR/Hour measuring 16-bit** 866 866 867 867 **HOUR(P)** 868 868 ... ... @@ -887,19 +887,15 @@ 887 887 888 888 **Device used** 889 889 890 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 891 -**Offset** 892 - 893 -**modification** 507 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="17" %)**Devices**|((( 508 +**Offset modification** 894 894 )))|((( 895 -**Pulse** 896 - 897 -**extension** 510 +**Pulse extension** 898 898 ))) 899 -|** 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**900 -|(% rowspan="3" %)HOUR|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β| |β|β901 -|Parameter 2| | | | | | | | | | | | | | | | |β|β|β| | | || |β|β902 -|Parameter 3| |β|β|β|β|| | | |β| | | | | | | | | | | | || |β|β512 +|**Y**|**M**|**S**|**SM**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**E**|**[D]**|**XXP** 513 +|(% rowspan="3" %)HOUR|Parameter 1| | | | | |β|β|β|β|β|β|β|β|β|β|β| |β|β 514 +|Parameter 2| | | | | | | | | | | |β|β|β| | | |β|β 515 +|Parameter 3|β|β|β|β|β| | | | | | | | | | | | |β|β 903 903 904 904 **Features** 905 905 ... ... @@ -921,7 +921,7 @@ 921 921 922 922 β’ The measurement stops when the current value reaches the 16-bit maximum. To continue the measurement, clear the current value of (d1) to (d1)+1. 923 923 924 -β**Note** 537 +β**Note:** 925 925 926 926 β’ The device specified in (d1) occupies 2 points. Be careful not to overlap with the device used for machine control. 927 927 ... ... @@ -934,15 +934,14 @@ 934 934 |4086H|When writing the specified device range exceeds the corresponding device range 935 935 |4084H|When the value of (s) is negative 936 936 937 - 938 - 939 939 **Example** 940 940 941 -[[image:07-5 Basic instructions_html_7570f8c392470a9f.png]] 552 +(% style="text-align:center" %) 553 +[[image:07-5 Basic instructions_html_7570f8c392470a9f.png||height="45" width="320"]] 942 942 943 943 When M0 = ON, the duration of the state is accumulated, the time is recorded in D0, and the seconds less than 1 hour are recorded in D1. When the accumulated time of D0 reaches 98 hours, the Y0 output state is ON. When the timing conditions are met, after reaching the specified value (K98), the accumulated timing will continue and the reading will continue to increase; the current time value D0 reaches the maximum value of 32767 hours and D1 reaches 3599 seconds, the timing measurement will stop. The current time values D0 and D1 are cleared to 0. 944 944 945 - {{id name="_Toc8523"/}}{{id name="_Toc9364"/}}[[image:07-5Basic instructions_html_11b3991e89e21efc.gif]]**DHOUR/Hour measuring 32 bits**557 +== **DHOUR/Hour measuring 32 bits** == 946 946 947 947 **DHOUR(P)** 948 948 ... ... @@ -954,9 +954,7 @@ 954 954 955 955 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 956 956 |(s)|((( 957 -The time when the alarm (d2) is turned ON 958 - 959 -(set by one hour) 569 +The time when the alarm (d2) is turned ON (set by one hour) 960 960 )))|0 to 2147483647|Signed BIN 32 bit|ANY32 961 961 |(d1)|Device that stores the current value of measurement (specified data register for power failure retention)|-|Unsigned BIN 32 bit|((( 962 962 ANY32_ARRAY ... ... @@ -967,19 +967,15 @@ 967 967 968 968 **Device used** 969 969 970 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 971 -**Offset** 972 - 973 -**modification** 580 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="18" %)**Devices**|((( 581 +**Offset modification** 974 974 )))|((( 975 -**Pulse** 976 - 977 -**extension** 583 +**Pulse extension** 978 978 ))) 979 -|** 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**980 -|(% rowspan="3" %)DHOUR|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β981 -|Parameter 2| | | | | | | | | | | | | | | | |β|β|β| | | | ||β|β982 -|Parameter 3| |β|β|β|β|| | | |β| | | | | | | | | | | | | ||β|β585 +|**Y**|**M**|**S**|**SM**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 586 +|(% rowspan="3" %)DHOUR|Parameter 1| | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β|β|β 587 +|Parameter 2| | | | | | | | | | | |β|β|β| | | | |β|β 588 +|Parameter 3|β|β|β|β|β| | | | | | | | | | | | | |β|β 983 983 984 984 **Features** 985 985 ... ... @@ -1001,7 +1001,7 @@ 1001 1001 1002 1002 β’ The measurement stops when the current value reaches the 32-bit maximum. To continue the measurement, clear the current value of (d1) to (d1)+2. 1003 1003 1004 -β**Note** 610 +β**Note:** 1005 1005 1006 1006 β’ The device specified in (d1) occupies 3 points. Be careful not to overlap with the device used for machine control. 1007 1007 ... ... @@ -1014,17 +1014,16 @@ 1014 1014 |4086H|When writing the specified device range exceeds the corresponding device range 1015 1015 |4084H|When the value of (s) is negative 1016 1016 1017 - 1018 - 1019 1019 **Example** 1020 1020 1021 -[[image:07-5 Basic instructions_html_3f1ef5ecc835de30.png]] 625 +(% style="text-align:center" %) 626 +[[image:07-5 Basic instructions_html_3f1ef5ecc835de30.png||height="43" width="448"]] 1022 1022 1023 1023 When M0=ON, the duration of this state is accumulated, the time is recorded in D1, D0, and the seconds less than 1 hour are recorded in D2. When the accumulated time of D1, D0 reaches 1000 hours, the Y0 output state is ON. When the timing conditions are met, after reaching the specified value (K1000), the accumulated timing will continue, and the reading will continue to increase; the current time values D1 and D0 reach the maximum value of 2147483647 hours, and when D2 reaches 3599 seconds, the timing measurement will stop and the timing should be restarted. The current time values D0, D1, and D2 must be cleared to 0. 1024 1024 1025 -** {{id name="_Toc11629"/}}STOH/16-bit data conversion of time data (second β hour, minute, second)**630 +== **STOH/16-bit data conversion of time data (second β hour, minute, second)** == 1026 1026 1027 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**STOH(P)**632 +**STOH(P)** 1028 1028 1029 1029 Convert the second 16-bit data stored in the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1030 1030 ... ... @@ -1033,39 +1033,35 @@ 1033 1033 **Content, range and data type** 1034 1034 1035 1035 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1036 -|(s)| {{id name="OLE_LINK353"/}}The device start number that stores the clock data before conversion|0 to 32767|Signed BIN 16 bit|ANY16641 +|(s)|The device start number that stores the clock data before conversion|0 to 32767|Signed BIN 16 bit|ANY16 1037 1037 |(d)|The device start number that stores the converted clock data|-|Signed BIN 16 bit|((( 1038 -ANY16_ARRAY 1039 - 1040 -(number of elements: 3) 643 +ANY16_ARRAY (number of elements: 3) 1041 1041 ))) 1042 1042 1043 1043 **Device used** 1044 1044 1045 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1046 -**Offset** 1047 - 1048 -**modification** 648 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 649 +**Offset modification** 1049 1049 )))|((( 1050 -**Pulse** 1051 - 1052 -**extension** 651 +**Pulse extension** 1053 1053 ))) 1054 -|** 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**1055 -|(% rowspan="2" %)STOH|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| | | | |β|β1056 -|Parameter 2| | | | | | | | | | | |β|β|β|β|β|β|β|β|| | | | |β|β653 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 654 +|(% rowspan="2" %)STOH|Parameter 1|β|β|β|β|β|β|β|β|β|β|β 655 +|Parameter 2| |β|β|β|β|β|β|β|β|β|β 1057 1057 1058 1058 **Features** 1059 1059 1060 1060 Convert the second data stored after the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1061 1061 1062 -[[image:07-5 Basic instructions_html_1f5f3f1d80af2a34.png]] 661 +(% style="text-align:center" %) 662 +[[image:07-5 Basic instructions_html_1f5f3f1d80af2a34.png||height="110" width="550"]] 1063 1063 1064 1064 **Example** 1065 1065 1066 1066 When 29,011 seconds are specified in (s) 1067 1067 1068 -[[image:07-5 Basic instructions_html_682516cbf773f515.png]] 668 +(% style="text-align:center" %) 669 +[[image:07-5 Basic instructions_html_682516cbf773f515.png||height="163" width="550"]] 1069 1069 1070 1070 **Error code** 1071 1071 ... ... @@ -1076,17 +1076,19 @@ 1076 1076 1077 1077 **Example** 1078 1078 1079 -[[image:07-5 Basic instructions_html_e783349d57adf7d2.png]] 680 +(% style="text-align:center" %) 681 +[[image:07-5 Basic instructions_html_e783349d57adf7d2.png||height="47" width="350"]] 1080 1080 1081 1081 Set D0 seconds to 12537 1082 1082 1083 1083 The hour, minute and second of D10 after the M0 coil is turned on are 1084 1084 1085 -[[image:07-5 Basic instructions_html_d3c33949e8684891.png]] 687 +(% style="text-align:center" %) 688 +[[image:07-5 Basic instructions_html_d3c33949e8684891.png||height="52" width="645"]] 1086 1086 1087 - {{id name="_Toc10764"/}}{{id name="_Toc30243"/}}**DSTOH/32-bit data conversion of time data (second β hour, minute, second)**690 +== **DSTOH/32-bit data conversion of time data (second β hour, minute, second)** == 1088 1088 1089 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DSTOH(P)**692 +**DSTOH(P)** 1090 1090 1091 1091 Convert the second 32-bit data of second stored in the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1092 1092 ... ... @@ -1097,37 +1097,33 @@ 1097 1097 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1098 1098 |(s)|The device start number that stores the clock data before conversion|0 to 117964799|Signed BIN 32 bit|ANY32 1099 1099 |(d)|The device start number that stores the converted clock data|-|Signed BIN 16 bit|((( 1100 -ANY16_ARRAY 1101 - 1102 -(number of elements: 3) 703 +ANY16_ARRAY (number of elements: 3) 1103 1103 ))) 1104 1104 1105 1105 **Device used** 1106 1106 1107 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1108 -**Offset** 1109 - 1110 -**modification** 708 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 709 +**Offset modification** 1111 1111 )))|((( 1112 -**Pulse** 1113 - 1114 -**extension** 711 +**Pulse extension** 1115 1115 ))) 1116 -|** 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**1117 -|(% rowspan="2" %)DSTOH|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| | | | |β|β1118 -|Parameter 2| | | | | | | | | | | |β|β|β|β|β|β|β|β|| | | | |β|β713 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 714 +|(% rowspan="2" %)DSTOH|Parameter 1|β|β|β|β|β|β|β|β|β|β|β 715 +|Parameter 2| |β|β|β|β|β|β|β|β|β|β 1119 1119 1120 1120 **Features** 1121 1121 1122 1122 Convert the second data stored after the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1123 1123 1124 -[[image:07-5 Basic instructions_html_cbf13fc3d10fbe61.png]] 721 +(% style="text-align:center" %) 722 +[[image:07-5 Basic instructions_html_cbf13fc3d10fbe61.png||height="99" width="600"]] 1125 1125 1126 1126 **Example** 1127 1127 1128 1128 When 45,325 seconds is specified in (s) 1129 1129 1130 -[[image:07-5 Basic instructions_html_d6045506b13275a0.png]] 728 +(% style="text-align:center" %) 729 +[[image:07-5 Basic instructions_html_d6045506b13275a0.png||height="135" width="600"]] 1131 1131 1132 1132 **Error code** 1133 1133 ... ... @@ -1138,15 +1138,17 @@ 1138 1138 1139 1139 **Example** 1140 1140 1141 -[[image:07-5 Basic instructions_html_e7dd49d953db6da4.png]] 740 +(% style="text-align:center" %) 741 +[[image:07-5 Basic instructions_html_e7dd49d953db6da4.png||height="39" width="316"]] 1142 1142 1143 1143 Set D0 seconds to 2152537 1144 1144 1145 1145 The hour, minute and second of D10 after the M0 coil is turned on are 1146 1146 1147 -[[image:07-5 Basic instructions_html_10d57bde1ac0a218.png]] 747 +(% style="text-align:center" %) 748 +[[image:07-5 Basic instructions_html_10d57bde1ac0a218.png||height="52" width="661"]] 1148 1148 1149 - {{id name="_Toc2937"/}}{{id name="_Toc24209"/}}[[image:07-5Basic instructions_html_11b3991e89e21efc.gif]]**TCMP/Clock data comparison**750 +== **TCMP/Clock data comparison** == 1150 1150 1151 1151 **TCMP(P)** 1152 1152 ... ... @@ -1165,29 +1165,26 @@ 1165 1165 1166 1166 **Device used** 1167 1167 1168 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1169 -**Offset** 1170 - 1171 -**modification** 769 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="17" %)**Devices**|((( 770 +**Offset modification** 1172 1172 )))|((( 1173 -**Pulse** 1174 - 1175 -**extension** 772 +**Pulse extension** 1176 1176 ))) 1177 -|** 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**1178 -|(% rowspan="5" %)TCMP|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β| |β|β1179 -|Parameter 2| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β| |β|β1180 -|Parameter 3| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β| |β|β1181 -|Parameter 4| | | | | | | | | | | | | | |β|β|β|β|β| | | || |β|β1182 -|Parameter 5| |β|β|β|β|| | | |β| | | | | | | | | | | | || |β|β774 +|**Y**|**M**|**S**|**SM**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**E**|**[D]**|**XXP** 775 +|(% rowspan="5" %)TCMP|Parameter 1| | | | | |β|β|β|β|β|β|β|β|β|β|β| |β|β 776 +|Parameter 2| | | | | |β|β|β|β|β|β|β|β|β|β|β| |β|β 777 +|Parameter 3| | | | | |β|β|β|β|β|β|β|β|β|β|β| |β|β 778 +|Parameter 4| | | | | | | | | |β|β|β|β|β| | | |β|β 779 +|Parameter 5|β|β|β|β|β| | | | | | | | | | | | |β|β 1183 1183 1184 1184 **Features** 1185 1185 1186 1186 Compare the time of the reference time (hour, minute, second) [(s1), (s2), (s3)] with the time data (hour, minute, second) [(s4), (s4)+1, (s4) +2] Compare the size and turn on/off the 3 points from (d) according to the result of the same size. 1187 1187 1188 -[[image:07-5 Basic instructions_html_5df7ad3057fada12.png]] 785 +(% style="text-align:center" %) 786 +[[image:07-5 Basic instructions_html_5df7ad3057fada12.png||height="385" width="750"]] 1189 1189 1190 -β**Note** 788 +β**Note:** 1191 1191 1192 1192 The device specified in (s4) and (d) occupies 3 points. Be careful not to overlap with the device used for machine control. 1193 1193 ... ... @@ -1201,26 +1201,29 @@ 1201 1201 |4084H|((( 1202 1202 When the value specified in (s) and (s4) is not in the range of 0 to 23 1203 1203 1204 - {{id name="OLE_LINK355"/}}When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 59802 +When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 59 1205 1205 ))) 1206 1206 1207 1207 **Example** 1208 1208 1209 -[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png]] 807 +(% style="text-align:center" %) 808 +[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png||height="68" width="359"]] 1210 1210 1211 1211 Set D10 to 1, D11 to 30, D12 to 0 1212 1212 1213 1213 When M0 is turned on, the time that D23 will come is 0:31:27 1214 1214 1215 -[[image:07-5 Basic instructions_html_de97dd7a612b2323.png]] 814 +(% style="text-align:center" %) 815 +[[image:07-5 Basic instructions_html_de97dd7a612b2323.png||height="50" width="653"]] 1216 1216 1217 1217 M10 is turned ON 1218 1218 1219 -[[image:07-5 Basic instructions_html_56e2d606adc09fd.png]] 819 +(% style="text-align:center" %) 820 +[[image:07-5 Basic instructions_html_56e2d606adc09fd.png||height="52" width="239"]] 1220 1220 1221 - {{id name="_Toc29031"/}}{{id name="_Toc22923"/}}**TZCP/Clock data bandwidth comparison**822 +== **TZCP/Clock data bandwidth comparison** == 1222 1222 1223 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**TZCP(P)**824 +**TZCP(P)** 1224 1224 1225 1225 Compare the comparison time of the high and low points specified in (s1) and (s2) with the time data specified in (s3), and turn the bit device specified in (d) ON/OFF according to its size and bandwidth. 1226 1226 ... ... @@ -1230,46 +1230,37 @@ 1230 1230 1231 1231 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1232 1232 |(s1)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 1233 -ANY16_ARRAY 1234 - 1235 -(number of elements: 3) 834 +ANY16_ARRAY (number of elements: 3) 1236 1236 ))) 1237 1237 |(s2)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 1238 -ANY16_ARRAY 1239 - 1240 -(number of elements: 3) 837 +ANY16_ARRAY (number of elements: 3) 1241 1241 ))) 1242 1242 |(s3)|Specify "hour" of time data (hour, minute, second)|-|Signed BIN 16 bit|((( 1243 -ANY16_ARRAY 1244 - 1245 -(number of elements: 3) 840 +ANY16_ARRAY (number of elements: 3) 1246 1246 ))) 1247 1247 |(d)|The bit device is turned ON/OFF according to the comparison result.|-|Bit|((( 1248 -ANY16_ARRAY 1249 - 1250 -(number of elements: 3) 843 +ANY16_ARRAY (number of elements: 3) 1251 1251 ))) 1252 1252 1253 1253 **Device used** 1254 1254 1255 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1256 -**Pulse** 1257 - 1258 -**extension** 848 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 849 +**Pulse extension** 1259 1259 ))) 1260 -|** 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**1261 -|(% rowspan="4" %)TZCP|Parameter 1| | | | | | | | | | | | | | |β|β|β|β|β|| | | | |β|β1262 -|Parameter 2| | | | | | | | | | | | | | |β|β|β|β|β|| | | | |β|β1263 -|Parameter 3| | | | | | | | | | | | | | |β|β|β|β|β|| | | | |β|β1264 -|Parameter 4| |β|β|β|β|| | | |β| | | | | || | | | | | | | |β|β851 +|**Y**|**M**|**S**|**SM**|**D.b**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 852 +|(% rowspan="4" %)TZCP|Parameter 1| | | | | |β|β|β|β|β|β|β 853 +|Parameter 2| | | | | |β|β|β|β|β|β|β 854 +|Parameter 3| | | | | |β|β|β|β|β|β|β 855 +|Parameter 4|β|β|β|β|β| | | | | |β|β 1265 1265 1266 1266 **Features** 1267 1267 1268 1268 Compare the comparison time of the high and low points specified in (s1) and (s2) with the time data specified in (s3), and turn the bit device specified in (d) ON/OFF according to its size and bandwidth. 1269 1269 1270 -[[image:07-5 Basic instructions_html_844291270080313d.png]] 861 +(% style="text-align:center" %) 862 +[[image:07-5 Basic instructions_html_844291270080313d.png||height="339" width="750"]] 1271 1271 1272 -β**Note** 864 +β**Note:** 1273 1273 1274 1274 β’ The devices specified in (s1), (s2), (s3), (d) occupy 3 points. Be careful not to overlap with the device used for machine control. 1275 1275 ... ... @@ -1290,27 +1290,32 @@ 1290 1290 1291 1291 **Example** 1292 1292 1293 -[[image:07-5 Basic instructions_html_30027a2387c26c2e.png]] 885 +(% style="text-align:center" %) 886 +[[image:07-5 Basic instructions_html_30027a2387c26c2e.png||height="46" width="439"]] 1294 1294 1295 1295 Set D0 time to 16:30:00 and D10 time to 4:30:0 1296 1296 1297 -[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png]] 890 +(% style="text-align:center" %) 891 +[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png||height="49" width="626"]] 1298 1298 1299 -[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png]] 893 +(% style="text-align:center" %) 894 +[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png||height="50" width="625"]] 1300 1300 1301 1301 After the coil is turned on, the reading time to D20 time is 8:30:00 1302 1302 1303 -[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png]] 898 +(% style="text-align:center" %) 899 +[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png||height="49" width="625"]] 1304 1304 1305 1305 M0/M12 is ON 1306 1306 1307 -[[image:07-5 Basic instructions_html_f512f36261705953.png]] 903 +(% style="text-align:center" %) 904 +[[image:07-5 Basic instructions_html_f512f36261705953.png||height="48" width="218"]] 1308 1308 1309 - {{id name="_Toc6129"/}}[[image:07-5Basic instructions_html_a2e3294e01b2f206.gif]]**7.13Data control instructions**906 += **Data control instructions** = 1310 1310 1311 - {{id name="_Toc3339"/}}{{id name="_Toc27829"/}}{{idname="_Toc9204"/}}**BAND/BIN 16-bit data dead zone control**908 +== **BAND/BIN 16-bit data dead zone control** == 1312 1312 1313 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**BAND(P)**910 +**BAND(P)** 1314 1314 1315 1315 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 limits of the dead zone specified in (s1) and (s2). 1316 1316 ... ... @@ -1326,20 +1326,16 @@ 1326 1326 1327 1327 **Device used** 1328 1328 1329 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1330 -**Offset** 1331 - 1332 -**modification** 926 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|((( 927 +**Offset modification** 1333 1333 )))|((( 1334 -**Pulse** 1335 - 1336 -**extension** 929 +**Pulse extension** 1337 1337 ))) 1338 -|** 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**1339 -|(% rowspan="4" %)BAND|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β1340 -|Parameter 2| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β1341 -|Parameter 3| | | | | | | | | | |β|β|β|β|β|β|β|β|β| | || | |β|β1342 -|Parameter 4| | | | | | | | | | | |β|β|β|β|β|β|β|β| | || | |β|β931 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 932 +|(% rowspan="4" %)BAND|Parameter 1|β|β|β|β|β|β|β|β|β|β|β|β|β 933 +|Parameter 2|β|β|β|β|β|β|β|β|β|β|β|β|β 934 +|Parameter 3|β|β|β|β|β|β|β|β|β| | |β|β 935 +|Parameter 4| |β|β|β|β|β|β|β|β| | |β|β 1343 1343 1344 1344 **Features** 1345 1345 ... ... @@ -1350,7 +1350,6 @@ 1350 1350 |When dead zone high limit (s1) <input value (s3)|Input value (s3)- Dead zone high limit (s2) 1351 1351 |When dead zone low limit (s1) β€ input value (s3) β€ dead zone low limit (s2)|0 1352 1352 1353 - 1354 1354 ((( 1355 1355 β’When the output value stored in (d) is a signed BIN 16-bit value, and the operation result exceeds the range of -32768 to 32767, the situation is shown in the following example. 1356 1356 ... ... @@ -1358,7 +1358,8 @@ 1358 1358 1359 1359 the output value = -32768-10=8000H-000AH=7FFFH=32758. 1360 1360 1361 -[[image:07-5 Basic instructions_html_6850e21a76b813c0.png]] 953 +(% style="text-align:center" %) 954 +[[image:07-5 Basic instructions_html_6850e21a76b813c0.png||height="295" width="550"]] 1362 1362 ))) 1363 1363 1364 1364 **Error code** ... ... @@ -1368,9 +1368,10 @@ 1368 1368 |4086H|When the specified device range for writing exceeds the range of the corresponding device. 1369 1369 |4084H|When the low limit specified in (s1) is greater than the high limit specified in (s2). 1370 1370 1371 -**Example **964 +**Example** 1372 1372 1373 -[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png]] 966 +(% style="text-align:center" %) 967 +[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png||height="49" width="450"]] 1374 1374 1375 1375 When X000 is ON, when D0<(-1,000), the value of ( D0)-(-1,000) is stored in (D1). 1376 1376 ... ... @@ -1378,7 +1378,7 @@ 1378 1378 1379 1379 β’ When D0<1,000, the value of (D0)-1,000 is stored in D1. 1380 1380 1381 - {{id name="_Toc1180"/}}{{id name="_Toc21657"/}}{{idname="_Toc27323"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DBAND/BIN 32-bit data dead zone control**975 +== **DBAND/BIN 32-bit data dead zone control** == 1382 1382 1383 1383 **DBAND(P)** 1384 1384 ... ... @@ -1396,16 +1396,14 @@ 1396 1396 1397 1397 **Device used** 1398 1398 1399 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1400 -**Pulse** 1401 - 1402 -**extension** 993 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 994 +**Pulse extension** 1403 1403 ))) 1404 -|** 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**1405 -|(% rowspan="4" %)DBAND|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β1406 -|Parameter 2| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β1407 -|Parameter 3| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β| | ||β|β1408 -|Parameter 4| | | | | | | | | | | |β|β|β|β|β|β|β|β|β|β| | ||β|β996 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 997 +|(% rowspan="4" %)DBAND|Parameter 1|β|β|β|β|β|β|β|β|β|β|β|β|β|β|β 998 +|Parameter 2|β|β|β|β|β|β|β|β|β|β|β|β|β|β|β 999 +|Parameter 3|β|β|β|β|β|β|β|β|β|β|β| | |β|β 1000 +|Parameter 4| |β|β|β|β|β|β|β|β|β|β| | |β|β 1409 1409 1410 1410 **Features** 1411 1411 ... ... @@ -1412,20 +1412,17 @@ 1412 1412 The input value (BIN 32-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limits of the dead zone specified in (s1) and (s2). The output value is controlled as follows. 1413 1413 1414 1414 |**Condition**|**The value stored in the output value** 1415 -|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)| {{id name="OLE_LINK42"/}}Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1)1416 -|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)| {{id name="OLE_LINK357"/}}Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1)1007 +|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1) 1008 +|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1) 1417 1417 |When dead zone low limit ((s1), (s1)+1) β€ input value ((s3), (s3)+1) β€ dead zone high limit ((s2), (s2)+1)|0 1418 1418 1419 - 1420 1420 ((( 1421 -β’ When the output value stored in (d) 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 as the following example. For example,** Β **When (s1) and (s1)+1 are 1000, (s3) and (s3)+1 are -2,147,483,648, then the output value=1012 +β’ When the output value stored in (d) 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 as the following example. For example,** **When (s1) and (s1)+1 are 1000, (s3) and (s3)+1 are -2,147,483,648, then the output value= 1422 1422 1423 1423 -2,147,483,648-1000=80000000H-000003E8H=7FFFFC18H=2,147,482,648. 1424 1424 1425 -[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png]] 1426 - 1427 - 1428 - 1016 +(% style="text-align:center" %) 1017 +[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png||height="243" width="550"]] 1429 1429 ))) 1430 1430 1431 1431 **Error code** ... ... @@ -1437,7 +1437,8 @@ 1437 1437 1438 1438 **Example** 1439 1439 1440 -[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png]] 1029 +(% style="text-align:center" %) 1030 +[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png||height="42" width="453"]] 1441 1441 1442 1442 β’ When (D1, D0)<(-10,000), the value of (D1, D0)-(-10,000) is stored in (D11, D10). 1443 1443 ... ... @@ -1445,9 +1445,9 @@ 1445 1445 1446 1446 β’ When 10,000< (D1, D0), the value of (D1, D0)-10,000 is stored in D1. 1447 1447 1448 - {{id name="_Toc21668"/}}{{id name="_Toc25056"/}}{{idname="_Toc17582"/}}{{id name="OLE_LINK165"/}}**BINDA/BIN 16-bit data β Decimal ASCII conversion**1038 +== **BINDA/BIN 16-bit data β Decimal ASCII conversion** == 1449 1449 1450 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**BINDA(P)**1040 +**BINDA(P)** 1451 1451 1452 1452 Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1453 1453 ... ... @@ -1461,30 +1461,28 @@ 1461 1461 1462 1462 **Device used** 1463 1463 1464 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1465 -**Pulse** 1466 - 1467 -**extension** 1054 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1055 +**Pulse extension** 1468 1468 ))) 1469 -|** 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**1470 -|(% rowspan="2" %)BINDA|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β1471 -|Parameter 2| | | | | | | | | | | | | | | | |β|β|β| | || | |β|β1057 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1058 +|(% rowspan="2" %)BINDA|Parameter 1|β|β|β|β|β|β|β|β|β|β|β|β|β 1059 +|Parameter 2| | | | | | |β|β|β| | |β|β 1472 1472 1473 1473 **Features** 1474 1474 1475 1475 Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1476 1476 1477 - 1478 - 1479 1479 ((( 1480 -βOnly store 0 when SM191 is OFF 1481 - 1066 +(% style="text-align:center" %) 1482 1482 [[image:07-5 Basic instructions_html_57bda5f08026449d.png]] 1068 + 1069 +βOnly store 0 when SM191 is OFF 1483 1483 ))) 1484 1484 1485 1485 For example, when -12,345 is specified in (s) (in the case of specifying signed) 1486 1486 1487 -[[image:07-5 Basic instructions_html_f346102467b9bef9.png]] 1074 +(% style="text-align:center" %) 1075 +[[image:07-5 Basic instructions_html_f346102467b9bef9.png||height="169" width="850"]] 1488 1488 1489 1489 The calculation result stored in (d) will be as below. 1490 1490 ... ... @@ -1504,19 +1504,20 @@ 1504 1504 1505 1505 **Example** 1506 1506 1095 +(% style="text-align:center" %) 1096 +[[image:07-5 Basic instructions_html_c598806a42484ed.png||height="76" width="300"]] 1507 1507 1508 - 1509 1509 ((( 1510 1510 When X000 is ON, convert the value of 16-bit data (BIN) D1000 into decimal ASCII code, and then use PR instruction to output the 1511 1511 1512 1512 converted ASCII code character by character to the program of Y040 to Y057. 1513 1513 1514 - [[image:07-5Basic instructions_html_c598806a42484ed.png]]1103 + 1515 1515 ))) 1516 1516 1517 - {{id name="_Toc12255"/}}{{id name="_Toc8216"/}}{{idname="_Toc470"/}}**DBINDA/BIN 32-bit data β Decimal ASCII conversion**1106 +== **DBINDA/BIN 32-bit data β Decimal ASCII conversion** == 1518 1518 1519 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DBINDA(P)**1108 +**DBINDA(P)** 1520 1520 1521 1521 Convert the BIN 32-bit data specified in (s) and the value of each bit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1522 1522 ... ... @@ -1526,22 +1526,18 @@ 1526 1526 1527 1527 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1528 1528 |(s)|BIN data for ASCII conversion|-2,147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 1529 -|(d)| {{id name="OLE_LINK2"/}}The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE1118 +|(d)|The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE 1530 1530 1531 1531 **Device used** 1532 1532 1533 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1534 -**Offset** 1535 - 1536 -**modification** 1122 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 1123 +**Offset modification** 1537 1537 )))|((( 1538 -**Pulse** 1539 - 1540 -**extension** 1125 +**Pulse extension** 1541 1541 ))) 1542 -|** 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**1543 -|(% rowspan="2" %)DBINDA|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β1544 -|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| | | | | | |β|β|β| | | | |β|β 1545 1545 1546 1546 **Features** 1547 1547 ... ... @@ -1549,8 +1549,11 @@ 1549 1549 1550 1550 For example, when -12345678 is specified in (s). (in the case of specifying signed) 1551 1551 1552 -[[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]] 1553 1553 1140 + The calculation result stored in (d) will be as below. 1141 + 1554 1554 β’ In "Sign", 20H is stored when the BIN data is positive, and 2DH is stored when it is negative. 1555 1555 1556 1556 β’ 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. ... ... @@ -1567,13 +1567,14 @@ 1567 1567 1568 1568 **Example** 1569 1569 1570 -[[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"]] 1571 1571 1572 1572 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. 1573 1573 1574 - {{id name="_Toc19693"/}}{{id name="_Toc18078"/}}{{idname="_Toc5726"/}}**DABIN/Decimal ASCII β BIN conversion**1163 +== **DABIN/Decimal ASCII β BIN conversion** == 1575 1575 1576 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DABIN(P)**1165 +**DABIN(P)** 1577 1577 1578 1578 Digital ASCII code (30H to 39H) is a instruction to convert real data into BIN data. 1579 1579 ... ... @@ -1587,24 +1587,23 @@ 1587 1587 1588 1588 **Device used** 1589 1589 1590 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1591 -**Pulse** 1592 - 1593 -**extension** 1179 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|**Offset modification**|((( 1180 +**Pulse extension** 1594 1594 ))) 1595 -|** 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**1596 -|(% rowspan="2" %)DABIN|Parameter 1| | | | | | | | | | | | | | | | |β|β|β|| | | | |β|β1597 -|Parameter 2| | | | | | | | | | | |β|β|β|β|β|β|β|β|| | | | |β|β1182 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1183 +|(% rowspan="2" %)DABIN|Parameter 1| | | | | |β|β|β|β|β 1184 +|Parameter 2|β|β|β|β|β|β|β|β|β|β 1598 1598 1599 1599 **Features** 1600 1600 1601 1601 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). 1602 1602 1603 -[[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"]] 1604 1604 1605 1605 |**ASCII S**|**ASCII 10^^0^^**|**ASCII 10^^1^^**|**ASCII 10^^2^^**|**ASCII 10^^3^^**|**ASCII 10^^4^^** 1606 1606 |**ASCII code**|((( 1607 - {{id name="OLE_LINK36"/}}Units of1195 +Units of 1608 1608 1609 1609 ASCII code 1610 1610 )))|((( ... ... @@ -1627,7 +1627,8 @@ 1627 1627 1628 1628 For example, When -25,108 is specified in (s) 1629 1629 1630 -[[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"]] 1631 1631 1632 1632 β’ The ASCII data specified in (s) to (s)+2 is within the range of -32,768 to +32,767. 1633 1633 ... ... @@ -1650,7 +1650,6 @@ 1650 1650 |4085H|The read address of (s) exceeds the device range. 1651 1651 |4086H|The write address of (d) exceeds the device range. 1652 1652 1653 - 1654 1654 ((( 1655 1655 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. 1656 1656 ... ... @@ -1657,11 +1657,12 @@ 1657 1657 **Example** 1658 1658 ))) 1659 1659 1660 -[[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"]] 1661 1661 1662 - {{id name="_Toc3351"/}}{{id name="_Toc26383"/}}{{idname="_Toc26233"/}}**DDABIN/Decimal ASCII β BIN32-bit data conversion**1251 +== **DDABIN/Decimal ASCII β BIN32-bit data conversion** == 1663 1663 1664 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DDABIN(P)**1253 +**DDABIN(P)** 1665 1665 1666 1666 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). 1667 1667 ... ... @@ -1675,31 +1675,31 @@ 1675 1675 1676 1676 **Device used** 1677 1677 1678 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1679 -**Pulse** 1680 - 1681 -**extension** 1267 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1268 +**Pulse extension** 1682 1682 ))) 1683 -|** 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**1684 -|(% rowspan="2" %)DDABIN|Parameter 1| | | | | | | | | | | | | | | | |β|β|β| | || | |β|β1685 -|Parameter 2| | | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|| | |β|β1270 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**[D]**|**XXP** 1271 +|(% rowspan="2" %)DDABIN|Parameter 1| | | | | |β|β|β| | |β|β 1272 +|Parameter 2|β|β|β|β|β|β|β|β|β|β|β|β 1686 1686 1687 1687 **Features** 1688 1688 1689 1689 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). 1690 1690 1691 -[[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"]] 1692 1692 1693 1693 |**ASCII S**|**ASCII code**|**ASCII S**|**ASCII code** 1694 -|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 1695 1695 |ASCII 10^^1^^|Tens of ASCII code|ASCII 10^^6^^|Millions of ASCII code 1696 1696 |ASCII 10^^2^^|Hundreds of ASCII code|ASCII 10^^7^^|Ten millions of ASCII code 1697 -|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 1698 1698 |ASCII 10^^4^^|Tens thousands of ASCII code|ASCII 10^^9^^|billions of ASCII code 1699 1699 1700 1700 When -1234543210 is specified in (s) (When signed is specified) 1701 1701 1702 -[[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"]] 1703 1703 1704 1704 β’ 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. 1705 1705 ... ... @@ -1715,7 +1715,7 @@ 1715 1715 |4084H|((( 1716 1716 When the Sign data exceeds the range of 30H to 39H, 20H, 00H and 2DH; 1717 1717 1718 - {{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; 1719 1719 1720 1720 When the ASCII data specified in (s) to (s)+5 exceeds the range of -2,147,483,648 to +2,147,483,647 1721 1721 ))) ... ... @@ -1724,13 +1724,14 @@ 1724 1724 1725 1725 **Example** 1726 1726 1727 -[[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"]] 1728 1728 1729 1729 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. 1730 1730 1731 - {{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** == 1732 1732 1733 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**LIMIT(P)**1323 +**LIMIT(P)** 1734 1734 1735 1735 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). 1736 1736 ... ... @@ -1746,16 +1746,14 @@ 1746 1746 1747 1747 **Device used** 1748 1748 1749 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1750 -**Pulse** 1751 - 1752 -**extension** 1339 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1340 +**Pulse extension** 1753 1753 ))) 1754 -|** 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**1755 -|(% rowspan="4" %)LIMIT|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β1756 -|Parameter 2| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β1757 -|Parameter 3| | | | | | | | | | |β|β|β|β|β|β|β|β|β| | || | |β|β1758 -|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| |β|β|β|β|β|β|β|β| | |β|β 1759 1759 1760 1760 **Features** 1761 1761 ... ... @@ -1766,13 +1766,13 @@ 1766 1766 |High limit value (s1) <input value (s3)|High limit value (s2) 1767 1767 |Low limit value (s1) β€ input value (s3) β€ high limit value (s2)|Input value (s3) 1768 1768 1769 - 1770 1770 ((( 1771 -β’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). 1772 1772 1773 1773 β’ Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1774 1774 1775 -[[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"]] 1776 1776 ))) 1777 1777 1778 1778 **Error code** ... ... @@ -1784,6 +1784,7 @@ 1784 1784 1785 1785 **Example** 1786 1786 1375 +(% style="text-align:center" %) 1787 1787 [[image:07-5 Basic instructions_html_d67a2e740d4fc738.png]] 1788 1788 1789 1789 When X000 is ON ... ... @@ -1794,9 +1794,9 @@ 1794 1794 1795 1795 β’ When 5,000 <D0, D1 is 5,000. 1796 1796 1797 - {{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** == 1798 1798 1799 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DLIMIT(P)**1388 +**DLIMIT(P)** 1800 1800 1801 1801 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). 1802 1802 ... ... @@ -1812,16 +1812,14 @@ 1812 1812 1813 1813 **Device used** 1814 1814 1815 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1816 -**Pulse** 1817 - 1818 -**extension** 1404 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1405 +**Pulse extension** 1819 1819 ))) 1820 -|** 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**1821 -|(% rowspan="4" %)DLIMIT|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β1822 -|Parameter 2| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β1823 -|Parameter 3| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β| | ||β|β1824 -|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| |β|β|β|β|β|β|β|β|β|β| | |β|β 1825 1825 1826 1826 **Features** 1827 1827 ... ... @@ -1832,7 +1832,7 @@ 1832 1832 |High limit value ((s2), (s2)+1) <input value ((s3), (s3)+1)|High limit value ((s2), (s2)+1) 1833 1833 |Low limit value ((s1), (s1)+1) β€ input value ((s3), (s3)+1) β€ high limit value ((s2), (s2)+1)|Input value ((s3), (s3)+1) 1834 1834 1835 - {{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). 1836 1836 1837 1837 β’ Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1838 1838 ... ... @@ -1845,7 +1845,8 @@ 1845 1845 1846 1846 **Example** 1847 1847 1848 -[[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"]] 1849 1849 1850 1850 Operation: 1851 1851 ... ... @@ -1855,9 +1855,9 @@ 1855 1855 1856 1856 β’ When 1,000,000 <(D1, D0), (D11, D10) is 1,000,000. 1857 1857 1858 - {{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)** == 1859 1859 1860 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**SCL(P)**1448 +**SCL(P)** 1861 1861 1862 1862 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). 1863 1863 ... ... @@ -1872,15 +1872,13 @@ 1872 1872 1873 1873 **Device used** 1874 1874 1875 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1876 -**Pulse** 1877 - 1878 -**extension** 1463 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1464 +**Pulse extension** 1879 1879 ))) 1880 -|** 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**1881 -|(% rowspan="3" %)SCL|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β1882 -|Parameter 2| | | | | | | | | | | | | | | | |β|β|β| | || | |β|β1883 -|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| |β|β|β|β|β|β|β|β| | |β|β 1884 1884 1885 1885 **Features** 1886 1886 ... ... @@ -1896,7 +1896,8 @@ 1896 1896 |(% rowspan="2" %)Point n|X coordinate|(s2)+2n-1 1897 1897 |Y coordinate|(s2)+2n 1898 1898 1899 -[[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"]] 1900 1900 1901 1901 β’ If the operation result is not an integer value, round the first digit below the decimal point. 1902 1902 ... ... @@ -1912,10 +1912,13 @@ 1912 1912 1913 1913 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1914 1914 1915 -[[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"]] 1916 1916 1917 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Sett device and content**|(% rowspan="2" %)**Remarks** 1918 -|(% 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** 1919 1919 |(% colspan="2" %)Coordinate points|(s2)|R0|K10| 1920 1920 |(% rowspan="2" %)Point 1|X coordinate|(s2)+1|R1|K5| 1921 1921 |Y coordinate|(s2)+2|R2|K20| ... ... @@ -1963,6 +1963,7 @@ 1963 1963 1964 1964 **Example** 1965 1965 1556 +(% style="text-align:center" %) 1966 1966 [[image:07-5 Basic instructions_html_5519d7b41f15b6d6.png]] 1967 1967 1968 1968 [[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] When -100 β€ D0(X) < 0, D100(Y)= ... ... @@ -1971,14 +1971,13 @@ 1971 1971 1972 1972 when 0< D0(X) β€ 100, D100(Y)= 1973 1973 1974 -[[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"]] 1975 1975 1568 +== **DSCL/32-bit unit scale (coordinate data of each point)** == 1976 1976 1570 +**DSCL(P)** 1977 1977 1978 -{{id name="_Toc4862"/}}{{id name="_Toc11340"/}}{{id name="_Toc25383"/}}**DSCL/32-bit unit scale (coordinate data of each point)** 1979 - 1980 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL(P)** 1981 - 1982 1982 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). 1983 1983 1984 1984 -[DSCL (s1) (s2) (d)] ... ... @@ -1992,19 +1992,17 @@ 1992 1992 1993 1993 **Device used** 1994 1994 1995 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Device**|**Offset modification**|((( 1996 -**Pulse** 1997 - 1998 -**extension** 1585 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Device**|**Offset modification**|((( 1586 +**Pulse extension** 1999 1999 ))) 2000 -|** 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**2001 -|(% rowspan="3" %)DSCL|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β2002 -|Parameter 2| | | | | | | | | | | | | | | | |β|β|β| | | | ||β|β2003 -|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| |β|β|β|β|β|β|β|β|β|β| | |β|β 2004 2004 2005 2005 **Features** 2006 2006 2007 - {{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). 2008 2008 2009 2009 |(% colspan="2" %)**Set items (n represents the number of coordinate points specified in (s2))**|**Device allocation** 2010 2010 |(% colspan="2" %)Coordinate points|(s2)+1, (s2) ... ... @@ -2016,7 +2016,8 @@ 2016 2016 |(% rowspan="2" %)Point n|X coordinate|(s2)+4n-1, (s2)+4n-2 2017 2017 |Y coordinate|(s2)+4n+1, (s2)+4n 2018 2018 2019 -[[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"]] 2020 2020 2021 2021 β’ If the calculation result is not an integer value, round the first digit below the decimal point. 2022 2022 ... ... @@ -2032,10 +2032,11 @@ 2032 2032 2033 2033 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2034 2034 2035 -[[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"]] 2036 2036 2037 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks**2038 -|(% 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** 2039 2039 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2040 2040 |(% rowspan="2" %)Point 1|X coordinate|(s2)+3, (s2)+2|R3, R2|K5| 2041 2041 |Y coordinate|(s2)+5, (s2)+4|R5, R4|K7| ... ... @@ -2083,7 +2083,8 @@ 2083 2083 2084 2084 **Example** 2085 2085 2086 -[[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"]] 2087 2087 2088 2088 [[image:07-5 Basic instructions_html_1de79c7d87d51f78.gif]] When -100 β€ D0(X) < 0, D100(Y)= 2089 2089 ... ... @@ -2091,11 +2091,12 @@ 2091 2091 2092 2092 When 0 < D0(X) β€ 100, D100(Y)= 2093 2093 2094 -[[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"]] 2095 2095 2096 - {{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)** == 2097 2097 2098 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**SCL2(P)**1690 +**SCL2(P)** 2099 2099 2100 2100 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). 2101 2101 ... ... @@ -2110,15 +2110,13 @@ 2110 2110 2111 2111 **Device used** 2112 2112 2113 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2114 -**Pulse** 2115 - 2116 -**extension** 1705 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1706 +**Pulse extension** 2117 2117 ))) 2118 -|** 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**2119 -|(% rowspan="3" %)SCL2|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β2120 -|Parameter 2| | | | | | | | | | | | | | | | |β|β|β| | || | |β|β2121 -|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| |β|β|β|β|β|β|β|β| | |β|β 2122 2122 2123 2123 **Features** 2124 2124 ... ... @@ -2129,13 +2129,14 @@ 2129 2129 |(% rowspan="4" %)X coordinate|Point 1|(s2)+1 2130 2130 |Point 2|(s2)+2 2131 2131 |.....|...... 2132 -|Point n|(s2)+n2133 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+ n+12134 -|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 2135 2135 |.....|..... 2136 -|Point n|(s2)+2n1726 +|Point N|(s2)+2N 2137 2137 2138 -[[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"]] 2139 2139 2140 2140 β’ If the operation result is not an integer value, round the first digit below the decimal point. 2141 2141 ... ... @@ -2151,7 +2151,8 @@ 2151 2151 2152 2152 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2153 2153 2154 -[[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"]] 2155 2155 2156 2156 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2157 2157 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** ... ... @@ -2200,21 +2200,23 @@ 2200 2200 When the number of start coordinate points of device (s2) is less than 0. 2201 2201 ))) 2202 2202 2203 -**Example** 1795 +**Example** 2204 2204 2205 -[[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"]] 2206 2206 2207 -When -100 β€D0 (X) < 0, D100(Y)= 1800 +When -100 β€D0 (X) < 0, D100(Y)=[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] 2208 2208 2209 - [[image:07-5 Basic instructions_html_9acd6306c6d91847.gif]] when D0(X)=0, D100(Y)=0;1802 +When D0(X)=0, D100(Y)=0; 2210 2210 2211 - 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]],, 2212 2212 2213 -[[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"]] 2214 2214 2215 - {{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)** == 2216 2216 2217 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DSCL2(P)**1811 +**DSCL2(P)** 2218 2218 2219 2219 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). 2220 2220 ... ... @@ -2229,15 +2229,13 @@ 2229 2229 2230 2230 **Device used** 2231 2231 2232 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2233 -**Pulse** 2234 - 2235 -**extension** 1826 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1827 +**Pulse extension** 2236 2236 ))) 2237 -|** 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**2238 -|(% rowspan="3" %)DSCL2|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β2239 -|Parameter 2| | | | | | | | | | | | | | | | |β|β|β| | | | ||β|β2240 -|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| |β|β|β|β|β|β|β|β|β|β| | |β|β 2241 2241 2242 2242 **Features** 2243 2243 ... ... @@ -2248,13 +2248,14 @@ 2248 2248 |(% rowspan="4" %)X coordinate|Point 1|(s2)+3, (s2)+2 2249 2249 |Point 2|(s2)+5, (s2)+4 2250 2250 |.....|...... 2251 -|Point n|(s2)+2n+1, (s2)+2n2252 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2 n+3, (s2)+2n+22253 -|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 2254 2254 |.....|..... 2255 -|Point n|(s2)+4n+1, (s2)+4n1847 +|Point N|(s2)+4N+1, (s2)+4N 2256 2256 2257 -[[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"]] 2258 2258 2259 2259 β’ If the operation result is not an integer value, round the first digit below the decimal point. 2260 2260 ... ... @@ -2270,9 +2270,10 @@ 2270 2270 2271 2271 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2272 2272 2273 -[[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"]] 2274 2274 2275 -|(% 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** 2276 2276 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2277 2277 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2278 2278 |(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5| ... ... @@ -2321,19 +2321,21 @@ 2321 2321 2322 2322 **Example** 2323 2323 1918 +(% style="text-align:center" %) 2324 2324 [[image:07-5 Basic instructions_html_91dbc16faa9d2ec3.png]] 2325 2325 2326 -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]] ,,; 2327 2327 2328 2328 when D0(X)=0, D100(Y)=0; 2329 2329 2330 -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]] ,,. 2331 2331 2332 -[[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"]] 2333 2333 2334 - {{id name="_Toc32057"/}}{{id name="_Toc9941"/}}{{idname="_Toc6492"/}}**ZONE/BIN 16-bit data zone control**1930 +== **ZONE/BIN 16-bit data zone control** == 2335 2335 2336 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**ZONE(P)**1932 +**ZONE(P)** 2337 2337 2338 2338 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). 2339 2339 ... ... @@ -2349,16 +2349,14 @@ 2349 2349 2350 2350 **Device used** 2351 2351 2352 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2353 -**Pulse** 2354 - 2355 -**extension** 1948 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1949 +**Pulse extension** 2356 2356 ))) 2357 -|** 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**2358 -|(% rowspan="4" %)ZONE|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β2359 -|Parameter 2| | | | | | | | | | |β|β|β|β|β|β|β|β|β|| |β|β||β|β2360 -|Parameter 3| | | | | | | | | | |β|β|β|β|β|β|β|β|β| | || | |β|β2361 -|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| |β|β|β|β|β|β|β|β| | |β|β 2362 2362 2363 2363 **Features** 2364 2364 ... ... @@ -2369,7 +2369,6 @@ 2369 2369 |When input value (s3)=0|0 2370 2370 |When input value (s3)>0|Input value (s3) + positive offset value (s2) 2371 2371 2372 - 2373 2373 ((( 2374 2374 β’ 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. 2375 2375 ... ... @@ -2377,10 +2377,8 @@ 2377 2377 2378 2378 the output value = -32768+(-100)=8000H-FF9CH=7F9CH=32668. 2379 2379 2380 -[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png]] 2381 - 2382 - 2383 - 1973 +(% style="text-align:center" %) 1974 +[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png||height="399" width="550"]] 2384 2384 ))) 2385 2385 2386 2386 **Error code** ... ... @@ -2391,6 +2391,7 @@ 2391 2391 2392 2392 **Example** 2393 2393 1985 +(% style="text-align:center" %) 2394 2394 [[image:07-5 Basic instructions_html_5da523c7765bf5be.png]] 2395 2395 2396 2396 When X000 is ON ... ... @@ -2401,9 +2401,9 @@ 2401 2401 2402 2402 β’ When 0<D0, the value of (D0)+(1,000) is stored in D1. 2403 2403 2404 - {{id name="_Toc28351"/}}{{id name="_Toc11023"/}}{{idname="_Toc30269"/}}**DZONE/BIN 32-bit data zone control**1996 +== **DZONE/BIN 32-bit data zone control** == 2405 2405 2406 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]DZONE(P)1998 +DZONE(P) 2407 2407 2408 2408 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). 2409 2409 ... ... @@ -2419,16 +2419,14 @@ 2419 2419 2420 2420 **Device used** 2421 2421 2422 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2423 -**Pulse** 2424 - 2425 -**extension** 2014 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 2015 +**Pulse extension** 2426 2426 ))) 2427 -|** 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**2428 -|(% rowspan="4" %)DZONE|Parameter 1| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β2429 -|Parameter 2| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β|β|β||β|β2430 -|Parameter 3| | | | | | | | | | |β|β|β|β|β|β|β|β|β|β|β| | ||β|β2431 -|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| |β|β|β|β|β|β|β|β|β|β| | |β|β 2432 2432 2433 2433 **Features** 2434 2434 ... ... @@ -2439,12 +2439,12 @@ 2439 2439 |When input value ((s3), (s3)+1)=0|0 2440 2440 |When input value ((s3), (s3)+1)>0|Input value ((s3), (s3)+1) + positive offset value (s2), (s2)+1 2441 2441 2442 - 2443 2443 ((( 2444 2444 β’ 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. 2445 2445 2446 2446 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. 2447 2447 2037 +(% style="text-align:center" %) 2448 2448 [[image:07-5 Basic instructions_html_2f3a96a2565c75c7.png]] 2449 2449 ))) 2450 2450 ... ... @@ -2456,7 +2456,8 @@ 2456 2456 2457 2457 **Example** 2458 2458 2459 -[[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"]] 2460 2460 2461 2461 β’ When (D1, D0)<0, the value of (D1, D0)+(-10,000) is stored in (D11, D10). 2462 2462