Changes for page 12 Clock operation

Last modified by Mora Zhou on 2023/11/21 17:27

From version 1.3
edited by Joey
on 2022/06/09 15:27
Change comment: (Autosaved)
To version 1.2
edited by Joey
on 2022/06/09 15:22
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -74,38 +74,38 @@
74 74  **Example**
75 75  
76 76  (((
77 -(1) LD£ instruction:
77 +(1) 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]]
81 -)))
82 -
83 -When the current value of counter C10 is 200, Y10 is set
84 -
85 85  When the content of D200 is above -29, and X1 is ON, Y11 is set
86 86  
87 -(2) AND£ instruction:
81 +LD£ instruction:
88 88  
89 89  (% style="text-align:center" %)
90 -[[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]]
84 +[[image:07-5 Basic instructions_html_1309199eccc7134.png]]
85 +)))
91 91  
87 +(2) AND£ instruction
88 +
92 92  (((
93 93  When X0 is ON, or when the current value of counter C10 is 200, Y10 is set
94 94  
95 95  When X1 is OFF, and the content of data counter D0 is not -10, Y11 is set
96 96  
94 +(% style="text-align:center" %)
95 +[[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]]
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 -
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
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="13" %)**Devices**|(((
138 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="14" %)**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**|**[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**|**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|●|●|●|●|●|●|●|●|●|●|●|●|●| |●|
162 162  
163 163  **Features**
164 164  
... ... @@ -183,16 +183,12 @@
183 183  
184 184  (1) LDD£ instruction:
185 185  
186 -(% style="text-align:center" %)
187 -[[image:07-5 Basic instructions_html_8acf0d489297c561.png]]
188 -
189 189  When the data of LC10 is 200000, Y10 is set, otherwise Y10 is reset.
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:
190 +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:
198 +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** ==
206 +{{id name="_Toc28789"/}}{{id name="_Toc29577"/}}**Single precision real number contact comparison instruction**
212 212  
213 -**LDE £, ANDE £, ORE £**
208 +[[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 command
212 +LDE: Normally open contact comparison command
218 218  
219 -ANDE£: Normally open contact series link comparison instruction
214 +ANDE: Normally open contact series link comparison instruction
220 220  
221 -ORE£: Normally open contact parallel link comparison instruction
216 +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"]]
220 +[[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
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_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**
232 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|(((
233 +**Offset**
234 +
235 +**modification**
240 240  )))|(((
241 -**Pulse extension**
237 +**Pulse**
238 +
239 +**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|●|●|●|●|●|●|●|●|●|
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| | | | | | | | | | | | | | |●|●|●|●|●|●|●| | |●|●|
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
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 range
282 282  
283 283  **Example**
284 284  
285 -(1) LDE£ instruction:
283 +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,21 +293,19 @@
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:
293 +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:
299 +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 -{{id name="_Toc16295"/}}**String comparison**
305 +{{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