Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Joey1 +XWiki.admin - Content
-
... ... @@ -1,6 +1,6 @@ 1 -= **Contact comparison instruction** =1 +{{id name="_Toc8837"/}}{{id name="_Toc27289"/}}[[image:07-5 Basic instructions_html_a2e3294e01b2f206.gif]] **7.11 Contact comparison instruction** 2 2 3 -== **Signed 16-bit contact comparison instruction** ==3 +{{id name="_Toc4956"/}}{{id name="_Toc16100"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **Signed 16-bit contact comparison instruction** 4 4 5 5 **LD £, AND £, OR £** 6 6 ... ... @@ -14,7 +14,6 @@ 14 14 15 15 **Ladder diagram** 16 16 17 -(% style="text-align:center" %) 18 18 [[image:07-5 Basic instructions_html_63210db6b7e1512f.png]] 19 19 20 20 (You can enter "=", "<>", ">", "<", ">=", "<=" in "£") ... ... @@ -27,30 +27,34 @@ 27 27 28 28 **Device used** 29 29 30 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|((( 31 -**Offset modification** 29 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 30 +**Offset** 31 + 32 +**modification** 32 32 )))|((( 33 -**Pulse extension** 34 +**Pulse** 35 + 36 +**extension** 34 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|●|●|●|●|●|●|●|●|●|●|●|●| 38 +|**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** 39 +|LD=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 40 +|LD>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 41 +|LD<|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 42 +|LD>=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 43 +|LD<=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 44 +|LD<>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 45 +|AND=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 46 +|AND>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 47 +|AND<|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 48 +|AND>=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 49 +|AND<=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 50 +|AND<>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 51 +|OR=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 52 +|OR>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 53 +|OR<|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 54 +|OR>=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 55 +|OR<=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 56 +|OR<>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●| 54 54 55 55 **Features** 56 56 ... ... @@ -59,7 +59,7 @@ 59 59 The comparison operation result of each instruction is shown below. 60 60 61 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 state65 +|=|(s1)=(s2)|(% rowspan="6" %)On state|=|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 63 63 |<>|(s1)≠(s2)|<>|(s1)=(s2) 64 64 |>|(s1)>(s2)|>|(s1)≤(s2) 65 65 |<|(s1)<(s2)|<|(s1)≥(s2) ... ... @@ -73,21 +73,19 @@ 73 73 74 74 **Example** 75 75 76 -((( 77 - (1)LD£instruction:79 +1. ((( 80 +When the current value of counter C10 is 200, Y10 is set 78 78 79 -(% style="text-align:center" %) 80 -[[image:07-5 Basic instructions_html_1309199eccc7134.png]] 82 +When the content of D200 is above -29, and X1 is ON, Y11 is set 83 + 84 +LD£ instruction: 81 81 ))) 82 82 83 - Whenthecurrentvalue ofcounter C10is 200, Y10 is set87 +[[image:07-5 Basic instructions_html_1309199eccc7134.png]] 84 84 85 - Whenthecontentof D200is above -29, and X1 is ON, Y11 is set89 +1. AND£ instruction 86 86 87 -(2) AND£ instruction: 88 88 89 -(% style="text-align:center" %) 90 -[[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]] 91 91 92 92 ((( 93 93 When X0 is ON, or when the current value of counter C10 is 200, Y10 is set ... ... @@ -94,24 +94,26 @@ 94 94 95 95 When X1 is OFF, and the content of data counter D0 is not -10, Y11 is set 96 96 97 - 98 +[[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]] 98 98 ))) 99 99 100 - (3)OR£instruction:101 +1. OR□ instruction: 101 101 102 -(% style="text-align:center" %) 103 -[[image:07-5 Basic instructions_html_8b000809015ea436.png]] 104 104 104 + 105 105 ((( 106 106 When X1 is ON, or when the current value of counter C10 is 200, Y0 is set 107 107 108 108 When X2 and M30 are ON, or the content of register D100 is K10000 and above, M60 is set 109 + 110 +[[image:07-5 Basic instructions_html_8b000809015ea436.png]] 109 109 ))) 110 110 111 -== **Signed 32-bit contact comparison instruction** == 112 112 113 -** LDD£,ANDD£,ORD £**114 +{{id name="_Toc29744"/}}{{id name="_Toc16499"/}}**Signed 32-bit contact comparison instruction** 114 114 116 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **LDD £, ANDD £, ORD £** 117 + 115 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 116 117 117 LDD£: Normally open contact comparison command ... ... @@ -118,11 +118,10 @@ 118 118 119 119 ANDD£: Normally open contact series link comparison instruction 120 120 121 -ORD£: Normally open contact parallel link comparison instruction 124 +{{id name="OLE_LINK337"/}}ORD£: Normally open contact parallel link comparison instruction 122 122 123 123 **Ladder diagram** 124 124 125 -(% style="text-align:center" %) 126 126 [[image:07-5 Basic instructions_html_63210db6b7e1512f.png]] 127 127 128 128 “=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£” ... ... @@ -135,30 +135,34 @@ 135 135 136 136 **Device used** 137 137 138 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 139 -**Offset modification** 140 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 141 +**Offset** 142 + 143 +**modification** 140 140 )))|((( 141 -**Pulse extension** 145 +**Pulse** 146 + 147 +**extension** 142 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|●|●|●|●|●|●|●|●|●|●|●|●|●|●| 149 +|**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** 150 +|LDD=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 151 +|LDD>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 152 +|LDD<|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 153 +|LDD>=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 154 +|LDD<=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 155 +|LDD<>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 156 +|ANDD=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 157 +|ANDD>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 158 +|ANDD<|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 159 +|ANDD>=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 160 +|ANDD<=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 161 +|ANDD<>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 162 +|ORD=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 163 +|ORD>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 164 +|ORD<|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 165 +|ORD>=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 166 +|ORD<=|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 167 +|ORD<>|s1, s2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●| 162 162 163 163 **Features** 164 164 ... ... @@ -167,7 +167,7 @@ 167 167 The comparison operation result of each instruction is shown below. 168 168 169 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 state176 +|=|(s1)=(s2)|(% rowspan="6" %)On state|=|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state 171 171 |<>|(s1)≠(s2)|<>|(s1)=(s2) 172 172 |>|(s1)>(s2)|>|(s1)≤(s2) 173 173 |<|(s1)<(s2)|<|(s1)≥(s2) ... ... @@ -181,9 +181,8 @@ 181 181 182 182 **Example** 183 183 184 - (1)LDD£ instruction:190 +1. LDD£ instruction: 185 185 186 -(% style="text-align:center" %) 187 187 [[image:07-5 Basic instructions_html_8acf0d489297c561.png]] 188 188 189 189 When the data of LC10 is 200000, Y10 is set, otherwise Y10 is reset. ... ... @@ -190,9 +190,8 @@ 190 190 191 191 When the 32-bit data composed of D201 and D200 exceeds -5000, and X1 is ON, Y11 is turned ON. 192 192 193 - (2)ANDD£ instruction:198 +1. ANDD£ instruction: 194 194 195 -(% style="text-align:center" %) 196 196 [[image:07-5 Basic instructions_html_38be93eec0ced6c.png]] 197 197 198 198 When X0 is ON and the value of LC10 is 200000, Y10 is set, otherwise it is reset. ... ... @@ -199,9 +199,8 @@ 199 199 200 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 201 202 - (3)ORD£ instruction:206 +1. ORD£ instruction: 203 203 204 -(% style="text-align:center" %) 205 205 [[image:07-5 Basic instructions_html_8ebfc7b0562cf370.png]] 206 206 207 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,22 +208,21 @@ 208 208 209 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 210 211 -= =**Single precision real number contact comparison instruction**==214 +{{id name="_Toc28789"/}}{{id name="_Toc29577"/}}**Single precision real number contact comparison instruction** 212 212 213 -**LDE £, ANDE £, ORE £** 216 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **LDE £, ANDE £, ORE £** 214 214 215 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 216 217 -LDE £: Normally open contact comparison command220 +LDE□: Normally open contact comparison command 218 218 219 -ANDE £: Normally open contact series link comparison instruction222 +ANDE□: Normally open contact series link comparison instruction 220 220 221 -ORE £: Normally open contact parallel link comparison instruction224 +ORE□: Normally open contact parallel link comparison instruction 222 222 223 223 **Ladder diagram** 224 224 225 -(% style="text-align:center" %) 226 -[[image:07-5 Basic instructions_html_6ac28f30e24ad296.png||height="352" width="550"]] 228 +[[image:07-5 Basic instructions_html_6ac28f30e24ad296.png]] 227 227 228 228 “=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£” 229 229 ... ... @@ -230,35 +230,39 @@ 230 230 **Content, range and data type** 231 231 232 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 235 +|(s1)|{{id name="OLE_LINK28"/}}Comparison data or the device start number storing the comparison data|{{id name="OLE_LINK339"/}}0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32 234 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 235 236 236 **Device used** 237 237 238 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|((( 239 -**Offset modification** 240 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 241 +**Offset** 242 + 243 +**modification** 240 240 )))|((( 241 -**Pulse extension** 245 +**Pulse** 246 + 247 +**extension** 242 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|●|●|●|●|●|●|●|●|●| 249 +|**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** 250 +|LDE=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 251 +|LDE>|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 252 +|LDE<|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 253 +|LDE>=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 254 +|LDE<=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 255 +|LDE<>|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 256 +|ANDE=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 257 +|ANDE>|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 258 +|ANDE<|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 259 +|ANDE>=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 260 +|ANDE<=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 261 +|ANDE<>|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 262 +|ORE=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 263 +|ORD>|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 264 +|ORE<|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 265 +|ORE>=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 266 +|ORE<=|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 267 +|ORE<>|s1, s2|||||||||||||||●|●|●|●|●|●|●|||●|●| 262 262 263 263 **Features** 264 264 ... ... @@ -277,14 +277,13 @@ 277 277 **Error code** 278 278 279 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 286 +|4084H|{{id name="OLE_LINK340"/}}When the content of the specified device by (s1) and (s2) is an irregular number, a non-number, or ±∞ 287 +|4085H|{{id name="OLE_LINK343"/}}The read address of (s1) and (s2exceeds the device range 282 282 283 283 **Example** 284 284 285 - (1)LDE£ instruction:291 +1. LDE£ instruction: 286 286 287 -(% style="text-align:center" %) 288 288 [[image:07-5 Basic instructions_html_c4c820cf59601493.png]] 289 289 290 290 When the real number input in D0 is equal to E1.23, Y10 is ON, otherwise Y10 is OFF. ... ... @@ -293,36 +293,33 @@ 293 293 294 294 If the input in D0, R0, LC0 is not a real number, it will report H4084 error. 295 295 296 - (2)ANDE£ instruction:301 +1. ANDE£ instruction: 297 297 298 -(% style="text-align:center" %) 299 299 [[image:07-5 Basic instructions_html_7cdd2117360e179b.png]] 300 300 301 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 302 303 - (3)ORE£ instruction:307 +1. ORE£ instruction: 304 304 305 -(% style="text-align:center" %) 306 306 [[image:07-5 Basic instructions_html_3eba0bd56176441d.png]] 307 307 308 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 309 310 -== **String comparison** ==313 +{{id name="_Toc16295"/}}{{id name="_Toc20251"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **String comparison** 311 311 312 312 **LDS£、ANDS£、 ORS£** 313 313 314 -Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2). 317 +{{id name="OLE_LINK27"/}}Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2). 315 315 316 316 LDS£: String comparison instruction 317 317 318 318 ANDS£: String serial connection comparison instruction 319 319 320 -ORS£: String parallel connection comparison instruction 323 +{{id name="OLE_LINK341"/}}ORS£: String parallel connection comparison instruction 321 321 322 322 **Ladder diagram** 323 323 324 -(% style="text-align:center" %) 325 -[[image:07-5 Basic instructions_html_5fb3b3b70645fef5.png||height="371" width="550"]] 327 +[[image:07-5 Basic instructions_html_5fb3b3b70645fef5.png]] 326 326 327 327 “=” and “<>” could be entered in “£” 328 328 ... ... @@ -329,23 +329,27 @@ 329 329 **Content, range and data type** 330 330 331 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 +|(S1)|{{id name="OLE_LINK342"/}}Connection data or the device start number storing the data or the string specified directly|-|String|ANYSTRING_SINGLE 335 +|(S1)|Connection data or the device start number storing the data or the string specified directly|-|{{id name="OLE_LINK29"/}}String|ANYSTRING_SINGLE 334 334 335 335 **Device used** 336 336 337 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 338 -**Offset modification** 339 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 340 +**Offset** 341 + 342 +**modification** 339 339 )))|((( 340 -**Pulse extension** 344 +**Pulse** 345 + 346 +**extension** 341 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|●|●|●|●|●|●|●|●|●|●| 348 +|**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** 349 +|LDS=|s1、s2|||||||||||●|●|●|●|●|●|●|●|●||||||●| 350 +|LDS<>|s1、s2|||||||||||●|●|●|●|●|●|●|●|●||||||●| 351 +|ANDS=|s1、s2|||||||||||●|●|●|●|●|●|●|●|●||||||●| 352 +|ANDS<>|s1、s2|||||||||||●|●|●|●|●|●|●|●|●||||||●| 353 +|ORS=|s1、s2|||||||||||●|●|●|●|●|●|●|●|●||||||●| 354 +|ORS<>|s1、s2|||||||||||●|●|●|●|●|●|●|●|●||||||●| 349 349 350 350 **Features** 351 351 ... ... @@ -354,7 +354,7 @@ 354 354 • The comparison operation result of each instruction is shown below. 355 355 356 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 state363 +|=|(s1)=(s2)|(% rowspan="2" %)On stat|=|(s1)≠(s2)|(% rowspan="2" %)Non-conduction state 358 358 |<>|(s1)≠(s2)|<>|(s1)=(s2) 359 359 360 360 **Error code** ... ... @@ -366,24 +366,21 @@ 366 366 367 367 **Example** 368 368 369 - (1)LDS£ instruction:375 +1. 1、LDS£ instruction 370 370 371 -(% style="text-align:center" %) 372 372 [[image:07-5 Basic instructions_html_449a071f61ff5b58.png]] 373 373 374 - (2)ANDS£ instruction:379 +1. ANDS£ instruction 375 375 376 -(% style="text-align:center" %) 377 377 [[image:07-5 Basic instructions_html_dd6aa995d193bdd2.png]] 378 378 379 - (3)ORS£ instruction:383 +1. ORS£ instruction 380 380 381 -(% style="text-align:center" %) 382 382 [[image:07-5 Basic instructions_html_4f8fb7c94f87c58d.png]] 383 383 384 -= **Clock operation instruction** =387 +{{id name="_Toc11737"/}}[[image:07-5 Basic instructions_html_a2e3294e01b2f206.gif]] **7.12 Clock operation instruction** 385 385 386 -== **TADD/The addition of clock data** ==389 +{{id name="_Toc9100"/}}{{id name="_Toc26958"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **TADD/The addition of clock data** 387 387 388 388 **TADD(P)** 389 389 ... ... @@ -394,7 +394,7 @@ 394 394 **Content, range and data type** 395 395 396 396 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 397 -|(s1)|The device start number that stores the added time data|-|Signed BIN 16 bit|((( 400 +|(s1)|{{id name="OLE_LINK345"/}}The device start number that stores the added time data|-|Signed BIN 16 bit|((( 398 398 ANY16_ARRAY 399 399 400 400 (number of elements: 3) ... ... @@ -412,34 +412,35 @@ 412 412 413 413 **Device used** 414 414 415 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="5" %)**Devices**|((( 416 -**Offset modification** 418 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 419 +**Offset** 420 + 421 +**modification** 417 417 )))|((( 418 -**Pulse extension** 423 +**Pulse** 424 + 425 +**extension** 419 419 ))) 420 -|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 421 -|(% rowspan="3" %)TADD|Parameter 1|●|●|●|●|●|●|● 422 -|Parameter 2|●|●|●|●|●|●|● 423 -|Parameter 3|●|●|●|●|●|●|● 427 +|**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** 428 +|(% rowspan="3" %)TADD|Parameter 1|||||||||||||||●|●|●|●|●||||||●|● 429 +|Parameter 2|||||||||||||||●|●|●|●|●||||||●|● 430 +|Parameter 3|||||||||||||||●|●|●|●|●||||||●|● 424 424 425 425 **Features** 426 426 427 427 Add the time data specified in (s1) and the time data specified in (s2), and store the result of the addition in the device number specified in (d) or later. 428 428 429 -(% style="text-align:center" %) 430 -[[image:07-5 Basic instructions_html_37222a6e282347f9.png||height="79" width="750"]] 436 +[[image:07-5 Basic instructions_html_37222a6e282347f9.png]] 431 431 432 432 **Example** 433 433 434 434 When 6:32:40 and 7:48:10 are added together 435 435 436 -(% style="text-align:center" %) 437 -[[image:07-5 Basic instructions_html_90138670198ab422.png||height="94" width="750"]] 442 +[[image:07-5 Basic instructions_html_90138670198ab422.png]] 438 438 439 439 When the calculation result time exceeds 24 o'clock, the carry flag turns ON, and the value after 24 hours is subtracted becomes the calculation result. For example, when 14:20:30 and 20:20:20 are added, the result is not 34:40:50, but 10:40:50. 440 440 441 -(% style="text-align:center" %) 442 -[[image:07-5 Basic instructions_html_bac419ce2dc0dc2.png||height="91" width="750"]] 446 +[[image:07-5 Basic instructions_html_bac419ce2dc0dc2.png]] 443 443 444 444 When the calculation result is 0 (0 hour, 0 minute, 0 second), the zero flag turns on. 445 445 ... ... @@ -451,7 +451,7 @@ 451 451 |SM151|Carry|It is ON when the result of the TADD(P) instruction exceeds the maximum clock data value of 23:59:59 452 452 |SM153|Zero|It is ON when the result of the TADD(P) instruction is 0:00:00 453 453 454 -✎**Note :**458 +✎**Note** 455 455 456 456 The devices specified in (s1), (s2), (d) occupy 3 points respectively. Be careful not to overlap with the device used for machine control. 457 457 ... ... @@ -460,7 +460,7 @@ 460 460 **Error code** 461 461 462 462 |**Error code**|**Content** 463 -|4085H|When reading the specified device range exceeds the corresponding device range 467 +|4085H|{{id name="OLE_LINK344"/}}When reading the specified device range exceeds the corresponding device range 464 464 |4086H|When writing the specified device range exceeds the corresponding device range 465 465 |4084H|((( 466 466 When the values specified in (s1) and (s2) are other than 0 to 23 ... ... @@ -470,26 +470,24 @@ 470 470 471 471 **Example** 472 472 473 -(% style="text-align:center" %) 474 -[[image:07-5 Basic instructions_html_4f75eedee7172bbb.png||height="35" width="349"]] 477 +[[image:07-5 Basic instructions_html_4f75eedee7172bbb.png]] 475 475 476 476 Set D0 time to 16:30:00 and D10 time to 4:30:0 477 477 478 -(% style="text-align:center" %) 479 479 [[image:07-5 Basic instructions_html_c64e0faf2af172f8.png]] 480 480 481 -(% style="text-align:center" %) 482 482 [[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png]] 483 483 484 484 After the coil is turned on, the D20 time is 21:0:0 485 485 486 -(% style="text-align:center" %) 487 487 [[image:07-5 Basic instructions_html_a9b235835aa41200.png]] 488 488 489 -== **TSUB/The subtraction of clock data** == 490 490 491 -**TSUB(P)** 492 492 491 +{{id name="_Toc6604"/}}{{id name="_Toc16422"/}}**TSUB/The subtraction of clock data** 492 + 493 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **TSUB(P)** 494 + 493 493 Subtract the time data stored after the device number specified in (s1) and the time data stored after the device number specified in (s2), and store the subtraction result in the device number specified in (d) or later . 494 494 495 495 -[TSUB (s1) (s2) (d)] ... ... @@ -515,21 +515,24 @@ 515 515 516 516 **Device used** 517 517 518 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="5" %)**Devices**|((( 519 -**Offset modification** 520 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 521 +**Offset** 522 + 523 +**modification** 520 520 )))|((( 521 -**Pulse extension** 525 +**Pulse** 526 + 527 +**extension** 522 522 ))) 523 -|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 524 -|(% rowspan="3" %)TSUB|Parameter 1|●|●|●|●|●|●|● 525 -|Parameter 2|●|●|●|●|●|●|● 526 -|Parameter 3|●|●|●|●|●|●|● 529 +|**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** 530 +|(% rowspan="3" %)TSUB|Parameter 1|||||||||||||||●|●|●|●|●||||||●|● 531 +|Parameter 2|||||||||||||||●|●|●|●|●||||||●|● 532 +|Parameter 3|||||||||||||||●|●|●|●|●||||||●|● 527 527 528 528 **Features** 529 529 530 530 Subtract the time data specified in (s1) and the time data specified in (s2), and store the subtraction result in the device number specified in (d) or later. 531 531 532 -(% style="text-align:center" %) 533 533 [[image:07-5 Basic instructions_html_5a93455e4cd8a27.png]] 534 534 535 535 **Example** ... ... @@ -536,12 +536,10 @@ 536 536 537 537 When subtracting 10:40:20 and 3:50:10 538 538 539 -(% style="text-align:center" %) 540 540 [[image:07-5 Basic instructions_html_2473f03fc493780c.png]] 541 541 542 542 When the calculation result time is a negative number, the borrow flag turns on and the data +24 is the calculation result. For example, in the case of subtracting 4:50:32 and 10:42:12, the result is not -6:8:20, but 18:8:20. 543 543 544 -(% style="text-align:center" %) 545 545 [[image:07-5 Basic instructions_html_24b998b4c3c4ec73.png]] 546 546 547 547 When the calculation result is 0 (0 hour, 0 minute, 0 second), the zero flag turns on. ... ... @@ -552,7 +552,7 @@ 552 552 |SM152|Borrow|It is ON when the result of the TSUB(P) instruction is less than 0:00:00 553 553 |SM153|Zero|It is ON when the result of the TSUB(P) instruction is at the time of 0:00:00:00 554 554 555 -✎**Note :**558 +✎**Note** 556 556 557 557 • The devices specified in (s1), (s2), and (d) occupy 3 points respectively. Be careful not to overlap with the device used for machine control. 558 558 ... ... @@ -571,23 +571,19 @@ 571 571 572 572 **Example** 573 573 574 -(% style="text-align:center" %) 575 -[[image:07-5 Basic instructions_html_e3a5d4793d3ccd2d.png||height="36" width="372"]] 577 +[[image:07-5 Basic instructions_html_e3a5d4793d3ccd2d.png]] 576 576 577 577 Set D0 time to 16:30:00 and D10 time to 4:30:0 578 578 579 -(% style="text-align:center" %) 580 580 [[image:07-5 Basic instructions_html_c64e0faf2af172f8.png]] 581 581 582 -(% style="text-align:center" %) 583 583 [[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png]] 584 584 585 585 After the coil is turned on, the D20 time is 12:00:00 586 586 587 -(% style="text-align:center" %) 588 588 [[image:07-5 Basic instructions_html_8f93ea19ba10652b.png]] 589 589 590 -**TRD/Clock data reading** 589 +{{id name="_Toc10358"/}}{{id name="_Toc12073"/}}[[image:07-5 Basic instructions_html_501fb256fd034ca6.gif]] **TRD/Clock data reading** 591 591 592 592 **TRD(P)** 593 593 ... ... @@ -606,19 +606,23 @@ 606 606 607 607 **Device used** 608 608 609 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="4" %)**Devices**|((( 610 -**Offset modification** 608 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 609 +**Offset** 610 + 611 +**modification** 611 611 )))|((( 612 -**Pulse extension** 613 +**Pulse** 614 + 615 +**extension** 613 613 ))) 614 -|**T**|**C**|**D**|**R**|**[D]**|**XXP** 615 -|TRD|Parameter 1|●|●|●|●|●|● 617 +|**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** 618 +|TRD|Parameter 1|||||||||||||||●|●|●|●|||||||●|● 616 616 617 617 **Features** 618 618 619 619 Read the clock data (SD100 to SD106) of the real-time clock built into the CPU module into (d) to (d)+6 in the following format. 620 620 621 -|**Parameter**|**Element**|**Project**|**Clock data**| 624 +|**Parameter**|**Element**|**Project**|**Clock data**||**Element**|**Project** 622 622 |(% rowspan="7" %)Special register|SD105|Year (Gregorian)|2000 to 2099|→|(d)|Year (Gregorian) 623 623 |SD104|Month|1 to 12|→|(d)+1|Month 624 624 |SD103|Day|1 to 31|→|(d)+2|Day ... ... @@ -638,7 +638,7 @@ 638 638 |SD105|The year data of the clock data is stored in a 4-digit BIN code of the Gregorian calendar. 639 639 |SD106|The week data of the clock data is stored in BIN code. (0: day, 1: one, ..., 6: six) are stored in BIN code. 640 640 641 -✎**Note :**644 +✎**Note** 642 642 643 643 • The device specified in (d) occupies 7 points. Be careful not to overlap with the device used for machine control. 644 644 ... ... @@ -649,17 +649,15 @@ 649 649 650 650 **Example** 651 651 652 -(% style="text-align:center" %) 653 -[[image:07-5 Basic instructions_html_b81c1991fec5b4b1.png||height="68" width="250"]] 655 +[[image:07-5 Basic instructions_html_b81c1991fec5b4b1.png]] 654 654 655 655 After the M0 coil is turned on, the current date and time are read as 2020-2-19 13:10:38 Wednesday 656 656 657 -(% style="text-align:center" %) 658 -[[image:07-5 Basic instructions_html_fe82ecd18ebfd787.png||height="48" width="602"]] 659 +[[image:07-5 Basic instructions_html_fe82ecd18ebfd787.png]] 659 659 660 -= =**TWR/Clock data writing**==661 +{{id name="_Toc24237"/}}{{id name="_Toc487"/}}**TWR/Clock data writing** 661 661 662 -**TWR(P)** 663 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **TWR(P)** 663 663 664 664 Write the clock data of the built-in real-time clock of the CPU module. 665 665 ... ... @@ -672,19 +672,23 @@ 672 672 673 673 **Device used** 674 674 675 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="4" %)**Devices**|((( 676 -**Offset modification** 676 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 677 +**Offset** 678 + 679 +**modification** 677 677 )))|((( 678 -**Pulse extension** 681 +**Pulse** 682 + 683 +**extension** 679 679 ))) 680 -|**T**|**C**|**D**|**R**|**[D]**|**XXP** 681 -|TWR|Parameter 1|●|●|●|●|●|● 685 +|**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** 686 +|TWR|Parameter 1|||||||||||||||●|●|●|●|||||||●|● 682 682 683 683 **Features** 684 684 685 685 Write the set clock data (s) to (s)+6 to the clock data (SD100 to SD106) of the real-time clock built into the CPU module. 686 686 687 -|(% colspan="3" %)**Set data at all times**|(% rowspan="2" %) 692 +|(% colspan="3" %)**Set data at all times**|(% rowspan="2" %)|(% colspan="2" %)**Special register** 688 688 |**Element**|**Project**|**Clock data**|**Element**|**Project** 689 689 |(s)|Year (Gregorian)|2000 to 2099 or 0 to 99|→|SD105|Year (Gregorian) 690 690 |(s)+1|Month|1 to 12|→|SD104|Month ... ... @@ -713,7 +713,7 @@ 713 713 |SD105|The year data of the clock data is stored in a 4-digit BIN code of the Gregorian calendar. 714 714 |SD106|The week data of the clock data is stored in BIN code. (0: day, 1: one, ..., 6: six) are stored in BIN code. 715 715 716 -✎**Note :**721 +✎**Note** 717 717 718 718 The device specified in (s) occupies 7 points. Be careful not to overlap with the device used for machine control. 719 719 ... ... @@ -726,15 +726,13 @@ 726 726 727 727 Set D0 date and time to 2020-2-19 12:36:00 in advance 728 728 729 -(% style="text-align:center" %) 730 -[[image:07-5 Basic instructions_html_994c66d1a4cbd45f.png||height="57" width="305"]] 734 +[[image:07-5 Basic instructions_html_994c66d1a4cbd45f.png]] 731 731 732 732 At the moment when the time 12:36:00 arrives, turn on the M0 coil and write the time. 733 733 734 -(% style="text-align:center" %) 735 -[[image:07-5 Basic instructions_html_bf3e906ee5265598.png||height="42" width="586"]] 738 +[[image:07-5 Basic instructions_html_bf3e906ee5265598.png]] 736 736 737 -== **HTOS/16-bit data conversion of time data (hour, minute, second → second)** ==740 +{{id name="_Toc5357"/}}{{id name="_Toc6196"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **HTOS/16-bit data conversion of time data (hour, minute, second → second)** 738 738 739 739 **HTOS(P)** 740 740 ... ... @@ -750,26 +750,26 @@ 750 750 751 751 **Device used** 752 752 753 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|**Offset modification**|((( 754 -**Pulse extension** 756 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 757 +**Pulse** 758 + 759 +**extension** 755 755 ))) 756 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 757 -|(% rowspan="2" %)HTOS|Parameter 1|●|●|●|●|●|●|●|●|●|●|● 758 -|Parameter 2| 761 +|**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** 762 +|(% rowspan="2" %)HTOS|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●||||||●|● 763 +|Parameter 2||||||||||||●|●|●|●|●|●|●|●||||||●|● 759 759 760 760 **Features** 761 761 762 762 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). 763 763 764 -(% style="text-align:center" %) 765 -[[image:07-5 Basic instructions_html_a84b7741fd5bef2f.png||height="130" width="550"]] 769 +[[image:07-5 Basic instructions_html_a84b7741fd5bef2f.png]] 766 766 767 767 **Example** 768 768 769 769 When 4 hours, 29 minutes and 31 seconds are specified in (s) 770 770 771 -(% style="text-align:center" %) 772 -[[image:07-5 Basic instructions_html_5effb7bc9b8e5cf7.png||height="162" width="550"]] 775 +[[image:07-5 Basic instructions_html_5effb7bc9b8e5cf7.png]] 773 773 774 774 **Error code** 775 775 ... ... @@ -777,7 +777,7 @@ 777 777 |4085H|When reading the specified device range exceeds the corresponding device range 778 778 |4086H|When writing the specified device range exceeds the corresponding device range 779 779 |4084H|((( 780 -When the calculation result is not in the range of 0 to 32767 783 +{{id name="OLE_LINK348"/}}When the calculation result is not in the range of 0 to 32767 781 781 782 782 When the value specified in (s) is not in the range of 0 to 9 783 783 ... ... @@ -786,22 +786,19 @@ 786 786 787 787 **Example** 788 788 789 -(% style="text-align:center" %) 790 -[[image:07-5 Basic instructions_html_e23e38c4ba4c34bb.png||height="43" width="338"]] 792 +[[image:07-5 Basic instructions_html_e23e38c4ba4c34bb.png]] 791 791 792 792 D0 time is set to 5:36:53 793 793 794 -(% 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 799 -(% style="text-align:center" %) 800 800 [[image:07-5 Basic instructions_html_1dd6c5de05890797.png]] 801 801 802 -= =**DHTOS/32-bit data conversion of time data (hour, minute, second → second)**==802 +{{id name="_Toc13431"/}}{{id name="_Toc5278"/}}**DHTOS/32-bit data conversion of time data (hour, minute, second → second)** 803 803 804 -**DHTOS(P)** 804 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DHTOS(P)** 805 805 806 806 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). 807 807 ... ... @@ -815,28 +815,30 @@ 815 815 816 816 **Device used** 817 817 818 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 819 -**Offset modification** 818 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 819 +**Offset** 820 + 821 +**modification** 820 820 )))|((( 821 -**Pulse extension** 823 +**Pulse** 824 + 825 +**extension** 822 822 ))) 823 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 824 -|(% rowspan="2" %)DHTOS|Parameter 1|●|●|●|●|●|●|●|●|●|●|● 825 -|Parameter 2| 827 +|**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** 828 +|(% rowspan="2" %)DHTOS|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●||||||●|● 829 +|Parameter 2||||||||||||●|●|●|●|●|●|●|●||||||●|● 826 826 827 827 **Features** 828 828 829 829 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). 830 830 831 -(% style="text-align:center" %) 832 -[[image:07-5 Basic instructions_html_f4be08508575ea01.png||height="99" width="550"]] 835 +[[image:07-5 Basic instructions_html_f4be08508575ea01.png]] 833 833 834 834 **Example** 835 835 836 836 When 35 hours, 10 minutes and 58 seconds are specified in (s) 837 837 838 -(% style="text-align:center" %) 839 -[[image:07-5 Basic instructions_html_5b9ad230ed5e1fd0.png||height="125" width="550"]] 841 +[[image:07-5 Basic instructions_html_5b9ad230ed5e1fd0.png]] 840 840 841 841 **Error code** 842 842 ... ... @@ -851,20 +851,17 @@ 851 851 852 852 **Example** 853 853 854 -(% style="text-align:center" %) 855 -[[image:07-5 Basic instructions_html_ae8ab4379e8bdb91.png||height="45" width="263"]] 856 +[[image:07-5 Basic instructions_html_ae8ab4379e8bdb91.png]] 856 856 857 857 D0 time is set to 15:33:24 858 858 859 -(% style="text-align:center" %) 860 -[[image:07-5 Basic instructions_html_57a15d9e1045e93e.png||height="41" width="313"]] 860 +[[image:07-5 Basic instructions_html_57a15d9e1045e93e.png]] 861 861 862 862 The second of D10 after the M0 coil is turned on is 863 863 864 -(% style="text-align:center" %) 865 -[[image:07-5 Basic instructions_html_194e906b1dc12078.png||height="64" width="365"]] 864 +[[image:07-5 Basic instructions_html_194e906b1dc12078.png]] 866 866 867 -**HOUR/Hour measuring 16-bit** 866 +{{id name="_Ref22686"/}}{{id name="_Toc11231"/}}{{id name="_Toc7401"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **HOUR/Hour measuring 16-bit** 868 868 869 869 **HOUR(P)** 870 870 ... ... @@ -889,15 +889,19 @@ 889 889 890 890 **Device used** 891 891 892 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="17" %)**Devices**|((( 893 -**Offset modification** 891 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 892 +**Offset** 893 + 894 +**modification** 894 894 )))|((( 895 -**Pulse extension** 896 +**Pulse** 897 + 898 +**extension** 896 896 ))) 897 -|**Y**|**M**|**S**|**SM**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**E**|**[D]**|**XXP** 898 -|(% rowspan="3" %)HOUR|Parameter 1| 899 -|Parameter 2| 900 -|Parameter 3|●|●|●|●|●| 900 +|**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** 901 +|(% rowspan="3" %)HOUR|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 902 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 903 +|Parameter 3||●|●|●|●|||||●|||||||||||||||●|● 901 901 902 902 **Features** 903 903 ... ... @@ -934,6 +934,7 @@ 934 934 935 935 936 936 940 + 937 937 **Example** 938 938 939 939 [[image:07-5 Basic instructions_html_7570f8c392470a9f.png]] ... ... @@ -975,9 +975,9 @@ 975 975 **extension** 976 976 ))) 977 977 |**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** 978 -|(% rowspan="3" %)DHOUR|Parameter 1| 979 -|Parameter 2| 980 -|Parameter 3| 982 +|(% rowspan="3" %)DHOUR|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 983 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 984 +|Parameter 3||●|●|●|●|||||●|||||||||||||||●|● 981 981 982 982 **Features** 983 983 ... ... @@ -1014,6 +1014,7 @@ 1014 1014 1015 1015 1016 1016 1021 + 1017 1017 **Example** 1018 1018 1019 1019 [[image:07-5 Basic instructions_html_3f1ef5ecc835de30.png]] ... ... @@ -1020,7 +1020,7 @@ 1020 1020 1021 1021 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. 1022 1022 1023 - **{{id name="_Toc11629"/}}STOH/16-bit data conversion of time data (second → hour, minute, second)**1028 +{{id name="_Toc11629"/}}**STOH/16-bit data conversion of time data (second → hour, minute, second)** 1024 1024 1025 1025 [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **STOH(P)** 1026 1026 ... ... @@ -1050,8 +1050,8 @@ 1050 1050 **extension** 1051 1051 ))) 1052 1052 |**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** 1053 -|(% rowspan="2" %)STOH|Parameter 1| 1054 -|Parameter 2| 1058 +|(% rowspan="2" %)STOH|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●||||||●|● 1059 +|Parameter 2||||||||||||●|●|●|●|●|●|●|●||||||●|● 1055 1055 1056 1056 **Features** 1057 1057 ... ... @@ -1112,8 +1112,8 @@ 1112 1112 **extension** 1113 1113 ))) 1114 1114 |**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** 1115 -|(% rowspan="2" %)DSTOH|Parameter 1| 1116 -|Parameter 2| 1120 +|(% rowspan="2" %)DSTOH|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●||||||●|● 1121 +|Parameter 2||||||||||||●|●|●|●|●|●|●|●||||||●|● 1117 1117 1118 1118 **Features** 1119 1119 ... ... @@ -1173,11 +1173,11 @@ 1173 1173 **extension** 1174 1174 ))) 1175 1175 |**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** 1176 -|(% rowspan="5" %)TCMP|Parameter 1| 1177 -|Parameter 2| 1178 -|Parameter 3| 1179 -|Parameter 4| 1180 -|Parameter 5| 1181 +|(% rowspan="5" %)TCMP|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1182 +|Parameter 2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1183 +|Parameter 3|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1184 +|Parameter 4|||||||||||||||●|●|●|●|●||||||●|● 1185 +|Parameter 5||●|●|●|●|||||●|||||||||||||||●|● 1181 1181 1182 1182 **Features** 1183 1183 ... ... @@ -1256,10 +1256,10 @@ 1256 1256 **extension** 1257 1257 ))) 1258 1258 |**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** 1259 -|(% rowspan="4" %)TZCP|Parameter 1| 1260 -|Parameter 2| 1261 -|Parameter 3| 1262 -|Parameter 4| 1264 +|(% rowspan="4" %)TZCP|Parameter 1|||||||||||||||●|●|●|●|●||||||●|● 1265 +|Parameter 2|||||||||||||||●|●|●|●|●||||||●|● 1266 +|Parameter 3|||||||||||||||●|●|●|●|●||||||●|● 1267 +|Parameter 4||●|●|●|●|||||●|||||||||||||||●|● 1263 1263 1264 1264 **Features** 1265 1265 ... ... @@ -1334,10 +1334,10 @@ 1334 1334 **extension** 1335 1335 ))) 1336 1336 |**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** 1337 -|(% rowspan="4" %)BAND|Parameter 1| 1338 -|Parameter 2| 1339 -|Parameter 3| 1340 -|Parameter 4| 1342 +|(% rowspan="4" %)BAND|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1343 +|Parameter 2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1344 +|Parameter 3|||||||||||●|●|●|●|●|●|●|●|●||||||●|● 1345 +|Parameter 4||||||||||||●|●|●|●|●|●|●|●||||||●|● 1341 1341 1342 1342 **Features** 1343 1343 ... ... @@ -1349,6 +1349,7 @@ 1349 1349 |When dead zone low limit (s1) ≤ input value (s3) ≤ dead zone low limit (s2)|0 1350 1350 1351 1351 1357 + 1352 1352 ((( 1353 1353 •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. 1354 1354 ... ... @@ -1400,10 +1400,10 @@ 1400 1400 **extension** 1401 1401 ))) 1402 1402 |**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** 1403 -|(% rowspan="4" %)DBAND|Parameter 1| 1404 -|Parameter 2| 1405 -|Parameter 3| 1406 -|Parameter 4| 1409 +|(% rowspan="4" %)DBAND|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 1410 +|Parameter 2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 1411 +|Parameter 3|||||||||||●|●|●|●|●|●|●|●|●|●|●||||●|● 1412 +|Parameter 4||||||||||||●|●|●|●|●|●|●|●|●|●||||●|● 1407 1407 1408 1408 **Features** 1409 1409 ... ... @@ -1415,8 +1415,9 @@ 1415 1415 |When dead zone low limit ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ dead zone high limit ((s2), (s2)+1)|0 1416 1416 1417 1417 1424 + 1418 1418 ((( 1419 -• 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,** 1426 +• 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= 1420 1420 1421 1421 -2,147,483,648-1000=80000000H-000003E8H=7FFFFC18H=2,147,482,648. 1422 1422 ... ... @@ -1423,7 +1423,6 @@ 1423 1423 [[image:07-5 Basic instructions_html_e0144674dad3e8fd.png]] 1424 1424 1425 1425 1426 - 1427 1427 ))) 1428 1428 1429 1429 **Error code** ... ... @@ -1465,8 +1465,8 @@ 1465 1465 **extension** 1466 1466 ))) 1467 1467 |**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** 1468 -|(% rowspan="2" %)BINDA|Parameter 1| 1469 -|Parameter 2| 1474 +|(% rowspan="2" %)BINDA|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1475 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 1470 1470 1471 1471 **Features** 1472 1472 ... ... @@ -1538,8 +1538,8 @@ 1538 1538 **extension** 1539 1539 ))) 1540 1540 |**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** 1541 -|(% rowspan="2" %)DBINDA|Parameter 1| 1542 -|Parameter 2| 1547 +|(% rowspan="2" %)DBINDA|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 1548 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 1543 1543 1544 1544 **Features** 1545 1545 ... ... @@ -1591,8 +1591,8 @@ 1591 1591 **extension** 1592 1592 ))) 1593 1593 |**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** 1594 -|(% rowspan="2" %)DABIN|Parameter 1| 1595 -|Parameter 2| 1600 +|(% rowspan="2" %)DABIN|Parameter 1|||||||||||||||||●|●|●||||||●|● 1601 +|Parameter 2||||||||||||●|●|●|●|●|●|●|●||||||●|● 1596 1596 1597 1597 **Features** 1598 1598 ... ... @@ -1649,6 +1649,7 @@ 1649 1649 |4086H|The write address of (d) exceeds the device range. 1650 1650 1651 1651 1658 + 1652 1652 ((( 1653 1653 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. 1654 1654 ... ... @@ -1679,8 +1679,8 @@ 1679 1679 **extension** 1680 1680 ))) 1681 1681 |**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** 1682 -|(% rowspan="2" %)DDABIN|Parameter 1| 1683 -|Parameter 2| 1689 +|(% rowspan="2" %)DDABIN|Parameter 1|||||||||||||||||●|●|●||||||●|● 1690 +|Parameter 2||||||||||||●|●|●|●|●|●|●|●|●|●||||●|● 1684 1684 1685 1685 **Features** 1686 1686 ... ... @@ -1750,10 +1750,10 @@ 1750 1750 **extension** 1751 1751 ))) 1752 1752 |**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** 1753 -|(% rowspan="4" %)LIMIT|Parameter 1| 1754 -|Parameter 2| 1755 -|Parameter 3| 1756 -|Parameter 4| 1760 +|(% rowspan="4" %)LIMIT|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1761 +|Parameter 2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1762 +|Parameter 3|||||||||||●|●|●|●|●|●|●|●|●||||||●|● 1763 +|Parameter 4||||||||||||●|●|●|●|●|●|●|●||||||●|● 1757 1757 1758 1758 **Features** 1759 1759 ... ... @@ -1765,6 +1765,7 @@ 1765 1765 |Low limit value (s1) ≤ input value (s3) ≤ high limit value (s2)|Input value (s3) 1766 1766 1767 1767 1775 + 1768 1768 ((( 1769 1769 •Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1770 1770 ... ... @@ -1816,10 +1816,10 @@ 1816 1816 **extension** 1817 1817 ))) 1818 1818 |**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** 1819 -|(% rowspan="4" %)DLIMIT|Parameter 1| 1820 -|Parameter 2| 1821 -|Parameter 3| 1822 -|Parameter 4| 1827 +|(% rowspan="4" %)DLIMIT|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 1828 +|Parameter 2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 1829 +|Parameter 3|||||||||||●|●|●|●|●|●|●|●|●|●|●||||●|● 1830 +|Parameter 4||||||||||||●|●|●|●|●|●|●|●|●|●||||●|● 1823 1823 1824 1824 **Features** 1825 1825 ... ... @@ -1876,9 +1876,9 @@ 1876 1876 **extension** 1877 1877 ))) 1878 1878 |**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** 1879 -|(% rowspan="3" %)SCL|Parameter 1| 1880 -|Parameter 2| 1881 -|Parameter 3| 1887 +|(% rowspan="3" %)SCL|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 1888 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 1889 +|Parameter 3||||||||||||●|●|●|●|●|●|●|●||||||●|● 1882 1882 1883 1883 **Features** 1884 1884 ... ... @@ -1914,13 +1914,13 @@ 1914 1914 1915 1915 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Sett device and content**|(% rowspan="2" %)**Remarks** 1916 1916 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1917 -|(% colspan="2" %)Coordinate points|(s2)|R0|K10| 1918 -|(% rowspan="2" %)Point 1|X coordinate|(s2)+1|R1|K5| 1919 -|Y coordinate|(s2)+2|R2|K20| 1920 -|(% rowspan="2" %)Point 2|X coordinate|(s2)+3|R3|K30| 1921 -|Y coordinate|(s2)+4|R4|K50| 1922 -|(% rowspan="2" %)Point 3|X coordinate|(s2)+5|R5|K100| 1923 -|Y coordinate|(s2)+6|R6|K200| 1925 +|(% colspan="2" %)Coordinate points|(s2)|R0|K10| 1926 +|(% rowspan="2" %)Point 1|X coordinate|(s2)+1|R1|K5| 1927 +|Y coordinate|(s2)+2|R2|K20| 1928 +|(% rowspan="2" %)Point 2|X coordinate|(s2)+3|R3|K30| 1929 +|Y coordinate|(s2)+4|R4|K50| 1930 +|(% rowspan="2" %)Point 3|X coordinate|(s2)+5|R5|K100| 1931 +|Y coordinate|(s2)+6|R6|K200| 1924 1924 |(% rowspan="2" %)Point 4|X coordinate|(s2)+7|R7|K25|(% rowspan="6" %)((( 1925 1925 If the coordinates are specified by 3 points, the intermediate value could be the output value. 1926 1926 ... ... @@ -1933,8 +1933,8 @@ 1933 1933 |Y coordinate|(s2)+10|R10|K200 1934 1934 |(% rowspan="2" %)Point 6|X coordinate|(s2)+11|R11|K250 1935 1935 |Y coordinate|(s2)+12|R12|K250 1936 -|(% rowspan="2" %)Point 7|X coordinate|(s2)+13|R13|K250| 1937 -|Y coordinate|(s2)+14|R14|K90| 1944 +|(% rowspan="2" %)Point 7|X coordinate|(s2)+13|R13|K250| 1945 +|Y coordinate|(s2)+14|R14|K90| 1938 1938 |(% rowspan="2" %)Point 8|X coordinate|(s2)+15|R15|K350|(% rowspan="4" %)((( 1939 1939 If the coordinates are specified by two points, the output value is the value of the Y coordinate of the next point. 1940 1940 ... ... @@ -1943,8 +1943,8 @@ 1943 1943 |Y coordinate|(s2)+16|R16|K90 1944 1944 |(% rowspan="2" %)Point 9|X coordinate|(s2)+17|R17|K350 1945 1945 |Y coordinate|(s2)+18|R18|K30 1946 -|(% rowspan="2" %)Point 10|X coordinate|(s2)+19|R19|K400| 1947 -|Y coordinate|(s2)+20|R20|K7| 1954 +|(% rowspan="2" %)Point 10|X coordinate|(s2)+19|R19|K400| 1955 +|Y coordinate|(s2)+20|R20|K7| 1948 1948 1949 1949 **Error code** 1950 1950 ... ... @@ -1996,9 +1996,9 @@ 1996 1996 **extension** 1997 1997 ))) 1998 1998 |**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** 1999 -|(% rowspan="3" %)DSCL|Parameter 1| 2000 -|Parameter 2| 2001 -|Parameter 3| 2007 +|(% rowspan="3" %)DSCL|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 2008 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 2009 +|Parameter 3||||||||||||●|●|●|●|●|●|●|●|●|●||||●|● 2002 2002 2003 2003 **Features** 2004 2004 ... ... @@ -2034,13 +2034,13 @@ 2034 2034 2035 2035 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2036 2036 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2037 -|(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2038 -|(% rowspan="2" %)Point 1|X coordinate|(s2)+3, (s2)+2|R3, R2|K5| 2039 -|Y coordinate|(s2)+5, (s2)+4|R5, R4|K7| 2040 -|(% rowspan="2" %)Point 2|X coordinate|(s2)+7, (s2)+6|R7, R6|K20| 2041 -|Y coordinate|(s2)+9, (s2)+8|R9, R8|K30| 2042 -|(% rowspan="2" %)Point 3|X coordinate|(s2)+11, (s2)+10|R10, R11|K50| 2043 -|Y coordinate|(s2)+13, (s2)+12|R13, R12|K100| 2045 +|(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2046 +|(% rowspan="2" %)Point 1|X coordinate|(s2)+3, (s2)+2|R3, R2|K5| 2047 +|Y coordinate|(s2)+5, (s2)+4|R5, R4|K7| 2048 +|(% rowspan="2" %)Point 2|X coordinate|(s2)+7, (s2)+6|R7, R6|K20| 2049 +|Y coordinate|(s2)+9, (s2)+8|R9, R8|K30| 2050 +|(% rowspan="2" %)Point 3|X coordinate|(s2)+11, (s2)+10|R10, R11|K50| 2051 +|Y coordinate|(s2)+13, (s2)+12|R13, R12|K100| 2044 2044 |(% rowspan="2" %)Point 4|X coordinate|(s2)+15, (s2)+14|R15, R14|K200|(% rowspan="6" %)((( 2045 2045 if the coordinates are specified by 3 points, the intermediate value could be the output value. 2046 2046 ... ... @@ -2053,8 +2053,8 @@ 2053 2053 |Y coordinate|(s2)+21, (s2)+20|R21, R20|K70 2054 2054 |(% rowspan="2" %)Point 6|X coordinate|(s2)+23, (s2)+22|R23, R22|K200 2055 2055 |Y coordinate|(s2)+25, (s2)+24|R25, R24|K250 2056 -|(% rowspan="2" %)Point 7|X coordinate|(s2)+27, (s2)+26|R27, R26|K250| 2057 -|Y coordinate|(s2)+29, (s2)+28|R29, R28|K90| 2064 +|(% rowspan="2" %)Point 7|X coordinate|(s2)+27, (s2)+26|R27, R26|K250| 2065 +|Y coordinate|(s2)+29, (s2)+28|R29, R28|K90| 2058 2058 |(% rowspan="2" %)Point 8|X coordinate|(s2)+31, (s2)+30|R31, R30|K350|(% rowspan="4" %)((( 2059 2059 If the coordinates are specified by two points, the output value is the value of the Y coordinate of the next point. 2060 2060 ... ... @@ -2063,8 +2063,8 @@ 2063 2063 |Y coordinate|(s2)+33, (s2)+32|R33, R32|K90 2064 2064 |(% rowspan="2" %)Point 9|X coordinate|(s2)+35, (s2)+34|R35, R34|K350 2065 2065 |Y coordinate|(s2)+37, (s2)+36|R37, R36|K30 2066 -|(% rowspan="2" %)Point 10|X coordinate|(s2)+39, (s2)+38|R39, R38|K400| 2067 -|Y coordinate|(s2)+41, (s2)+40|R41, R40|K7| 2074 +|(% rowspan="2" %)Point 10|X coordinate|(s2)+39, (s2)+38|R39, R38|K400| 2075 +|Y coordinate|(s2)+41, (s2)+40|R41, R40|K7| 2068 2068 2069 2069 **Error code** 2070 2070 ... ... @@ -2114,9 +2114,9 @@ 2114 2114 **extension** 2115 2115 ))) 2116 2116 |**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** 2117 -|(% rowspan="3" %)SCL2|Parameter 1| 2118 -|Parameter 2| 2119 -|Parameter 3| 2125 +|(% rowspan="3" %)SCL2|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 2126 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 2127 +|Parameter 3||||||||||||●|●|●|●|●|●|●|●||||||●|● 2120 2120 2121 2121 **Features** 2122 2122 ... ... @@ -2153,27 +2153,27 @@ 2153 2153 2154 2154 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2155 2155 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2156 -|(% colspan="2" %)Coordinate points|(s2)|R0|K10| 2157 -|(% rowspan="10" %)X coordinate|Point 1|(s2)+1|R1|K5| 2158 -|Point 2|(s2)+2|R2|K20| 2159 -|Point 3|(s2)+3|R3|K50| 2160 -|Point 4|(s2)+4|R4|K200|(% rowspan="3" %)Refer to** 2164 +|(% colspan="2" %)Coordinate points|(s2)|R0|K10| 2165 +|(% rowspan="10" %)X coordinate|Point 1|(s2)+1|R1|K5| 2166 +|Point 2|(s2)+2|R2|K20| 2167 +|Point 3|(s2)+3|R3|K50| 2168 +|Point 4|(s2)+4|R4|K200|(% rowspan="3" %)Refer to** ✎1** 2161 2161 |Point 5|(s2)+5|R5|K200 2162 2162 |Point 6|(s2)+6|R6|K200 2163 -|Point 7|(s2)+7|R7|K250| 2164 -|Point 8|(s2)+8|R8|K350|(% rowspan="2" %)Refer to** 2171 +|Point 7|(s2)+7|R7|K250| 2172 +|Point 8|(s2)+8|R8|K350|(% rowspan="2" %)Refer to** ✎2** 2165 2165 |Point 9|(s2)+9|R9|K350 2166 -|Point 10|(s2)+10|R10|K400| 2167 -|(% rowspan="10" %)Y coordinate|Point 1|(s2)+11|R11|K7| 2168 -|Point 2|(s2)+12|R12|K30| 2169 -|Point 3|(s2)+13|R13|K100| 2174 +|Point 10|(s2)+10|R10|K400| 2175 +|(% rowspan="10" %)Y coordinate|Point 1|(s2)+11|R11|K7| 2176 +|Point 2|(s2)+12|R12|K30| 2177 +|Point 3|(s2)+13|R13|K100| 2170 2170 |Point 4|(s2)+14|R14|K25|(% rowspan="3" %)Refer to**✎1** 2171 2171 |Point 5|(s2)+15|R15|K70 2172 2172 |Point 6|(s2)+16|R16|K250 2173 -|Point 7|(s2)+17|R17|K90| 2174 -|Point 8|(s2)+18|R18|K90|(% rowspan="2" %)Refer to** 2181 +|Point 7|(s2)+17|R17|K90| 2182 +|Point 8|(s2)+18|R18|K90|(% rowspan="2" %)Refer to** ✎2** 2175 2175 |Point 9|(s2)+19|R19|K30 2176 -|Point 10|(s2)+20|R20|K7| 2184 +|Point 10|(s2)+20|R20|K7| 2177 2177 2178 2178 ✎**1** Like points 4, 5, and 6, if the coordinates are specified by 3 points, the intermediate value could be the output value. 2179 2179 ... ... @@ -2233,9 +2233,9 @@ 2233 2233 **extension** 2234 2234 ))) 2235 2235 |**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** 2236 -|(% rowspan="3" %)DSCL2|Parameter 1| 2237 -|Parameter 2| 2238 -|Parameter 3| 2244 +|(% rowspan="3" %)DSCL2|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 2245 +|Parameter 2|||||||||||||||||●|●|●||||||●|● 2246 +|Parameter 3||||||||||||●|●|●|●|●|●|●|●|●|●||||●|● 2239 2239 2240 2240 **Features** 2241 2241 ... ... @@ -2272,27 +2272,27 @@ 2272 2272 2273 2273 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2274 2274 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2275 -|(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2276 -|(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5| 2277 -|Point 2|(s2)+5, (s2)+4|R5, R4|K20| 2278 -|Point 3|(s2)+7, (s2)+6|R7, R6|K50| 2279 -|Point 4|(s2)+9, (s2)+8|R9, R8|K200|(% rowspan="3" %)Refer to** 2283 +|(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2284 +|(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5| 2285 +|Point 2|(s2)+5, (s2)+4|R5, R4|K20| 2286 +|Point 3|(s2)+7, (s2)+6|R7, R6|K50| 2287 +|Point 4|(s2)+9, (s2)+8|R9, R8|K200|(% rowspan="3" %)Refer to** ✎1** 2280 2280 |Point 5|(s2)+11, (s2)+10|R10, R11|K200 2281 2281 |Point 6|(s2)+13, (s2)+12|R13, R12|K200 2282 -|Point 7|(s2)+15, (s2)+14|R15, R14|K250| 2283 -|Point 8|(s2)+17, (s2)+16|R17, R16|K350|(% rowspan="2" %)Refer to** 2290 +|Point 7|(s2)+15, (s2)+14|R15, R14|K250| 2291 +|Point 8|(s2)+17, (s2)+16|R17, R16|K350|(% rowspan="2" %)Refer to** ✎2** 2284 2284 |Point 9|(s2)+19, (s2)+18|R19, R18|K350 2285 -|Point 10|(s2)+21, (s2)+20|R21, R20|K400| 2286 -|(% rowspan="10" %)Y coordinate|Point 1|(s2)+23, (s2)+22|R23, R22|K7| 2287 -|Point 2|(s2)+25, (s2)+24|R25, R24|K30| 2288 -|Point 3|(s2)+27, (s2)+26|R27, R26|K100| 2289 -|Point 4|(s2)+29, (s2)+28|R29, R28|K25|(% rowspan="3" %)Refer to** 2293 +|Point 10|(s2)+21, (s2)+20|R21, R20|K400| 2294 +|(% rowspan="10" %)Y coordinate|Point 1|(s2)+23, (s2)+22|R23, R22|K7| 2295 +|Point 2|(s2)+25, (s2)+24|R25, R24|K30| 2296 +|Point 3|(s2)+27, (s2)+26|R27, R26|K100| 2297 +|Point 4|(s2)+29, (s2)+28|R29, R28|K25|(% rowspan="3" %)Refer to** ✎1** 2290 2290 |Point 5|(s2)+31, (s2)+30|R31, R30|K70 2291 2291 |Point 6|(s2)+33, (s2)+32|R33, R32|K250 2292 -|Point 7|(s2)+35, (s2)+34|R35, R34|K90| 2293 -|Point 8|(s2)+37, (s2)+36|R37, R36|K90|(% rowspan="2" %)Refer to** 2300 +|Point 7|(s2)+35, (s2)+34|R35, R34|K90| 2301 +|Point 8|(s2)+37, (s2)+36|R37, R36|K90|(% rowspan="2" %)Refer to** ✎2** 2294 2294 |Point 9|(s2)+39, (s2)+38|R39, R38|K30 2295 -|Point 10|(s2)+41, (s2)+40|R41, R40|K7| 2303 +|Point 10|(s2)+41, (s2)+40|R41, R40|K7| 2296 2296 2297 2297 ✎**1** Like points 4, 5, and 6, if the coordinates are specified by 3 points, the intermediate value could be the output value. 2298 2298 ... ... @@ -2321,11 +2321,11 @@ 2321 2321 2322 2322 [[image:07-5 Basic instructions_html_91dbc16faa9d2ec3.png]] 2323 2323 2324 -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]] ,,;2332 +When -100 ≤D0(X) < 0, D100(Y)=,,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,; 2325 2325 2326 2326 when D0(X)=0, D100(Y)=0; 2327 2327 2328 -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]] ,,.2336 +when 0< D0(X) ≤ 100, D100(Y)=,,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,. 2329 2329 2330 2330 [[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 2331 2331 ... ... @@ -2353,10 +2353,10 @@ 2353 2353 **extension** 2354 2354 ))) 2355 2355 |**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** 2356 -|(% rowspan="4" %)ZONE|Parameter 1| 2357 -|Parameter 2| 2358 -|Parameter 3| 2359 -|Parameter 4| 2364 +|(% rowspan="4" %)ZONE|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 2365 +|Parameter 2|||||||||||●|●|●|●|●|●|●|●|●|||●|●||●|● 2366 +|Parameter 3|||||||||||●|●|●|●|●|●|●|●|●||||||●|● 2367 +|Parameter 4||||||||||||●|●|●|●|●|●|●|●||||||●|● 2360 2360 2361 2361 **Features** 2362 2362 ... ... @@ -2368,6 +2368,7 @@ 2368 2368 |When input value (s3)>0|Input value (s3) + positive offset value (s2) 2369 2369 2370 2370 2379 + 2371 2371 ((( 2372 2372 • 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. 2373 2373 ... ... @@ -2378,7 +2378,6 @@ 2378 2378 [[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png]] 2379 2379 2380 2380 2381 - 2382 2382 ))) 2383 2383 2384 2384 **Error code** ... ... @@ -2423,10 +2423,10 @@ 2423 2423 **extension** 2424 2424 ))) 2425 2425 |**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** 2426 -|(% rowspan="4" %)DZONE|Parameter 1| 2427 -|Parameter 2| 2428 -|Parameter 3| 2429 -|Parameter 4| 2434 +|(% rowspan="4" %)DZONE|Parameter 1|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 2435 +|Parameter 2|||||||||||●|●|●|●|●|●|●|●|●|●|●|●|●||●|● 2436 +|Parameter 3|||||||||||●|●|●|●|●|●|●|●|●|●|●||||●|● 2437 +|Parameter 4||||||||||||●|●|●|●|●|●|●|●|●|●||||●|● 2430 2430 2431 2431 **Features** 2432 2432 ... ... @@ -2438,6 +2438,7 @@ 2438 2438 |When input value ((s3), (s3)+1)>0|Input value ((s3), (s3)+1) + positive offset value (s2), (s2)+1 2439 2439 2440 2440 2449 + 2441 2441 ((( 2442 2442 • 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. 2443 2443