Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -12 Clock operation instruction - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -PLC Editor2.1 User manual.2\.1 LX5V user manual. 07.WebHome1 +PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.J im1 +XWiki.Joey - Content
-
... ... @@ -1,3 +1,388 @@ 1 += **Contact comparison instruction** = 2 + 3 +== **Signed 16-bit contact comparison instruction** == 4 + 5 +**LD £, AND £, OR £** 6 + 7 +The BIN 16-bit data of the device specified in (s1) and the BIN 16-bit data of the device specified in (s2) are compared by normal open contact processing. 8 + 9 +LD£: Normally open contact comparison instruction 10 + 11 +AND£: Normally open contact series connection comparison instruction 12 + 13 +OR£: Normally open contact parallel connection comparison instruction 14 + 15 +**Ladder diagram** 16 + 17 +(% style="text-align:center" %) 18 +[[image:07-5 Basic instructions_html_63210db6b7e1512f.png]] 19 + 20 +(You can enter "=", "<>", ">", "<", ">=", "<=" in "£") 21 + 22 +**Content, range and data type** 23 + 24 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 25 +|(s1)|Comparison data or device storing comparison data|-32768 to 32767|Signed BIN 16 bit|ANY16_S 26 +|(s2)|Comparison data or device storing comparison data|-32768 to 32767|Signed BIN 16 bit|ANY16_S 27 + 28 +**Device used** 29 + 30 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|((( 31 +**Offset modification** 32 +)))|((( 33 +**Pulse extension** 34 +))) 35 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 36 +|LD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 37 +|LD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 38 +|LD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 39 +|LD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 40 +|LD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 41 +|LD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 42 +|AND=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 43 +|AND>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 44 +|AND<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 45 +|AND>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 46 +|AND<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 47 +|AND<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 48 +|OR=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 49 +|OR>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 50 +|OR<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 51 +|OR>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 52 +|OR<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 53 +|OR<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●| 54 + 55 +**Features** 56 + 57 +The BIN 16-bit data of the device specified in (s1) and the BIN 16-bit data of the device specified in (s2) are compared by normal open contact processing. 58 + 59 +The comparison operation result of each instruction is shown below. 60 + 61 +|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result** 62 +|==|(s1)=(s2)|(% rowspan="6" %)On state|==|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 63 +|<>|(s1)≠(s2)|<>|(s1)=(s2) 64 +|>|(s1)>(s2)|>|(s1)≤(s2) 65 +|<|(s1)<(s2)|<|(s1)≥(s2) 66 +|>=|(s1)≥(s2)|>=|(s1)<(s2) 67 +|<=|(s1)≤(s2)|<=|(s1)>(s2) 68 + 69 +**Error code** 70 + 71 +|**Error code**|**Content** 72 +|4085H|(s) read address exceeds the device range 73 + 74 +**Example** 75 + 76 +((( 77 +(1) LD£ instruction: 78 + 79 +(% style="text-align:center" %) 80 +[[image:07-5 Basic instructions_html_1309199eccc7134.png]] 81 +))) 82 + 83 +When the current value of counter C10 is 200, Y10 is set 84 + 85 +When the content of D200 is above -29, and X1 is ON, Y11 is set 86 + 87 +(2) AND£ instruction: 88 + 89 +(% style="text-align:center" %) 90 +[[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]] 91 + 92 +((( 93 +When X0 is ON, or when the current value of counter C10 is 200, Y10 is set 94 + 95 +When X1 is OFF, and the content of data counter D0 is not -10, Y11 is set 96 + 97 + 98 +))) 99 + 100 +(3) OR£ instruction: 101 + 102 +(% style="text-align:center" %) 103 +[[image:07-5 Basic instructions_html_8b000809015ea436.png]] 104 + 105 +((( 106 +When X1 is ON, or when the current value of counter C10 is 200, Y0 is set 107 + 108 +When X2 and M30 are ON, or the content of register D100 is K10000 and above, M60 is set 109 +))) 110 + 111 +== **Signed 32-bit contact comparison instruction** == 112 + 113 +**LDD £, ANDD £, ORD £** 114 + 115 +The BIN 32-bit data of the device specified in (s1) and the BIN 32-bit data of the device specified in (s2) are compared by normal open contact processing. 116 + 117 +LDD£: Normally open contact comparison command 118 + 119 +ANDD£: Normally open contact series link comparison instruction 120 + 121 +ORD£: Normally open contact parallel link comparison instruction 122 + 123 +**Ladder diagram** 124 + 125 +(% style="text-align:center" %) 126 +[[image:07-5 Basic instructions_html_63210db6b7e1512f.png]] 127 + 128 +“=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£” 129 + 130 +**Content, range and data type** 131 + 132 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 133 +|(s1)|Comparison data or device storing comparison data|-2147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 134 +|(s2)|Comparison data or device storing comparison data|-2147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 135 + 136 +**Device used** 137 + 138 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 139 +**Offset modification** 140 +)))|((( 141 +**Pulse extension** 142 +))) 143 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 144 +|LDD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 145 +|LDD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 146 +|LDD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 147 +|LDD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 148 +|LDD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 149 +|LDD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 150 +|ANDD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 151 +|ANDD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 152 +|ANDD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 153 +|ANDD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 154 +|ANDD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 155 +|ANDD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 156 +|ORD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 157 +|ORD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 158 +|ORD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 159 +|ORD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 160 +|ORD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 161 +|ORD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 162 + 163 +**Features** 164 + 165 +The BIN 32-bit data of the device specified in (s1) and the BIN 32-bit data of the device specified in (s2) are compared by normal open contact processing. 166 + 167 +The comparison operation result of each instruction is shown below. 168 + 169 +|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result** 170 +|==|(s1)=(s2)|(% rowspan="6" %)On state|==|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 171 +|<>|(s1)≠(s2)|<>|(s1)=(s2) 172 +|>|(s1)>(s2)|>|(s1)≤(s2) 173 +|<|(s1)<(s2)|<|(s1)≥(s2) 174 +|>=|(s1)≥(s2)|>=|(s1)<(s2) 175 +|<=|(s1)≤(s2)|<=|(s1)>(s2) 176 + 177 +**Error code** 178 + 179 +|**Error code**|**Content** 180 +|4085H|(S) read address exceeds the device range 181 + 182 +**Example** 183 + 184 +(1) LDD£ instruction: 185 + 186 +(% style="text-align:center" %) 187 +[[image:07-5 Basic instructions_html_8acf0d489297c561.png]] 188 + 189 +When the data of LC10 is 200000, Y10 is set, otherwise Y10 is reset. 190 + 191 +When the 32-bit data composed of D201 and D200 exceeds -5000, and X1 is ON, Y11 is turned ON. 192 + 193 +(2) ANDD£ instruction: 194 + 195 +(% style="text-align:center" %) 196 +[[image:07-5 Basic instructions_html_38be93eec0ced6c.png]] 197 + 198 +When X0 is ON and the value of LC10 is 200000, Y10 is set, otherwise it is reset. 199 + 200 +When X1 is OFF and the 32-bit data composed of D1 and D0 is not equal to K-50000, Y11 is set. 201 + 202 +(3) ORD£ instruction: 203 + 204 +(% style="text-align:center" %) 205 +[[image:07-5 Basic instructions_html_8ebfc7b0562cf370.png]] 206 + 207 +When X1 is ON, or the data of LC10 is equal to the data of LC10 is equal to 200000, Y0 is set. 208 + 209 +When X2 and M30 are set, or the double word data composed of D101 and D100 is greater than or equal to 100000, M60 is set. 210 + 211 +== **Single precision real number contact comparison instruction** == 212 + 213 +**LDE £, ANDE £, ORE £** 214 + 215 +The single precision real number of the device specified in (s1) and the single precision real number of the device specified in (s2) are compared by normal open contact processing. 216 + 217 +LDE£: Normally open contact comparison command 218 + 219 +ANDE£: Normally open contact series link comparison instruction 220 + 221 +ORE£: Normally open contact parallel link comparison instruction 222 + 223 +**Ladder diagram** 224 + 225 +(% style="text-align:center" %) 226 +[[image:07-5 Basic instructions_html_6ac28f30e24ad296.png||height="352" width="550"]] 227 + 228 +“=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£” 229 + 230 +**Content, range and data type** 231 + 232 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 233 +|(s1)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32 234 +|(s2)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32 235 + 236 +**Device used** 237 + 238 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|((( 239 +**Offset modification** 240 +)))|((( 241 +**Pulse extension** 242 +))) 243 +|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**E**|**[D]**|**XXP** 244 +|LDE=|s1, s2|●|●|●|●|●|●|●|●|●| 245 +|LDE>|s1, s2|●|●|●|●|●|●|●|●|●| 246 +|LDE<|s1, s2|●|●|●|●|●|●|●|●|●| 247 +|LDE>=|s1, s2|●|●|●|●|●|●|●|●|●| 248 +|LDE<=|s1, s2|●|●|●|●|●|●|●|●|●| 249 +|LDE<>|s1, s2|●|●|●|●|●|●|●|●|●| 250 +|ANDE=|s1, s2|●|●|●|●|●|●|●|●|●| 251 +|ANDE>|s1, s2|●|●|●|●|●|●|●|●|●| 252 +|ANDE<|s1, s2|●|●|●|●|●|●|●|●|●| 253 +|ANDE>=|s1, s2|●|●|●|●|●|●|●|●|●| 254 +|ANDE<=|s1, s2|●|●|●|●|●|●|●|●|●| 255 +|ANDE<>|s1, s2|●|●|●|●|●|●|●|●|●| 256 +|ORE=|s1, s2|●|●|●|●|●|●|●|●|●| 257 +|ORD>|s1, s2|●|●|●|●|●|●|●|●|●| 258 +|ORE<|s1, s2|●|●|●|●|●|●|●|●|●| 259 +|ORE>=|s1, s2|●|●|●|●|●|●|●|●|●| 260 +|ORE<=|s1, s2|●|●|●|●|●|●|●|●|●| 261 +|ORE<>|s1, s2|●|●|●|●|●|●|●|●|●| 262 + 263 +**Features** 264 + 265 +The single precision real number of the device specified in (s1) and the single precision real number of the device specified in (s2) are compared by normal open contact processing. 266 + 267 +The comparison operation result of each instruction is shown below. 268 + 269 +|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result** 270 +|E=|(s1)=(s2)|(% rowspan="6" %)On state|E=|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 271 +|E<>|(s1)≠(s2)|E<>|(s1)=(s2) 272 +|E>|(s1)>(s2)|E>|(s1)≤(s2) 273 +|E<|(s1)<(s2)|E<|(s1)≥(s2) 274 +|E>=|(s1)≥(s2)|E>=|(s1)<(s2) 275 +|E<=|(s1)≤(s2)|E<=|(s1)>(s2) 276 + 277 +**Error code** 278 + 279 +|**Error code**|**Content** 280 +|4084H|When the content of the specified device by (s1) and (s2) is an irregular number, a non-number, or ±∞ 281 +|4085H|The read address of (s1) and (s2exceeds the device range 282 + 283 +**Example** 284 + 285 +(1) LDE£ instruction: 286 + 287 +(% style="text-align:center" %) 288 +[[image:07-5 Basic instructions_html_c4c820cf59601493.png]] 289 + 290 +When the real number input in D0 is equal to E1.23, Y10 is ON, otherwise Y10 is OFF. 291 + 292 +When the real number in R0 is greater than or equal to the real number in LC0, Y11 is ON, otherwise it is OFF. 293 + 294 +If the input in D0, R0, LC0 is not a real number, it will report H4084 error. 295 + 296 +(2) ANDE£ instruction: 297 + 298 +(% style="text-align:center" %) 299 +[[image:07-5 Basic instructions_html_7cdd2117360e179b.png]] 300 + 301 +Only when M0 is ON and D2 real number is not equal to E1.23 and R2 real number is less than real number LC2 , Y12 is ON, otherwise all are OFF. 302 + 303 +(3) ORE£ instruction: 304 + 305 +(% style="text-align:center" %) 306 +[[image:07-5 Basic instructions_html_3eba0bd56176441d.png]] 307 + 308 +When the real number of R4 is less than or equal to the real number of R15, or the real number R6 is equal to the real number R20, Y13 is ON, otherwise Y13 is OFF. 309 + 310 +== **String comparison** == 311 + 312 +**LDS£、ANDS£、 ORS£** 313 + 314 +Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2). 315 + 316 +LDS£: String comparison instruction 317 + 318 +ANDS£: String serial connection comparison instruction 319 + 320 +ORS£: String parallel connection comparison instruction 321 + 322 +**Ladder diagram** 323 + 324 +(% style="text-align:center" %) 325 +[[image:07-5 Basic instructions_html_5fb3b3b70645fef5.png||height="371" width="550"]] 326 + 327 +“=” and “<>” could be entered in “£” 328 + 329 +**Content, range and data type** 330 + 331 +|**Parameter**|**Content**|**Range**|**Date type**|**Date type(label)** 332 +|(S1)|Connection data or the device start number storing the data or the string specified directly|-|String|ANYSTRING_SINGLE 333 +|(S1)|Connection data or the device start number storing the data or the string specified directly|-|String|ANYSTRING_SINGLE 334 + 335 +**Device used** 336 + 337 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 338 +**Offset modification** 339 +)))|((( 340 +**Pulse extension** 341 +))) 342 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 343 +|LDS=|s1、s2|●|●|●|●|●|●|●|●|●|●| 344 +|LDS<>|s1、s2|●|●|●|●|●|●|●|●|●|●| 345 +|ANDS=|s1、s2|●|●|●|●|●|●|●|●|●|●| 346 +|ANDS<>|s1、s2|●|●|●|●|●|●|●|●|●|●| 347 +|ORS=|s1、s2|●|●|●|●|●|●|●|●|●|●| 348 +|ORS<>|s1、s2|●|●|●|●|●|●|●|●|●|●| 349 + 350 +**Features** 351 + 352 +• Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2). 353 + 354 +• The comparison operation result of each instruction is shown below. 355 + 356 +|**Instruction sign**|**Condition**|**Comparison operation result**|**Instruction sign**|**Condition**|**Comparison operation result** 357 +|==|(s1)=(s2)|(% rowspan="2" %)On stat|==|(s1)≠(s2)|(% rowspan="2" %)Non-conduction state 358 +|<>|(s1)≠(s2)|<>|(s1)=(s2) 359 + 360 +**Error code** 361 + 362 +|**Error code**|**Content** 363 +|4085H|The read address of (s1) or (s2) exceeds the device range 364 +|408AH|The length of the read string of (s1) or (s2) exceeds, and the continuous length of the string exceeds 400 characters. 365 +|408BH|When (s1) or (s2) reading the string, the maximum range of the device is read but 00H is not found as the end. 366 + 367 +**Example** 368 + 369 +(1) LDS£ instruction: 370 + 371 +(% style="text-align:center" %) 372 +[[image:07-5 Basic instructions_html_449a071f61ff5b58.png]] 373 + 374 +(2) ANDS£ instruction: 375 + 376 +(% style="text-align:center" %) 377 +[[image:07-5 Basic instructions_html_dd6aa995d193bdd2.png]] 378 + 379 +(3) ORS£ instruction: 380 + 381 +(% style="text-align:center" %) 382 +[[image:07-5 Basic instructions_html_4f8fb7c94f87c58d.png]] 383 + 384 += **Clock operation instruction** = 385 + 1 1 == **TADD/The addition of clock data** == 2 2 3 3 **TADD(P)** ... ... @@ -782,10 +782,9 @@ 782 782 783 783 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. 784 784 785 -(% style="text-align:center" %) 786 -[[image:07-5 Basic instructions_html_5df7ad3057fada12.png||height="385" width="750"]] 1170 +[[image:07-5 Basic instructions_html_5df7ad3057fada12.png]] 787 787 788 -✎**Note :**1172 +✎**Note** 789 789 790 790 The device specified in (s4) and (d) occupies 3 points. Be careful not to overlap with the device used for machine control. 791 791 ... ... @@ -799,29 +799,26 @@ 799 799 |4084H|((( 800 800 When the value specified in (s) and (s4) is not in the range of 0 to 23 801 801 802 -When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 59 1186 +{{id name="OLE_LINK355"/}}When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 59 803 803 ))) 804 804 805 805 **Example** 806 806 807 -(% style="text-align:center" %) 808 -[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png||height="68" width="359"]] 1191 +[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png]] 809 809 810 810 Set D10 to 1, D11 to 30, D12 to 0 811 811 812 812 When M0 is turned on, the time that D23 will come is 0:31:27 813 813 814 -(% style="text-align:center" %) 815 -[[image:07-5 Basic instructions_html_de97dd7a612b2323.png||height="50" width="653"]] 1197 +[[image:07-5 Basic instructions_html_de97dd7a612b2323.png]] 816 816 817 817 M10 is turned ON 818 818 819 -(% style="text-align:center" %) 820 -[[image:07-5 Basic instructions_html_56e2d606adc09fd.png||height="52" width="239"]] 1201 +[[image:07-5 Basic instructions_html_56e2d606adc09fd.png]] 821 821 822 -= =**TZCP/Clock data bandwidth comparison**==1203 +{{id name="_Toc29031"/}}{{id name="_Toc22923"/}}**TZCP/Clock data bandwidth comparison** 823 823 824 -**TZCP(P)** 1205 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **TZCP(P)** 825 825 826 826 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. 827 827 ... ... @@ -831,37 +831,46 @@ 831 831 832 832 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 833 833 |(s1)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 834 -ANY16_ARRAY (number of elements: 3) 1215 +ANY16_ARRAY 1216 + 1217 +(number of elements: 3) 835 835 ))) 836 836 |(s2)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 837 -ANY16_ARRAY (number of elements: 3) 1220 +ANY16_ARRAY 1221 + 1222 +(number of elements: 3) 838 838 ))) 839 839 |(s3)|Specify "hour" of time data (hour, minute, second)|-|Signed BIN 16 bit|((( 840 -ANY16_ARRAY (number of elements: 3) 1225 +ANY16_ARRAY 1226 + 1227 +(number of elements: 3) 841 841 ))) 842 842 |(d)|The bit device is turned ON/OFF according to the comparison result.|-|Bit|((( 843 -ANY16_ARRAY (number of elements: 3) 1230 +ANY16_ARRAY 1231 + 1232 +(number of elements: 3) 844 844 ))) 845 845 846 846 **Device used** 847 847 848 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 849 -**Pulse extension** 1237 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1238 +**Pulse** 1239 + 1240 +**extension** 850 850 ))) 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|●|●|●|●|●| | | | | |●|● 1242 +|**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** 1243 +|(% rowspan="4" %)TZCP|Parameter 1| | | | | | | | | | | | | | |●|●|●|●|●| | | | | |●|● 1244 +|Parameter 2| | | | | | | | | | | | | | |●|●|●|●|●| | | | | |●|● 1245 +|Parameter 3| | | | | | | | | | | | | | |●|●|●|●|●| | | | | |●|● 1246 +|Parameter 4| |●|●|●|●| | | | |●| | | | | | | | | | | | | | |●|● 856 856 857 857 **Features** 858 858 859 859 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. 860 860 861 -(% style="text-align:center" %) 862 -[[image:07-5 Basic instructions_html_844291270080313d.png||height="339" width="750"]] 1252 +[[image:07-5 Basic instructions_html_844291270080313d.png]] 863 863 864 -✎**Note :**1254 +✎**Note** 865 865 866 866 • The devices specified in (s1), (s2), (s3), (d) occupy 3 points. Be careful not to overlap with the device used for machine control. 867 867 ... ... @@ -882,32 +882,27 @@ 882 882 883 883 **Example** 884 884 885 -(% style="text-align:center" %) 886 -[[image:07-5 Basic instructions_html_30027a2387c26c2e.png||height="46" width="439"]] 1275 +[[image:07-5 Basic instructions_html_30027a2387c26c2e.png]] 887 887 888 888 Set D0 time to 16:30:00 and D10 time to 4:30:0 889 889 890 -(% style="text-align:center" %) 891 -[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png||height="49" width="626"]] 1279 +[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png]] 892 892 893 -(% style="text-align:center" %) 894 -[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png||height="50" width="625"]] 1281 +[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png]] 895 895 896 896 After the coil is turned on, the reading time to D20 time is 8:30:00 897 897 898 -(% style="text-align:center" %) 899 -[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png||height="49" width="625"]] 1285 +[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png]] 900 900 901 901 M0/M12 is ON 902 902 903 -(% style="text-align:center" %) 904 -[[image:07-5 Basic instructions_html_f512f36261705953.png||height="48" width="218"]] 1289 +[[image:07-5 Basic instructions_html_f512f36261705953.png]] 905 905 906 -= **Data control instructions** =1291 +{{id name="_Toc6129"/}}[[image:07-5 Basic instructions_html_a2e3294e01b2f206.gif]] **7.13 Data control instructions** 907 907 908 -== **BAND/BIN 16-bit data dead zone control** ==1293 +{{id name="_Toc3339"/}}{{id name="_Toc27829"/}}{{id name="_Toc9204"/}}**BAND/BIN 16-bit data dead zone control** 909 909 910 -**BAND(P)** 1295 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **BAND(P)** 911 911 912 912 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). 913 913 ... ... @@ -923,16 +923,20 @@ 923 923 924 924 **Device used** 925 925 926 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|((( 927 -**Offset modification** 1311 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1312 +**Offset** 1313 + 1314 +**modification** 928 928 )))|((( 929 -**Pulse extension** 1316 +**Pulse** 1317 + 1318 +**extension** 930 930 ))) 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| |●|●|●|●|●|●|●|●| | |●|● 1320 +|**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** 1321 +|(% rowspan="4" %)BAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1322 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1323 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 1324 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 936 936 937 937 **Features** 938 938 ... ... @@ -943,6 +943,7 @@ 943 943 |When dead zone high limit (s1) <input value (s3)|Input value (s3)- Dead zone high limit (s2) 944 944 |When dead zone low limit (s1) ≤ input value (s3) ≤ dead zone low limit (s2)|0 945 945 1335 + 946 946 ((( 947 947 •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. 948 948 ... ... @@ -950,8 +950,7 @@ 950 950 951 951 the output value = -32768-10=8000H-000AH=7FFFH=32758. 952 952 953 -(% style="text-align:center" %) 954 -[[image:07-5 Basic instructions_html_6850e21a76b813c0.png||height="295" width="550"]] 1343 +[[image:07-5 Basic instructions_html_6850e21a76b813c0.png]] 955 955 ))) 956 956 957 957 **Error code** ... ... @@ -961,10 +961,9 @@ 961 961 |4086H|When the specified device range for writing exceeds the range of the corresponding device. 962 962 |4084H|When the low limit specified in (s1) is greater than the high limit specified in (s2). 963 963 964 -**Example** 1353 +**Example ** 965 965 966 -(% style="text-align:center" %) 967 -[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png||height="49" width="450"]] 1355 +[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png]] 968 968 969 969 When X000 is ON, when D0<(-1,000), the value of ( D0)-(-1,000) is stored in (D1). 970 970 ... ... @@ -972,7 +972,7 @@ 972 972 973 973 • When D0<1,000, the value of (D0)-1,000 is stored in D1. 974 974 975 -== **DBAND/BIN 32-bit data dead zone control** ==1363 +{{id name="_Toc1180"/}}{{id name="_Toc21657"/}}{{id name="_Toc27323"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DBAND/BIN 32-bit data dead zone control** 976 976 977 977 **DBAND(P)** 978 978 ... ... @@ -990,14 +990,16 @@ 990 990 991 991 **Device used** 992 992 993 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 994 -**Pulse extension** 1381 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1382 +**Pulse** 1383 + 1384 +**extension** 995 995 ))) 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| |●|●|●|●|●|●|●|●|●|●| | |●|● 1386 +|**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** 1387 +|(% rowspan="4" %)DBAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1388 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1389 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|● 1390 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1001 1001 1002 1002 **Features** 1003 1003 ... ... @@ -1004,17 +1004,20 @@ 1004 1004 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. 1005 1005 1006 1006 |**Condition**|**The value stored in the output value** 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) 1397 +|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) 1398 +|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) 1009 1009 |When dead zone low limit ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ dead zone high limit ((s2), (s2)+1)|0 1010 1010 1401 + 1011 1011 ((( 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,** 1403 +• 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= 1013 1013 1014 1014 -2,147,483,648-1000=80000000H-000003E8H=7FFFFC18H=2,147,482,648. 1015 1015 1016 -(% style="text-align:center" %) 1017 -[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png||height="243" width="550"]] 1407 +[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png]] 1408 + 1409 + 1410 + 1018 1018 ))) 1019 1019 1020 1020 **Error code** ... ... @@ -1026,8 +1026,7 @@ 1026 1026 1027 1027 **Example** 1028 1028 1029 -(% style="text-align:center" %) 1030 -[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png||height="42" width="453"]] 1422 +[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png]] 1031 1031 1032 1032 • When (D1, D0)<(-10,000), the value of (D1, D0)-(-10,000) is stored in (D11, D10). 1033 1033 ... ... @@ -1035,9 +1035,9 @@ 1035 1035 1036 1036 • When 10,000< (D1, D0), the value of (D1, D0)-10,000 is stored in D1. 1037 1037 1038 -== **BINDA/BIN 16-bit data → Decimal ASCII conversion** ==1430 +{{id name="_Toc21668"/}}{{id name="_Toc25056"/}}{{id name="_Toc17582"/}}{{id name="OLE_LINK165"/}}**BINDA/BIN 16-bit data → Decimal ASCII conversion** 1039 1039 1040 -**BINDA(P)** 1432 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **BINDA(P)** 1041 1041 1042 1042 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). 1043 1043 ... ... @@ -1051,28 +1051,30 @@ 1051 1051 1052 1052 **Device used** 1053 1053 1054 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1055 -**Pulse extension** 1446 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1447 +**Pulse** 1448 + 1449 +**extension** 1056 1056 ))) 1057 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1058 -|(% rowspan="2" %)BINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1059 -|Parameter 2| | | | | | |●|●|●| | |●|● 1451 +|**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** 1452 +|(% rowspan="2" %)BINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1453 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1060 1060 1061 1061 **Features** 1062 1062 1063 1063 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). 1064 1064 1065 -((( 1066 -(% style="text-align:center" %) 1067 -[[image:07-5 Basic instructions_html_57bda5f08026449d.png]] 1068 1068 1460 + 1461 +((( 1069 1069 ←Only store 0 when SM191 is OFF 1463 + 1464 +[[image:07-5 Basic instructions_html_57bda5f08026449d.png]] 1070 1070 ))) 1071 1071 1072 1072 For example, when -12,345 is specified in (s) (in the case of specifying signed) 1073 1073 1074 -(% style="text-align:center" %) 1075 -[[image:07-5 Basic instructions_html_f346102467b9bef9.png||height="169" width="850"]] 1469 +[[image:07-5 Basic instructions_html_f346102467b9bef9.png]] 1076 1076 1077 1077 The calculation result stored in (d) will be as below. 1078 1078 ... ... @@ -1092,20 +1092,19 @@ 1092 1092 1093 1093 **Example** 1094 1094 1095 -(% style="text-align:center" %) 1096 -[[image:07-5 Basic instructions_html_c598806a42484ed.png||height="76" width="300"]] 1097 1097 1490 + 1098 1098 ((( 1099 1099 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 1100 1100 1101 1101 converted ASCII code character by character to the program of Y040 to Y057. 1102 1102 1103 - 1496 +[[image:07-5 Basic instructions_html_c598806a42484ed.png]] 1104 1104 ))) 1105 1105 1106 -== **DBINDA/BIN 32-bit data → Decimal ASCII conversion** ==1499 +{{id name="_Toc12255"/}}{{id name="_Toc8216"/}}{{id name="_Toc470"/}}**DBINDA/BIN 32-bit data → Decimal ASCII conversion** 1107 1107 1108 -**DBINDA(P)** 1501 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DBINDA(P)** 1109 1109 1110 1110 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). 1111 1111 ... ... @@ -1115,18 +1115,22 @@ 1115 1115 1116 1116 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1117 1117 |(s)|BIN data for ASCII conversion|-2,147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 1118 -|(d)|The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE 1511 +|(d)|{{id name="OLE_LINK2"/}}The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE 1119 1119 1120 1120 **Device used** 1121 1121 1122 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 1123 -**Offset modification** 1515 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1516 +**Offset** 1517 + 1518 +**modification** 1124 1124 )))|((( 1125 -**Pulse extension** 1520 +**Pulse** 1521 + 1522 +**extension** 1126 1126 ))) 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| | | | | | |●|●|●| | | | |●|● 1524 +|**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** 1525 +|(% rowspan="2" %)DBINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1526 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1130 1130 1131 1131 **Features** 1132 1132 ... ... @@ -1134,11 +1134,8 @@ 1134 1134 1135 1135 For example, when -12345678 is specified in (s). (in the case of specifying signed) 1136 1136 1137 -(% style="text-align:center" %) 1138 -[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] 1534 +[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] The calculation result stored in (d) will be as below. 1139 1139 1140 - The calculation result stored in (d) will be as below. 1141 - 1142 1142 • In "Sign", 20H is stored when the BIN data is positive, and 2DH is stored when it is negative. 1143 1143 1144 1144 • 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. ... ... @@ -1155,14 +1155,13 @@ 1155 1155 1156 1156 **Example** 1157 1157 1158 -(% style="text-align:center" %) 1159 -[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png||height="59" width="300"]] 1552 +[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png]] 1160 1160 1161 1161 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. 1162 1162 1163 -== **DABIN/Decimal ASCII → BIN conversion** ==1556 +{{id name="_Toc19693"/}}{{id name="_Toc18078"/}}{{id name="_Toc5726"/}}**DABIN/Decimal ASCII → BIN conversion** 1164 1164 1165 -**DABIN(P)** 1558 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DABIN(P)** 1166 1166 1167 1167 Digital ASCII code (30H to 39H) is a instruction to convert real data into BIN data. 1168 1168 ... ... @@ -1176,23 +1176,24 @@ 1176 1176 1177 1177 **Device used** 1178 1178 1179 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|**Offset modification**|((( 1180 -**Pulse extension** 1572 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1573 +**Pulse** 1574 + 1575 +**extension** 1181 1181 ))) 1182 -|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1183 -|(% rowspan="2" %)DABIN|Parameter 1| | | | | |●|●|●|●|● 1184 -|Parameter 2|●|●|●|●|●|●|●|●|●|● 1577 +|**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** 1578 +|(% rowspan="2" %)DABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1579 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1185 1185 1186 1186 **Features** 1187 1187 1188 1188 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). 1189 1189 1190 -(% style="text-align:center" %) 1191 -[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png||height="273" width="750"]] 1585 +[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png]] 1192 1192 1193 1193 |**ASCII S**|**ASCII 10^^0^^**|**ASCII 10^^1^^**|**ASCII 10^^2^^**|**ASCII 10^^3^^**|**ASCII 10^^4^^** 1194 1194 |**ASCII code**|((( 1195 -Units of 1589 +{{id name="OLE_LINK36"/}}Units of 1196 1196 1197 1197 ASCII code 1198 1198 )))|((( ... ... @@ -1215,8 +1215,7 @@ 1215 1215 1216 1216 For example, When -25,108 is specified in (s) 1217 1217 1218 -(% style="text-align:center" %) 1219 -[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png||height="123" width="750"]] 1612 +[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png]] 1220 1220 1221 1221 • The ASCII data specified in (s) to (s)+2 is within the range of -32,768 to +32,767. 1222 1222 ... ... @@ -1239,6 +1239,7 @@ 1239 1239 |4085H|The read address of (s) exceeds the device range. 1240 1240 |4086H|The write address of (d) exceeds the device range. 1241 1241 1635 + 1242 1242 ((( 1243 1243 When X000 is ON, the Signs set in D20 to D22 and the ASCII code data of 5-digit decimal numbers are converted into BIN values, and then stored in the program of D0. 1244 1244 ... ... @@ -1245,12 +1245,11 @@ 1245 1245 **Example** 1246 1246 ))) 1247 1247 1248 -(% style="text-align:center" %) 1249 -[[image:07-5 Basic instructions_html_bec2bea131b58c03.png||height="55" width="300"]] 1642 +[[image:07-5 Basic instructions_html_bec2bea131b58c03.png]] 1250 1250 1251 -== **DDABIN/Decimal ASCII → BIN32-bit data conversion** ==1644 +{{id name="_Toc3351"/}}{{id name="_Toc26383"/}}{{id name="_Toc26233"/}}**DDABIN/Decimal ASCII → BIN32-bit data conversion** 1252 1252 1253 -**DDABIN(P)** 1646 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DDABIN(P)** 1254 1254 1255 1255 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). 1256 1256 ... ... @@ -1264,31 +1264,31 @@ 1264 1264 1265 1265 **Device used** 1266 1266 1267 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1268 -**Pulse extension** 1660 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1661 +**Pulse** 1662 + 1663 +**extension** 1269 1269 ))) 1270 -|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**[D]**|**XXP** 1271 -|(% rowspan="2" %)DDABIN|Parameter 1| | | | | |●|●|●| | |●|● 1272 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|● 1665 +|**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** 1666 +|(% rowspan="2" %)DDABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1667 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1273 1273 1274 1274 **Features** 1275 1275 1276 1276 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). 1277 1277 1278 -(% style="text-align:center" %) 1279 -[[image:07-5 Basic instructions_html_c444110b273f33b7.gif||height="193" width="800"]] 1673 +[[image:07-5 Basic instructions_html_c444110b273f33b7.gif]] 1280 1280 1281 1281 |**ASCII S**|**ASCII code**|**ASCII S**|**ASCII code** 1282 -|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|Hundred thousands of ASCII code 1676 +|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|{{id name="OLE_LINK38"/}}Hundred thousands of ASCII code 1283 1283 |ASCII 10^^1^^|Tens of ASCII code|ASCII 10^^6^^|Millions of ASCII code 1284 1284 |ASCII 10^^2^^|Hundreds of ASCII code|ASCII 10^^7^^|Ten millions of ASCII code 1285 -|ASCII 10^^3^^|Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1679 +|ASCII 10^^3^^|{{id name="OLE_LINK37"/}}Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1286 1286 |ASCII 10^^4^^|Tens thousands of ASCII code|ASCII 10^^9^^|billions of ASCII code 1287 1287 1288 1288 When -1234543210 is specified in (s) (When signed is specified) 1289 1289 1290 -(% style="text-align:center" %) 1291 -[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png||height="230" width="800"]] 1684 +[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png]] 1292 1292 1293 1293 • 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. 1294 1294 ... ... @@ -1304,7 +1304,7 @@ 1304 1304 |4084H|((( 1305 1305 When the Sign data exceeds the range of 30H to 39H, 20H, 00H and 2DH; 1306 1306 1307 -When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H; 1700 +{{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; 1308 1308 1309 1309 When the ASCII data specified in (s) to (s)+5 exceeds the range of -2,147,483,648 to +2,147,483,647 1310 1310 ))) ... ... @@ -1313,14 +1313,13 @@ 1313 1313 1314 1314 **Example** 1315 1315 1316 -(% style="text-align:center" %) 1317 -[[image:07-5 Basic instructions_html_feea438c943ea9dd.png||height="34" width="300"]] 1709 +[[image:07-5 Basic instructions_html_feea438c943ea9dd.png]] 1318 1318 1319 1319 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. 1320 1320 1321 -== **LIMIT/ BIN 16-bit data high and low limit control** ==1713 +{{id name="_Toc26556"/}}{{id name="_Toc12799"/}}{{id name="_Toc23863"/}}**LIMIT/ BIN 16-bit data high and low limit control** 1322 1322 1323 -**LIMIT(P)** 1715 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **LIMIT(P)** 1324 1324 1325 1325 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). 1326 1326 ... ... @@ -1336,14 +1336,16 @@ 1336 1336 1337 1337 **Device used** 1338 1338 1339 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1340 -**Pulse extension** 1731 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1732 +**Pulse** 1733 + 1734 +**extension** 1341 1341 ))) 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| |●|●|●|●|●|●|●|●| | |●|● 1736 +|**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** 1737 +|(% rowspan="4" %)LIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1738 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1739 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 1740 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1347 1347 1348 1348 **Features** 1349 1349 ... ... @@ -1354,13 +1354,13 @@ 1354 1354 |High limit value (s1) <input value (s3)|High limit value (s2) 1355 1355 |Low limit value (s1) ≤ input value (s3) ≤ high limit value (s2)|Input value (s3) 1356 1356 1751 + 1357 1357 ((( 1358 -• 1753 +•Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1359 1359 1360 1360 • Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1361 1361 1362 -(% style="text-align:center" %) 1363 -[[image:07-5 Basic instructions_html_50eb5229b027aa14.png||height="297" width="550"]] 1757 +[[image:07-5 Basic instructions_html_50eb5229b027aa14.png]] 1364 1364 ))) 1365 1365 1366 1366 **Error code** ... ... @@ -1372,7 +1372,6 @@ 1372 1372 1373 1373 **Example** 1374 1374 1375 -(% style="text-align:center" %) 1376 1376 [[image:07-5 Basic instructions_html_d67a2e740d4fc738.png]] 1377 1377 1378 1378 When X000 is ON ... ... @@ -1383,9 +1383,9 @@ 1383 1383 1384 1384 • When 5,000 <D0, D1 is 5,000. 1385 1385 1386 -== **DLIMIT/BIN 32-bit data high and low limit control** ==1779 +{{id name="_Toc32553"/}}{{id name="_Toc9981"/}}{{id name="_Toc9158"/}}**DLIMIT/BIN 32-bit data high and low limit control** 1387 1387 1388 -**DLIMIT(P)** 1781 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DLIMIT(P)** 1389 1389 1390 1390 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). 1391 1391 ... ... @@ -1401,14 +1401,16 @@ 1401 1401 1402 1402 **Device used** 1403 1403 1404 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1405 -**Pulse extension** 1797 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1798 +**Pulse** 1799 + 1800 +**extension** 1406 1406 ))) 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| |●|●|●|●|●|●|●|●|●|●| | |●|● 1802 +|**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** 1803 +|(% rowspan="4" %)DLIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1804 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1805 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|● 1806 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1412 1412 1413 1413 **Features** 1414 1414 ... ... @@ -1419,7 +1419,7 @@ 1419 1419 |High limit value ((s2), (s2)+1) <input value ((s3), (s3)+1)|High limit value ((s2), (s2)+1) 1420 1420 |Low limit value ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ high limit value ((s2), (s2)+1)|Input value ((s3), (s3)+1) 1421 1421 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).1817 +{{id name="OLE_LINK43"/}}{{id name="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). 1423 1423 1424 1424 • Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1425 1425 ... ... @@ -1432,8 +1432,7 @@ 1432 1432 1433 1433 **Example** 1434 1434 1435 -(% style="text-align:center" %) 1436 -[[image:07-5 Basic instructions_html_217355b90f4b4e16.png||height="53" width="400"]] 1830 +[[image:07-5 Basic instructions_html_217355b90f4b4e16.png]] 1437 1437 1438 1438 Operation: 1439 1439 ... ... @@ -1443,9 +1443,9 @@ 1443 1443 1444 1444 • When 1,000,000 <(D1, D0), (D11, D10) is 1,000,000. 1445 1445 1446 -== **SCL/BIN 16-bit unit scale (coordinate data of each point)** ==1840 +{{id name="_Toc12534"/}}{{id name="_Toc28213"/}}{{id name="_Toc24591"/}}**SCL/BIN 16-bit unit scale (coordinate data of each point)** 1447 1447 1448 -**SCL(P)** 1842 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **SCL(P)** 1449 1449 1450 1450 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). 1451 1451 ... ... @@ -1460,13 +1460,15 @@ 1460 1460 1461 1461 **Device used** 1462 1462 1463 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1464 -**Pulse extension** 1857 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1858 +**Pulse** 1859 + 1860 +**extension** 1465 1465 ))) 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| |●|●|●|●|●|●|●|●| | |●|● 1862 +|**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** 1863 +|(% rowspan="3" %)SCL|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1864 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1865 +|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1470 1470 1471 1471 **Features** 1472 1472 ... ... @@ -1482,8 +1482,7 @@ 1482 1482 |(% rowspan="2" %)Point n|X coordinate|(s2)+2n-1 1483 1483 |Y coordinate|(s2)+2n 1484 1484 1485 -(% style="text-align:center" %) 1486 -[[image:07-5 Basic instructions_html_80185ccddb878234.png||height="422" width="750"]] 1881 +[[image:07-5 Basic instructions_html_80185ccddb878234.png]] 1487 1487 1488 1488 • If the operation result is not an integer value, round the first digit below the decimal point. 1489 1489 ... ... @@ -1499,13 +1499,10 @@ 1499 1499 1500 1500 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1501 1501 1502 -(% style="text-align:center" %) 1503 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 1897 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1504 1504 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** 1899 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Sett device and content**|(% rowspan="2" %)**Remarks** 1900 +|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1509 1509 |(% colspan="2" %)Coordinate points|(s2)|R0|K10| 1510 1510 |(% rowspan="2" %)Point 1|X coordinate|(s2)+1|R1|K5| 1511 1511 |Y coordinate|(s2)+2|R2|K20| ... ... @@ -1553,7 +1553,6 @@ 1553 1553 1554 1554 **Example** 1555 1555 1556 -(% style="text-align:center" %) 1557 1557 [[image:07-5 Basic instructions_html_5519d7b41f15b6d6.png]] 1558 1558 1559 1559 [[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] When -100 ≤ D0(X) < 0, D100(Y)= ... ... @@ -1562,13 +1562,14 @@ 1562 1562 1563 1563 when 0< D0(X) ≤ 100, D100(Y)= 1564 1564 1565 -(% style="text-align:center" %) 1566 -[[image:07-5 Basic instructions_html_e35e13160c08a133.png||height="362" width="550"]] 1956 +[[image:07-5 Basic instructions_html_e35e13160c08a133.png]] 1567 1567 1568 -== **DSCL/32-bit unit scale (coordinate data of each point)** == 1569 1569 1570 -**DSCL(P)** 1571 1571 1960 +{{id name="_Toc4862"/}}{{id name="_Toc11340"/}}{{id name="_Toc25383"/}}**DSCL/32-bit unit scale (coordinate data of each point)** 1961 + 1962 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL(P)** 1963 + 1572 1572 The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device specified in (d). 1573 1573 1574 1574 -[DSCL (s1) (s2) (d)] ... ... @@ -1582,17 +1582,19 @@ 1582 1582 1583 1583 **Device used** 1584 1584 1585 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Device**|**Offset modification**|((( 1586 -**Pulse extension** 1977 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Device**|**Offset modification**|((( 1978 +**Pulse** 1979 + 1980 +**extension** 1587 1587 ))) 1588 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1589 -|(% rowspan="3" %)DSCL|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1590 -|Parameter 2| | | | | | |●|●|●| | | | |●|● 1591 -|Parameter 3| |●|●|●|●|●|●|●|●|●|●| | |●|● 1982 +|**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** 1983 +|(% rowspan="3" %)DSCL|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1984 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1985 +|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1592 1592 1593 1593 **Features** 1594 1594 1595 -The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device number specified in (d). The scale conversion is performed based on the scale conversion data stored after the device specified in (s2). 1989 +{{id name="OLE_LINK41"/}}The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device number specified in (d). The scale conversion is performed based on the scale conversion data stored after the device specified in (s2). 1596 1596 1597 1597 |(% colspan="2" %)**Set items (n represents the number of coordinate points specified in (s2))**|**Device allocation** 1598 1598 |(% colspan="2" %)Coordinate points|(s2)+1, (s2) ... ... @@ -1604,8 +1604,7 @@ 1604 1604 |(% rowspan="2" %)Point n|X coordinate|(s2)+4n-1, (s2)+4n-2 1605 1605 |Y coordinate|(s2)+4n+1, (s2)+4n 1606 1606 1607 -(% style="text-align:center" %) 1608 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 2001 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 1609 1609 1610 1610 • If the calculation result is not an integer value, round the first digit below the decimal point. 1611 1611 ... ... @@ -1621,11 +1621,10 @@ 1621 1621 1622 1622 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1623 1623 1624 -(% style="text-align:center" %) 1625 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2017 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1626 1626 1627 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 1628 -|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2019 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2020 +|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1629 1629 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 1630 1630 |(% rowspan="2" %)Point 1|X coordinate|(s2)+3, (s2)+2|R3, R2|K5| 1631 1631 |Y coordinate|(s2)+5, (s2)+4|R5, R4|K7| ... ... @@ -1673,8 +1673,7 @@ 1673 1673 1674 1674 **Example** 1675 1675 1676 -(% style="text-align:center" %) 1677 -[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png||height="272" width="404"]] 2068 +[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png]] 1678 1678 1679 1679 [[image:07-5 Basic instructions_html_1de79c7d87d51f78.gif]] When -100 ≤ D0(X) < 0, D100(Y)= 1680 1680 ... ... @@ -1682,12 +1682,11 @@ 1682 1682 1683 1683 When 0 < D0(X) ≤ 100, D100(Y)= 1684 1684 1685 -(% style="text-align:center" %) 1686 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2076 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1687 1687 1688 -== **SCL2/BIN 16-bit unit scale (X/Y coordinate data)** ==2078 +{{id name="_Toc3776"/}}{{id name="_Toc11170"/}}{{id name="_Toc2957"/}}**SCL2/BIN 16-bit unit scale (X/Y coordinate data)** 1689 1689 1690 -**SCL2(P)** 2080 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **SCL2(P)** 1691 1691 1692 1692 The conversion data (16-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device specified in (d). 1693 1693 ... ... @@ -1702,13 +1702,15 @@ 1702 1702 1703 1703 **Device used** 1704 1704 1705 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1706 -**Pulse extension** 2095 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2096 +**Pulse** 2097 + 2098 +**extension** 1707 1707 ))) 1708 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1709 -|(% rowspan="3" %)SCL2|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1710 -|Parameter 2| | | | | | |●|●|●| | |●|● 1711 -|Parameter 3| |●|●|●|●|●|●|●|●| | |●|● 2100 +|**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** 2101 +|(% rowspan="3" %)SCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 2102 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 2103 +|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1712 1712 1713 1713 **Features** 1714 1714 ... ... @@ -1719,14 +1719,13 @@ 1719 1719 |(% rowspan="4" %)X coordinate|Point 1|(s2)+1 1720 1720 |Point 2|(s2)+2 1721 1721 |.....|...... 1722 -|Point N|(s2)+N1723 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+ N+11724 -|Point 2|(s2)+ N+22114 +|Point n|(s2)+n 2115 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+n+1 2116 +|Point 2|(s2)+n+2 1725 1725 |.....|..... 1726 -|Point N|(s2)+2N2118 +|Point n|(s2)+2n 1727 1727 1728 -(% style="text-align:center" %) 1729 -[[image:07-5 Basic instructions_html_80185ccddb878234.png||height="422" width="750"]] 2120 +[[image:07-5 Basic instructions_html_80185ccddb878234.png]] 1730 1730 1731 1731 • If the operation result is not an integer value, round the first digit below the decimal point. 1732 1732 ... ... @@ -1742,8 +1742,7 @@ 1742 1742 1743 1743 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1744 1744 1745 -(% style="text-align:center" %) 1746 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2136 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1747 1747 1748 1748 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 1749 1749 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** ... ... @@ -1792,23 +1792,21 @@ 1792 1792 When the number of start coordinate points of device (s2) is less than 0. 1793 1793 ))) 1794 1794 1795 -**Example** 2185 +**Example** 1796 1796 1797 -(% style="text-align:center" %) 1798 -[[image:07-5 Basic instructions_html_de529c9a16a62ef0.png||height="316" width="400"]] 2187 +[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] [[image:07-5 Basic instructions_html_de529c9a16a62ef0.png]] 1799 1799 1800 -When -100 ≤D0 (X) < 0, D100(Y)= [[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]]2189 +When -100 ≤D0 (X) < 0, D100(Y)= 1801 1801 1802 - When D0(X)=0, D100(Y)=0;2191 +[[image:07-5 Basic instructions_html_9acd6306c6d91847.gif]] when D0(X)=0, D100(Y)=0; 1803 1803 1804 - When 0 < D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]][[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]],,2193 +when 0 < D0(X) ≤ 100, D100(Y)= 1805 1805 1806 -(% style="text-align:center" %) 1807 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2195 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1808 1808 1809 -== **DSCL2/BIN 32-bit unit scale (X/Y coordinate data)** ==2197 +{{id name="_Toc5608"/}}{{id name="_Toc1756"/}}{{id name="_Toc21402"/}}**DSCL2/BIN 32-bit unit scale (X/Y coordinate data)** 1810 1810 1811 -**DSCL2(P)** 2199 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL2(P)** 1812 1812 1813 1813 The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device specified in (d). 1814 1814 ... ... @@ -1823,13 +1823,15 @@ 1823 1823 1824 1824 **Device used** 1825 1825 1826 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1827 -**Pulse extension** 2214 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2215 +**Pulse** 2216 + 2217 +**extension** 1828 1828 ))) 1829 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1830 -|(% rowspan="3" %)DSCL2|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1831 -|Parameter 2| | | | | | |●|●|●| | | | |●|● 1832 -|Parameter 3| |●|●|●|●|●|●|●|●|●|●| | |●|● 2219 +|**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** 2220 +|(% rowspan="3" %)DSCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 2221 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 2222 +|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1833 1833 1834 1834 **Features** 1835 1835 ... ... @@ -1840,14 +1840,13 @@ 1840 1840 |(% rowspan="4" %)X coordinate|Point 1|(s2)+3, (s2)+2 1841 1841 |Point 2|(s2)+5, (s2)+4 1842 1842 |.....|...... 1843 -|Point N|(s2)+2N+1, (s2)+2N1844 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2 N+3, (s2)+2N+21845 -|Point 2|(s2)+2 N+5, (s2)+2N+42233 +|Point n|(s2)+2n+1, (s2)+2n 2234 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2n+3, (s2)+2n+2 2235 +|Point 2|(s2)+2n+5, (s2)+2n+4 1846 1846 |.....|..... 1847 -|Point N|(s2)+4N+1, (s2)+4N2237 +|Point n|(s2)+4n+1, (s2)+4n 1848 1848 1849 -(% style="text-align:center" %) 1850 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 2239 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 1851 1851 1852 1852 • If the operation result is not an integer value, round the first digit below the decimal point. 1853 1853 ... ... @@ -1863,10 +1863,9 @@ 1863 1863 1864 1864 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1865 1865 1866 -(% style="text-align:center" %) 1867 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2255 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1868 1868 1869 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2257 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 1870 1870 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1871 1871 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 1872 1872 |(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5| ... ... @@ -1915,21 +1915,19 @@ 1915 1915 1916 1916 **Example** 1917 1917 1918 -(% style="text-align:center" %) 1919 1919 [[image:07-5 Basic instructions_html_91dbc16faa9d2ec3.png]] 1920 1920 1921 -When -100 ≤D0(X) < 0, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]] [[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]],,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,;2308 +When -100 ≤D0(X) < 0, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]],,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,; 1922 1922 1923 1923 when D0(X)=0, D100(Y)=0; 1924 1924 1925 -when 0< D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]] [[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,.2312 +when 0< D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,. 1926 1926 1927 -(% style="text-align:center" %) 1928 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2314 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 1929 1929 1930 -== **ZONE/BIN 16-bit data zone control** ==2316 +{{id name="_Toc32057"/}}{{id name="_Toc9941"/}}{{id name="_Toc6492"/}}**ZONE/BIN 16-bit data zone control** 1931 1931 1932 -**ZONE(P)** 2318 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **ZONE(P)** 1933 1933 1934 1934 After adding the offset value specified in (s1) or (s2) to the input value specified in (s3), it is stored in the device number specified in (d). 1935 1935 ... ... @@ -1945,14 +1945,16 @@ 1945 1945 1946 1946 **Device used** 1947 1947 1948 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1949 -**Pulse extension** 2334 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2335 +**Pulse** 2336 + 2337 +**extension** 1950 1950 ))) 1951 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1952 -|(% rowspan="4" %)ZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1953 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|● 1954 -|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|● 1955 -|Parameter 4| |●|●|●|●|●|●|●|●| | |●|● 2339 +|**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** 2340 +|(% rowspan="4" %)ZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 2341 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 2342 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 2343 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1956 1956 1957 1957 **Features** 1958 1958 ... ... @@ -1963,6 +1963,7 @@ 1963 1963 |When input value (s3)=0|0 1964 1964 |When input value (s3)>0|Input value (s3) + positive offset value (s2) 1965 1965 2354 + 1966 1966 ((( 1967 1967 • When the output value stored in (d) is a signed BIN 16-bit value, and the operation result exceeds the range of -32,768 to 32,767, the situation is shown in the following example. 1968 1968 ... ... @@ -1970,8 +1970,10 @@ 1970 1970 1971 1971 the output value = -32768+(-100)=8000H-FF9CH=7F9CH=32668. 1972 1972 1973 -(% style="text-align:center" %) 1974 -[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png||height="399" width="550"]] 2362 +[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png]] 2363 + 2364 + 2365 + 1975 1975 ))) 1976 1976 1977 1977 **Error code** ... ... @@ -1982,7 +1982,6 @@ 1982 1982 1983 1983 **Example** 1984 1984 1985 -(% style="text-align:center" %) 1986 1986 [[image:07-5 Basic instructions_html_5da523c7765bf5be.png]] 1987 1987 1988 1988 When X000 is ON ... ... @@ -1993,9 +1993,9 @@ 1993 1993 1994 1994 • When 0<D0, the value of (D0)+(1,000) is stored in D1. 1995 1995 1996 -== **DZONE/BIN 32-bit data zone control** ==2386 +{{id name="_Toc28351"/}}{{id name="_Toc11023"/}}{{id name="_Toc30269"/}}**DZONE/BIN 32-bit data zone control** 1997 1997 1998 -DZONE(P) 2388 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] DZONE(P) 1999 1999 2000 2000 After adding the offset value specified in (s1) or (s2) to the input value specified in (s3), it is stored in the device number specified in (d). 2001 2001 ... ... @@ -2011,14 +2011,16 @@ 2011 2011 2012 2012 **Device used** 2013 2013 2014 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 2015 -**Pulse extension** 2404 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2405 +**Pulse** 2406 + 2407 +**extension** 2016 2016 ))) 2017 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 2018 -|(% rowspan="4" %)DZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 2019 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 2020 -|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|● 2021 -|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|● 2409 +|**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** 2410 +|(% rowspan="4" %)DZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 2411 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 2412 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|● 2413 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 2022 2022 2023 2023 **Features** 2024 2024 ... ... @@ -2029,12 +2029,12 @@ 2029 2029 |When input value ((s3), (s3)+1)=0|0 2030 2030 |When input value ((s3), (s3)+1)>0|Input value ((s3), (s3)+1) + positive offset value (s2), (s2)+1 2031 2031 2424 + 2032 2032 ((( 2033 2033 • When the output value stored in (d) and (d)+1 is a signed BIN 32-bit value, and the operation result exceeds the range of -2,147,483,648 to 2,147,483,647, the situation is shown in the following example. 2034 2034 2035 2035 For example, (s1), (s1)+1 is -1,000, (s3), (s3)+1 is -2,147,483,648, then the output value=-2,147,483,648+(-1000)=80000000H+FFFFFC18H=2,147,482,648. 2036 2036 2037 -(% style="text-align:center" %) 2038 2038 [[image:07-5 Basic instructions_html_2f3a96a2565c75c7.png]] 2039 2039 ))) 2040 2040 ... ... @@ -2046,8 +2046,7 @@ 2046 2046 2047 2047 **Example** 2048 2048 2049 -(% style="text-align:center" %) 2050 -[[image:07-5 Basic instructions_html_b831b14748df07ab.png||height="51" width="401"]] 2441 +[[image:07-5 Basic instructions_html_b831b14748df07ab.png]] 2051 2051 2052 2052 • When (D1, D0)<0, the value of (D1, D0)+(-10,000) is stored in (D11, D10). 2053 2053