Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -74,38 +74,38 @@ 74 74 **Example** 75 75 76 76 ((( 77 -(1) Whenthe currentvalue ofcounter C10is 200, Y10 is set77 +(1) LD£ instruction: 78 78 79 -When the content of D200 is above -29, and X1 is ON, Y11 is set 80 - 81 -LD£ instruction: 82 - 83 83 (% style="text-align:center" %) 84 84 [[image:07-5 Basic instructions_html_1309199eccc7134.png]] 85 85 ))) 86 86 87 - (2)AND£instruction83 +When the current value of counter C10 is 200, Y10 is set 88 88 89 -((( 90 -When X0 is ON, or when the current value of counter C10 is 200, Y10 is set 85 +When the content of D200 is above -29, and X1 is ON, Y11 is set 91 91 92 - WhenX1is OFF, andthecontent of data counter D0is not -10, Y11 is set87 +(2) AND£ instruction: 93 93 94 94 (% style="text-align:center" %) 95 95 [[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]] 96 96 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 97 98 98 ))) 99 99 100 100 (3) OR£ instruction: 101 101 102 +(% style="text-align:center" %) 103 +[[image:07-5 Basic instructions_html_8b000809015ea436.png]] 104 + 102 102 ((( 103 103 When X1 is ON, or when the current value of counter C10 is 200, Y0 is set 104 104 105 105 When X2 and M30 are ON, or the content of register D100 is K10000 and above, M60 is set 106 - 107 -(% style="text-align:center" %) 108 -[[image:07-5 Basic instructions_html_8b000809015ea436.png]] 109 109 ))) 110 110 111 111 == **Signed 32-bit contact comparison instruction** == ... ... @@ -135,30 +135,30 @@ 135 135 136 136 **Device used** 137 137 138 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="1 4" %)**Devices**|(((138 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 139 139 **Offset modification** 140 140 )))|((( 141 141 **Pulse extension** 142 142 ))) 143 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|** E**|**[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|●|●|●|●|●|●|●|●|●|●|●|●|●| |●|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 162 163 163 **Features** 164 164 ... ... @@ -183,12 +183,16 @@ 183 183 184 184 (1) LDD£ instruction: 185 185 186 +(% style="text-align:center" %) 187 +[[image:07-5 Basic instructions_html_8acf0d489297c561.png]] 188 + 186 186 When the data of LC10 is 200000, Y10 is set, otherwise Y10 is reset. 187 187 188 188 When the 32-bit data composed of D201 and D200 exceeds -5000, and X1 is ON, Y11 is turned ON. 189 189 190 - 1.ANDD£ instruction:193 +(2) ANDD£ instruction: 191 191 195 +(% style="text-align:center" %) 192 192 [[image:07-5 Basic instructions_html_38be93eec0ced6c.png]] 193 193 194 194 When X0 is ON and the value of LC10 is 200000, Y10 is set, otherwise it is reset. ... ... @@ -195,8 +195,9 @@ 195 195 196 196 When X1 is OFF and the 32-bit data composed of D1 and D0 is not equal to K-50000, Y11 is set. 197 197 198 - 1.ORD£ instruction:202 +(3) ORD£ instruction: 199 199 204 +(% style="text-align:center" %) 200 200 [[image:07-5 Basic instructions_html_8ebfc7b0562cf370.png]] 201 201 202 202 When X1 is ON, or the data of LC10 is equal to the data of LC10 is equal to 200000, Y0 is set. ... ... @@ -203,21 +203,22 @@ 203 203 204 204 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. 205 205 206 - {{id name="_Toc28789"/}}{{id name="_Toc29577"/}}**Single precision real number contact comparison instruction**211 +== **Single precision real number contact comparison instruction** == 207 207 208 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**LDE £, ANDE £, ORE £**213 +**LDE £, ANDE £, ORE £** 209 209 210 210 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. 211 211 212 -LDE □: Normally open contact comparison command217 +LDE£: Normally open contact comparison command 213 213 214 -ANDE □: Normally open contact series link comparison instruction219 +ANDE£: Normally open contact series link comparison instruction 215 215 216 -ORE □: Normally open contact parallel link comparison instruction221 +ORE£: Normally open contact parallel link comparison instruction 217 217 218 218 **Ladder diagram** 219 219 220 -[[image:07-5 Basic instructions_html_6ac28f30e24ad296.png]] 225 +(% style="text-align:center" %) 226 +[[image:07-5 Basic instructions_html_6ac28f30e24ad296.png||height="352" width="550"]] 221 221 222 222 “=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£” 223 223 ... ... @@ -224,39 +224,35 @@ 224 224 **Content, range and data type** 225 225 226 226 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 227 -|(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_32233 +|(s1)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32 228 228 |(s2)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32 229 229 230 230 **Device used** 231 231 232 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 233 -**Offset** 234 - 235 -**modification** 238 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|((( 239 +**Offset modification** 236 236 )))|((( 237 -**Pulse** 238 - 239 -**extension** 241 +**Pulse extension** 240 240 ))) 241 -|** 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**242 -|LDE=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|243 -|LDE>|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|244 -|LDE<|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|245 -|LDE>=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|246 -|LDE<=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|247 -|LDE<>|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|248 -|ANDE=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|249 -|ANDE>|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|250 -|ANDE<|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|251 -|ANDE>=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|252 -|ANDE<=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|253 -|ANDE<>|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|254 -|ORE=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|255 -|ORD>|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|256 -|ORE<|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|257 -|ORE>=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|258 -|ORE<=|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|259 -|ORE<>|s1, s2| | | | | | | | | | | | | | |●|●|●|●|●|●|●|| |●|●|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|●|●|●|●|●|●|●|●|●| 260 260 261 261 **Features** 262 262 ... ... @@ -275,13 +275,14 @@ 275 275 **Error code** 276 276 277 277 |**Error code**|**Content** 278 -|4084H| {{id name="OLE_LINK340"/}}When the content of the specified device by (s1) and (s2) is an irregular number, a non-number, or ±∞279 -|4085H| {{id name="OLE_LINK343"/}}The read address of (s1) and (s2exceeds the device range280 +|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 280 280 281 281 **Example** 282 282 283 -1 .LDE£ instruction:285 +(1) LDE£ instruction: 284 284 287 +(% style="text-align:center" %) 285 285 [[image:07-5 Basic instructions_html_c4c820cf59601493.png]] 286 286 287 287 When the real number input in D0 is equal to E1.23, Y10 is ON, otherwise Y10 is OFF. ... ... @@ -290,19 +290,21 @@ 290 290 291 291 If the input in D0, R0, LC0 is not a real number, it will report H4084 error. 292 292 293 - 1.ANDE£ instruction:296 +(2) ANDE£ instruction: 294 294 298 +(% style="text-align:center" %) 295 295 [[image:07-5 Basic instructions_html_7cdd2117360e179b.png]] 296 296 297 297 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. 298 298 299 - 1.ORE£ instruction:303 +(3) ORE£ instruction: 300 300 305 +(% style="text-align:center" %) 301 301 [[image:07-5 Basic instructions_html_3eba0bd56176441d.png]] 302 302 303 303 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. 304 304 305 -{{id name="_Toc16295"/}} {{id name="_Toc20251"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**String comparison**310 +{{id name="_Toc16295"/}}**String comparison** 306 306 307 307 **LDS£、ANDS£、 ORS£** 308 308