Changes for page 12 Clock operation

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

From version 1.12
edited by Joey
on 2022/06/09 16:12
Change comment: (Autosaved)
To version 4.1
edited by Jim
on 2022/07/13 16:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +12 Clock operation instruction
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome
1 +PLC Editor2.1 User manual.2\.1 LX5V user manual.07.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Joey
1 +XWiki.Jim
Content
... ... @@ -1,388 +386,3 @@
1 -= **Contact comparison instruction** =
2 -
3 -== **Signed 16-bit contact comparison instruction** ==
4 -
5 -**LD £, AND £, OR £**
6 -
7 -The BIN 16-bit data of the device specified in (s1) and the BIN 16-bit data of the device specified in (s2) are compared by normal open contact processing.
8 -
9 -LD£: Normally open contact comparison instruction
10 -
11 -AND£: Normally open contact series connection comparison instruction
12 -
13 -OR£: Normally open contact parallel connection comparison instruction
14 -
15 -**Ladder diagram**
16 -
17 -(% style="text-align:center" %)
18 -[[image:07-5 Basic instructions_html_63210db6b7e1512f.png]]
19 -
20 -(You can enter "=", "<>", ">", "<", ">=", "<=" in "£")
21 -
22 -**Content, range and data type**
23 -
24 -|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
25 -|(s1)|Comparison data or device storing comparison data|-32768 to 32767|Signed BIN 16 bit|ANY16_S
26 -|(s2)|Comparison data or device storing comparison data|-32768 to 32767|Signed BIN 16 bit|ANY16_S
27 -
28 -**Device used**
29 -
30 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|(((
31 -**Offset modification**
32 -)))|(((
33 -**Pulse extension**
34 -)))
35 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
36 -|LD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
37 -|LD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
38 -|LD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
39 -|LD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
40 -|LD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
41 -|LD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
42 -|AND=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
43 -|AND>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
44 -|AND<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
45 -|AND>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
46 -|AND<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
47 -|AND<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
48 -|OR=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
49 -|OR>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
50 -|OR<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
51 -|OR>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
52 -|OR<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
53 -|OR<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|
54 -
55 -**Features**
56 -
57 -The BIN 16-bit data of the device specified in (s1) and the BIN 16-bit data of the device specified in (s2) are compared by normal open contact processing.
58 -
59 -The comparison operation result of each instruction is shown below.
60 -
61 -|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result**
62 -|==|(s1)=(s2)|(% rowspan="6" %)On state|==|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state
63 -|<>|(s1)≠(s2)|<>|(s1)=(s2)
64 -|>|(s1)>(s2)|>|(s1)≤(s2)
65 -|<|(s1)<(s2)|<|(s1)≥(s2)
66 -|>=|(s1)≥(s2)|>=|(s1)<(s2)
67 -|<=|(s1)≤(s2)|<=|(s1)>(s2)
68 -
69 -**Error code**
70 -
71 -|**Error code**|**Content**
72 -|4085H|(s) read address exceeds the device range
73 -
74 -**Example**
75 -
76 -(((
77 -(1) LD£ instruction:
78 -
79 -(% style="text-align:center" %)
80 -[[image:07-5 Basic instructions_html_1309199eccc7134.png]]
81 -)))
82 -
83 -When the current value of counter C10 is 200, Y10 is set
84 -
85 -When the content of D200 is above -29, and X1 is ON, Y11 is set
86 -
87 -(2) AND£ instruction:
88 -
89 -(% style="text-align:center" %)
90 -[[image:07-5 Basic instructions_html_1c966f74b0bd808e.png]]
91 -
92 -(((
93 -When X0 is ON, or when the current value of counter C10 is 200, Y10 is set
94 -
95 -When X1 is OFF, and the content of data counter D0 is not -10, Y11 is set
96 -
97 -
98 -)))
99 -
100 -(3) OR£ instruction:
101 -
102 -(% style="text-align:center" %)
103 -[[image:07-5 Basic instructions_html_8b000809015ea436.png]]
104 -
105 -(((
106 -When X1 is ON, or when the current value of counter C10 is 200, Y0 is set
107 -
108 -When X2 and M30 are ON, or the content of register D100 is K10000 and above, M60 is set
109 -)))
110 -
111 -== **Signed 32-bit contact comparison instruction** ==
112 -
113 -**LDD £, ANDD £, ORD £**
114 -
115 -The BIN 32-bit data of the device specified in (s1) and the BIN 32-bit data of the device specified in (s2) are compared by normal open contact processing.
116 -
117 -LDD£: Normally open contact comparison command
118 -
119 -ANDD£: Normally open contact series link comparison instruction
120 -
121 -ORD£: Normally open contact parallel link comparison instruction
122 -
123 -**Ladder diagram**
124 -
125 -(% style="text-align:center" %)
126 -[[image:07-5 Basic instructions_html_63210db6b7e1512f.png]]
127 -
128 -“=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£”
129 -
130 -**Content, range and data type**
131 -
132 -|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
133 -|(s1)|Comparison data or device storing comparison data|-2147483648 to 2147483647|Signed BIN 32 bit|ANY32_S
134 -|(s2)|Comparison data or device storing comparison data|-2147483648 to 2147483647|Signed BIN 32 bit|ANY32_S
135 -
136 -**Device used**
137 -
138 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|(((
139 -**Offset modification**
140 -)))|(((
141 -**Pulse extension**
142 -)))
143 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP**
144 -|LDD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
145 -|LDD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
146 -|LDD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
147 -|LDD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
148 -|LDD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
149 -|LDD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
150 -|ANDD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
151 -|ANDD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
152 -|ANDD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
153 -|ANDD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
154 -|ANDD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
155 -|ANDD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
156 -|ORD=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
157 -|ORD>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
158 -|ORD<|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
159 -|ORD>=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
160 -|ORD<=|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
161 -|ORD<>|s1, s2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|
162 -
163 -**Features**
164 -
165 -The BIN 32-bit data of the device specified in (s1) and the BIN 32-bit data of the device specified in (s2) are compared by normal open contact processing.
166 -
167 -The comparison operation result of each instruction is shown below.
168 -
169 -|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result**
170 -|==|(s1)=(s2)|(% rowspan="6" %)On state|==|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state
171 -|<>|(s1)≠(s2)|<>|(s1)=(s2)
172 -|>|(s1)>(s2)|>|(s1)≤(s2)
173 -|<|(s1)<(s2)|<|(s1)≥(s2)
174 -|>=|(s1)≥(s2)|>=|(s1)<(s2)
175 -|<=|(s1)≤(s2)|<=|(s1)>(s2)
176 -
177 -**Error code**
178 -
179 -|**Error code**|**Content**
180 -|4085H|(S) read address exceeds the device range
181 -
182 -**Example**
183 -
184 -(1) LDD£ instruction:
185 -
186 -(% style="text-align:center" %)
187 -[[image:07-5 Basic instructions_html_8acf0d489297c561.png]]
188 -
189 -When the data of LC10 is 200000, Y10 is set, otherwise Y10 is reset.
190 -
191 -When the 32-bit data composed of D201 and D200 exceeds -5000, and X1 is ON, Y11 is turned ON.
192 -
193 -(2) ANDD£ instruction:
194 -
195 -(% style="text-align:center" %)
196 -[[image:07-5 Basic instructions_html_38be93eec0ced6c.png]]
197 -
198 -When X0 is ON and the value of LC10 is 200000, Y10 is set, otherwise it is reset.
199 -
200 -When X1 is OFF and the 32-bit data composed of D1 and D0 is not equal to K-50000, Y11 is set.
201 -
202 -(3) ORD£ instruction:
203 -
204 -(% style="text-align:center" %)
205 -[[image:07-5 Basic instructions_html_8ebfc7b0562cf370.png]]
206 -
207 -When X1 is ON, or the data of LC10 is equal to the data of LC10 is equal to 200000, Y0 is set.
208 -
209 -When X2 and M30 are set, or the double word data composed of D101 and D100 is greater than or equal to 100000, M60 is set.
210 -
211 -== **Single precision real number contact comparison instruction** ==
212 -
213 -**LDE £, ANDE £, ORE £**
214 -
215 -The single precision real number of the device specified in (s1) and the single precision real number of the device specified in (s2) are compared by normal open contact processing.
216 -
217 -LDE£: Normally open contact comparison command
218 -
219 -ANDE£: Normally open contact series link comparison instruction
220 -
221 -ORE£: Normally open contact parallel link comparison instruction
222 -
223 -**Ladder diagram**
224 -
225 -(% style="text-align:center" %)
226 -[[image:07-5 Basic instructions_html_6ac28f30e24ad296.png||height="352" width="550"]]
227 -
228 -“=”, “<>”, “>”, “<”, “>=”, “<=” can be input in “£”
229 -
230 -**Content, range and data type**
231 -
232 -|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
233 -|(s1)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32
234 -|(s2)|Comparison data or the device start number storing the comparison data|0, 2^^-126^^ ≤~|(s)~|< 2^^128^^|Single precision real number|ANYREAL_32
235 -
236 -**Device used**
237 -
238 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|(((
239 -**Offset modification**
240 -)))|(((
241 -**Pulse extension**
242 -)))
243 -|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**E**|**[D]**|**XXP**
244 -|LDE=|s1, s2|●|●|●|●|●|●|●|●|●|
245 -|LDE>|s1, s2|●|●|●|●|●|●|●|●|●|
246 -|LDE<|s1, s2|●|●|●|●|●|●|●|●|●|
247 -|LDE>=|s1, s2|●|●|●|●|●|●|●|●|●|
248 -|LDE<=|s1, s2|●|●|●|●|●|●|●|●|●|
249 -|LDE<>|s1, s2|●|●|●|●|●|●|●|●|●|
250 -|ANDE=|s1, s2|●|●|●|●|●|●|●|●|●|
251 -|ANDE>|s1, s2|●|●|●|●|●|●|●|●|●|
252 -|ANDE<|s1, s2|●|●|●|●|●|●|●|●|●|
253 -|ANDE>=|s1, s2|●|●|●|●|●|●|●|●|●|
254 -|ANDE<=|s1, s2|●|●|●|●|●|●|●|●|●|
255 -|ANDE<>|s1, s2|●|●|●|●|●|●|●|●|●|
256 -|ORE=|s1, s2|●|●|●|●|●|●|●|●|●|
257 -|ORD>|s1, s2|●|●|●|●|●|●|●|●|●|
258 -|ORE<|s1, s2|●|●|●|●|●|●|●|●|●|
259 -|ORE>=|s1, s2|●|●|●|●|●|●|●|●|●|
260 -|ORE<=|s1, s2|●|●|●|●|●|●|●|●|●|
261 -|ORE<>|s1, s2|●|●|●|●|●|●|●|●|●|
262 -
263 -**Features**
264 -
265 -The single precision real number of the device specified in (s1) and the single precision real number of the device specified in (s2) are compared by normal open contact processing.
266 -
267 -The comparison operation result of each instruction is shown below.
268 -
269 -|**Instruction Sign**|**Condition**|**Comparison operation result**|**Instruction Sign**|**Condition**|**Comparison operation result**
270 -|E=|(s1)=(s2)|(% rowspan="6" %)On state|E=|(s1)≠(s2)|(% rowspan="6" %)Non-conduction state
271 -|E<>|(s1)≠(s2)|E<>|(s1)=(s2)
272 -|E>|(s1)>(s2)|E>|(s1)≤(s2)
273 -|E<|(s1)<(s2)|E<|(s1)≥(s2)
274 -|E>=|(s1)≥(s2)|E>=|(s1)<(s2)
275 -|E<=|(s1)≤(s2)|E<=|(s1)>(s2)
276 -
277 -**Error code**
278 -
279 -|**Error code**|**Content**
280 -|4084H|When the content of the specified device by (s1) and (s2) is an irregular number, a non-number, or ±∞
281 -|4085H|The read address of (s1) and (s2exceeds the device range
282 -
283 -**Example**
284 -
285 -(1) LDE£ instruction:
286 -
287 -(% style="text-align:center" %)
288 -[[image:07-5 Basic instructions_html_c4c820cf59601493.png]]
289 -
290 -When the real number input in D0 is equal to E1.23, Y10 is ON, otherwise Y10 is OFF.
291 -
292 -When the real number in R0 is greater than or equal to the real number in LC0, Y11 is ON, otherwise it is OFF.
293 -
294 -If the input in D0, R0, LC0 is not a real number, it will report H4084 error.
295 -
296 -(2) ANDE£ instruction:
297 -
298 -(% style="text-align:center" %)
299 -[[image:07-5 Basic instructions_html_7cdd2117360e179b.png]]
300 -
301 -Only when M0 is ON and D2 real number is not equal to E1.23 and R2 real number is less than real number LC2 , Y12 is ON, otherwise all are OFF.
302 -
303 -(3) ORE£ instruction:
304 -
305 -(% style="text-align:center" %)
306 -[[image:07-5 Basic instructions_html_3eba0bd56176441d.png]]
307 -
308 -When the real number of R4 is less than or equal to the real number of R15, or the real number R6 is equal to the real number R20, Y13 is ON, otherwise Y13 is OFF.
309 -
310 -== **String comparison** ==
311 -
312 -**LDS£、ANDS£、 ORS£**
313 -
314 -Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2).
315 -
316 -LDS£: String comparison instruction
317 -
318 -ANDS£: String serial connection comparison instruction
319 -
320 -ORS£: String parallel connection comparison instruction
321 -
322 -**Ladder diagram**
323 -
324 -(% style="text-align:center" %)
325 -[[image:07-5 Basic instructions_html_5fb3b3b70645fef5.png||height="371" width="550"]]
326 -
327 -“=” and “<>” could be entered in “£”
328 -
329 -**Content, range and data type**
330 -
331 -|**Parameter**|**Content**|**Range**|**Date type**|**Date type(label)**
332 -|(S1)|Connection data or the device start number storing the data or the string specified directly|-|String|ANYSTRING_SINGLE
333 -|(S1)|Connection data or the device start number storing the data or the string specified directly|-|String|ANYSTRING_SINGLE
334 -
335 -**Device used**
336 -
337 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|(((
338 -**Offset modification**
339 -)))|(((
340 -**Pulse extension**
341 -)))
342 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP**
343 -|LDS=|s1、s2|●|●|●|●|●|●|●|●|●|●|
344 -|LDS<>|s1、s2|●|●|●|●|●|●|●|●|●|●|
345 -|ANDS=|s1、s2|●|●|●|●|●|●|●|●|●|●|
346 -|ANDS<>|s1、s2|●|●|●|●|●|●|●|●|●|●|
347 -|ORS=|s1、s2|●|●|●|●|●|●|●|●|●|●|
348 -|ORS<>|s1、s2|●|●|●|●|●|●|●|●|●|●|
349 -
350 -**Features**
351 -
352 -• Compare the string stored after the device number specified in (s1) with the string stored after the device number specified in (s2).
353 -
354 -• The comparison operation result of each instruction is shown below.
355 -
356 -|**Instruction sign**|**Condition**|**Comparison operation result**|**Instruction sign**|**Condition**|**Comparison operation result**
357 -|==|(s1)=(s2)|(% rowspan="2" %)On stat|==|(s1)≠(s2)|(% rowspan="2" %)Non-conduction state
358 -|<>|(s1)≠(s2)|<>|(s1)=(s2)
359 -
360 -**Error code**
361 -
362 -|**Error code**|**Content**
363 -|4085H|The read address of (s1) or (s2) exceeds the device range
364 -|408AH|The length of the read string of (s1) or (s2) exceeds, and the continuous length of the string exceeds 400 characters.
365 -|408BH|When (s1) or (s2) reading the string, the maximum range of the device is read but 00H is not found as the end.
366 -
367 -**Example**
368 -
369 -(1) LDS£ instruction:
370 -
371 -(% style="text-align:center" %)
372 -[[image:07-5 Basic instructions_html_449a071f61ff5b58.png]]
373 -
374 -(2) ANDS£ instruction:
375 -
376 -(% style="text-align:center" %)
377 -[[image:07-5 Basic instructions_html_dd6aa995d193bdd2.png]]
378 -
379 -(3) ORS£ instruction:
380 -
381 -(% style="text-align:center" %)
382 -[[image:07-5 Basic instructions_html_4f8fb7c94f87c58d.png]]
383 -
384 -= **Clock operation instruction** =
385 -
386 386  == **TADD/The addition of clock data** ==
387 387  
388 388  **TADD(P)**
... ... @@ -1624,7 +1624,6 @@
1624 1624  |4085H|The read address of (s) exceeds the device range.
1625 1625  |4086H|The write address of (d) exceeds the device range.
1626 1626  
1627 -
1628 1628  (((
1629 1629  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.
1630 1630  
... ... @@ -2178,21 +2178,23 @@
2178 2178  When the number of start coordinate points of device (s2) is less than 0.
2179 2179  )))
2180 2180  
2181 -**Example**
1795 +**Example**
2182 2182  
2183 -[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] [[image:07-5 Basic instructions_html_de529c9a16a62ef0.png]]
1797 +(% style="text-align:center" %)
1798 +[[image:07-5 Basic instructions_html_de529c9a16a62ef0.png||height="316" width="400"]]
2184 2184  
2185 -When -100 ≤D0 (X) < 0, D100(Y)=
1800 +When -100 ≤D0 (X) < 0, D100(Y)=[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]]
2186 2186  
2187 -[[image:07-5 Basic instructions_html_9acd6306c6d91847.gif]] when D0(X)=0, D100(Y)=0;
1802 +When D0(X)=0, D100(Y)=0;
2188 2188  
2189 -when 0 < D0(X) ≤ 100, D100(Y)=
1804 +When 0 < D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]][[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]],,
2190 2190  
2191 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]]
1806 +(% style="text-align:center" %)
1807 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]]
2192 2192  
2193 -{{id name="_Toc5608"/}}{{id name="_Toc1756"/}}{{id name="_Toc21402"/}}**DSCL2/BIN 32-bit unit scale (X/Y coordinate data)**
1809 +== **DSCL2/BIN 32-bit unit scale (X/Y coordinate data)** ==
2194 2194  
2195 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL2(P)**
1811 +**DSCL2(P)**
2196 2196  
2197 2197  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).
2198 2198  
... ... @@ -2207,15 +2207,13 @@
2207 2207  
2208 2208  **Device used**
2209 2209  
2210 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|(((
2211 -**Pulse**
2212 -
2213 -**extension**
1826 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|(((
1827 +**Pulse extension**
2214 2214  )))
2215 -|**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**
2216 -|(% rowspan="3" %)DSCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
2217 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|●
2218 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|●
1829 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP**
1830 +|(% rowspan="3" %)DSCL2|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|●
1831 +|Parameter 2| | | | | | |●|●|●| | | | |●|●
1832 +|Parameter 3| |●|●|●|●|●|●|●|●|●|●| | |●|●
2219 2219  
2220 2220  **Features**
2221 2221  
... ... @@ -2226,13 +2226,14 @@
2226 2226  |(% rowspan="4" %)X coordinate|Point 1|(s2)+3, (s2)+2
2227 2227  |Point 2|(s2)+5, (s2)+4
2228 2228  |.....|......
2229 -|Point n|(s2)+2n+1, (s2)+2n
2230 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2n+3, (s2)+2n+2
2231 -|Point 2|(s2)+2n+5, (s2)+2n+4
1843 +|Point N|(s2)+2N+1, (s2)+2N
1844 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2N+3, (s2)+2N+2
1845 +|Point 2|(s2)+2N+5, (s2)+2N+4
2232 2232  |.....|.....
2233 -|Point n|(s2)+4n+1, (s2)+4n
1847 +|Point N|(s2)+4N+1, (s2)+4N
2234 2234  
2235 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]]
1849 +(% style="text-align:center" %)
1850 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]]
2236 2236  
2237 2237  • If the operation result is not an integer value, round the first digit below the decimal point.
2238 2238  
... ... @@ -2248,9 +2248,10 @@
2248 2248  
2249 2249  In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet.
2250 2250  
2251 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]]
1866 +(% style="text-align:center" %)
1867 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]]
2252 2252  
2253 -|(% colspan="2" rowspan="2" %)**Set &nbsp;&nbsp;&nbsp;&nbsp;items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks**
1869 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks**
2254 2254  |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content**
2255 2255  |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10|
2256 2256  |(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5|
... ... @@ -2299,19 +2299,21 @@
2299 2299  
2300 2300  **Example**
2301 2301  
1918 +(% style="text-align:center" %)
2302 2302  [[image:07-5 Basic instructions_html_91dbc16faa9d2ec3.png]]
2303 2303  
2304 -When -100 ≤D0(X) < 0, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]],,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,;
1921 +When -100 ≤D0(X) < 0, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]][[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]],,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,;
2305 2305  
2306 2306  when D0(X)=0, D100(Y)=0;
2307 2307  
2308 -when 0< D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,.
1925 +when 0< D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]][[image:/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07/12/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,.
2309 2309  
2310 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]]
1927 +(% style="text-align:center" %)
1928 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]]
2311 2311  
2312 -{{id name="_Toc32057"/}}{{id name="_Toc9941"/}}{{id name="_Toc6492"/}}**ZONE/BIN 16-bit data zone control**
1930 +== **ZONE/BIN 16-bit data zone control** ==
2313 2313  
2314 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **ZONE(P)**
1932 +**ZONE(P)**
2315 2315  
2316 2316  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).
2317 2317  
... ... @@ -2327,16 +2327,14 @@
2327 2327  
2328 2328  **Device used**
2329 2329  
2330 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|(((
2331 -**Pulse**
2332 -
2333 -**extension**
1948 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|(((
1949 +**Pulse extension**
2334 2334  )))
2335 -|**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**
2336 -|(% rowspan="4" %)ZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|●
2337 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|●
2338 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|●
2339 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|●
1951 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
1952 +|(% rowspan="4" %)ZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●
1953 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●
1954 +|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|●
1955 +|Parameter 4| |●|●|●|●|●|●|●|●| | |●|●
2340 2340  
2341 2341  **Features**
2342 2342  
... ... @@ -2347,7 +2347,6 @@
2347 2347  |When input value (s3)=0|0
2348 2348  |When input value (s3)>0|Input value (s3) + positive offset value (s2)
2349 2349  
2350 -
2351 2351  (((
2352 2352  • 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.
2353 2353  
... ... @@ -2355,10 +2355,8 @@
2355 2355  
2356 2356  the output value = -32768+(-100)=8000H-FF9CH=7F9CH=32668.
2357 2357  
2358 -[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png]]
2359 -
2360 -
2361 -
1973 +(% style="text-align:center" %)
1974 +[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png||height="399" width="550"]]
2362 2362  )))
2363 2363  
2364 2364  **Error code**
... ... @@ -2369,6 +2369,7 @@
2369 2369  
2370 2370  **Example**
2371 2371  
1985 +(% style="text-align:center" %)
2372 2372  [[image:07-5 Basic instructions_html_5da523c7765bf5be.png]]
2373 2373  
2374 2374  When X000 is ON
... ... @@ -2379,9 +2379,9 @@
2379 2379  
2380 2380  • When 0<D0, the value of (D0)+(1,000) is stored in D1.
2381 2381  
2382 -{{id name="_Toc28351"/}}{{id name="_Toc11023"/}}{{id name="_Toc30269"/}}**DZONE/BIN 32-bit data zone control**
1996 +== **DZONE/BIN 32-bit data zone control** ==
2383 2383  
2384 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] DZONE(P)
1998 +DZONE(P)
2385 2385  
2386 2386  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).
2387 2387  
... ... @@ -2397,16 +2397,14 @@
2397 2397  
2398 2398  **Device used**
2399 2399  
2400 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|(((
2401 -**Pulse**
2402 -
2403 -**extension**
2014 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|(((
2015 +**Pulse extension**
2404 2404  )))
2405 -|**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**
2406 -|(% rowspan="4" %)DZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
2407 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
2408 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|●
2409 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|●
2017 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP**
2018 +|(% rowspan="4" %)DZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|●
2019 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|●
2020 +|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|●
2021 +|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|●
2410 2410  
2411 2411  **Features**
2412 2412  
... ... @@ -2417,12 +2417,12 @@
2417 2417  |When input value ((s3), (s3)+1)=0|0
2418 2418  |When input value ((s3), (s3)+1)>0|Input value ((s3), (s3)+1) + positive offset value (s2), (s2)+1
2419 2419  
2420 -
2421 2421  (((
2422 2422  • 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.
2423 2423  
2424 2424  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.
2425 2425  
2037 +(% style="text-align:center" %)
2426 2426  [[image:07-5 Basic instructions_html_2f3a96a2565c75c7.png]]
2427 2427  )))
2428 2428  
... ... @@ -2434,7 +2434,8 @@
2434 2434  
2435 2435  **Example**
2436 2436  
2437 -[[image:07-5 Basic instructions_html_b831b14748df07ab.png]]
2049 +(% style="text-align:center" %)
2050 +[[image:07-5 Basic instructions_html_b831b14748df07ab.png||height="51" width="401"]]
2438 2438  
2439 2439  • When (D1, D0)<0, the value of (D1, D0)+(-10,000) is stored in (D11, D10).
2440 2440