Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
To version 1.14
edited by Joey
on 2022/06/09 16:19
on 2022/06/09 16:19
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1167,9 +1167,10 @@ 1167 1167 1168 1168 Compare the time of the reference time (hour, minute, second) [(s1), (s2), (s3)] with the time data (hour, minute, second) [(s4), (s4)+1, (s4) +2] Compare the size and turn on/off the 3 points from (d) according to the result of the same size. 1169 1169 1170 -[[image:07-5 Basic instructions_html_5df7ad3057fada12.png]] 1170 +(% style="text-align:center" %) 1171 +[[image:07-5 Basic instructions_html_5df7ad3057fada12.png||height="385" width="750"]] 1171 1171 1172 -✎**Note** 1173 +✎**Note:** 1173 1173 1174 1174 The device specified in (s4) and (d) occupies 3 points. Be careful not to overlap with the device used for machine control. 1175 1175 ... ... @@ -1183,26 +1183,29 @@ 1183 1183 |4084H|((( 1184 1184 When the value specified in (s) and (s4) is not in the range of 0 to 23 1185 1185 1186 - {{id name="OLE_LINK355"/}}When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 591187 +When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 59 1187 1187 ))) 1188 1188 1189 1189 **Example** 1190 1190 1191 -[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png]] 1192 +(% style="text-align:center" %) 1193 +[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png||height="68" width="359"]] 1192 1192 1193 1193 Set D10 to 1, D11 to 30, D12 to 0 1194 1194 1195 1195 When M0 is turned on, the time that D23 will come is 0:31:27 1196 1196 1197 -[[image:07-5 Basic instructions_html_de97dd7a612b2323.png]] 1199 +(% style="text-align:center" %) 1200 +[[image:07-5 Basic instructions_html_de97dd7a612b2323.png||height="50" width="653"]] 1198 1198 1199 1199 M10 is turned ON 1200 1200 1201 -[[image:07-5 Basic instructions_html_56e2d606adc09fd.png]] 1204 +(% style="text-align:center" %) 1205 +[[image:07-5 Basic instructions_html_56e2d606adc09fd.png||height="52" width="239"]] 1202 1202 1203 - {{id name="_Toc29031"/}}{{id name="_Toc22923"/}}**TZCP/Clock data bandwidth comparison**1207 +== **TZCP/Clock data bandwidth comparison** == 1204 1204 1205 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**TZCP(P)**1209 +**TZCP(P)** 1206 1206 1207 1207 Compare the comparison time of the high and low points specified in (s1) and (s2) with the time data specified in (s3), and turn the bit device specified in (d) ON/OFF according to its size and bandwidth. 1208 1208 ... ... @@ -1212,46 +1212,37 @@ 1212 1212 1213 1213 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1214 1214 |(s1)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 1215 -ANY16_ARRAY 1216 - 1217 -(number of elements: 3) 1219 +ANY16_ARRAY (number of elements: 3) 1218 1218 ))) 1219 1219 |(s2)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 1220 -ANY16_ARRAY 1221 - 1222 -(number of elements: 3) 1222 +ANY16_ARRAY (number of elements: 3) 1223 1223 ))) 1224 1224 |(s3)|Specify "hour" of time data (hour, minute, second)|-|Signed BIN 16 bit|((( 1225 -ANY16_ARRAY 1226 - 1227 -(number of elements: 3) 1225 +ANY16_ARRAY (number of elements: 3) 1228 1228 ))) 1229 1229 |(d)|The bit device is turned ON/OFF according to the comparison result.|-|Bit|((( 1230 -ANY16_ARRAY 1231 - 1232 -(number of elements: 3) 1228 +ANY16_ARRAY (number of elements: 3) 1233 1233 ))) 1234 1234 1235 1235 **Device used** 1236 1236 1237 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1238 -**Pulse** 1239 - 1240 -**extension** 1233 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1234 +**Pulse extension** 1241 1241 ))) 1242 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1243 -|(% rowspan="4" %)TZCP|Parameter 1| | | | | | | | | | | | | | |●|●|●|●|●|| | | | |●|●1244 -|Parameter 2| | | | | | | | | | | | | | |●|●|●|●|●|| | | | |●|●1245 -|Parameter 3| | | | | | | | | | | | | | |●|●|●|●|●|| | | | |●|●1246 -|Parameter 4| |●|●|●|●|| | | |●| | | | | || | | | | | | | |●|●1236 +|**Y**|**M**|**S**|**SM**|**D.b**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1237 +|(% rowspan="4" %)TZCP|Parameter 1| | | | | |●|●|●|●|●|●|● 1238 +|Parameter 2| | | | | |●|●|●|●|●|●|● 1239 +|Parameter 3| | | | | |●|●|●|●|●|●|● 1240 +|Parameter 4|●|●|●|●|●| | | | | |●|● 1247 1247 1248 1248 **Features** 1249 1249 1250 1250 Compare the comparison time of the high and low points specified in (s1) and (s2) with the time data specified in (s3), and turn the bit device specified in (d) ON/OFF according to its size and bandwidth. 1251 1251 1252 -[[image:07-5 Basic instructions_html_844291270080313d.png]] 1246 +(% style="text-align:center" %) 1247 +[[image:07-5 Basic instructions_html_844291270080313d.png||height="339" width="750"]] 1253 1253 1254 -✎**Note** 1249 +✎**Note:** 1255 1255 1256 1256 • The devices specified in (s1), (s2), (s3), (d) occupy 3 points. Be careful not to overlap with the device used for machine control. 1257 1257 ... ... @@ -1272,27 +1272,32 @@ 1272 1272 1273 1273 **Example** 1274 1274 1275 -[[image:07-5 Basic instructions_html_30027a2387c26c2e.png]] 1270 +(% style="text-align:center" %) 1271 +[[image:07-5 Basic instructions_html_30027a2387c26c2e.png||height="46" width="439"]] 1276 1276 1277 1277 Set D0 time to 16:30:00 and D10 time to 4:30:0 1278 1278 1279 -[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png]] 1275 +(% style="text-align:center" %) 1276 +[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png||height="49" width="626"]] 1280 1280 1281 -[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png]] 1278 +(% style="text-align:center" %) 1279 +[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png||height="50" width="625"]] 1282 1282 1283 1283 After the coil is turned on, the reading time to D20 time is 8:30:00 1284 1284 1285 -[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png]] 1283 +(% style="text-align:center" %) 1284 +[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png||height="49" width="625"]] 1286 1286 1287 1287 M0/M12 is ON 1288 1288 1289 -[[image:07-5 Basic instructions_html_f512f36261705953.png]] 1288 +(% style="text-align:center" %) 1289 +[[image:07-5 Basic instructions_html_f512f36261705953.png||height="48" width="218"]] 1290 1290 1291 - {{id name="_Toc6129"/}}[[image:07-5Basic instructions_html_a2e3294e01b2f206.gif]]**7.13Data control instructions**1291 += **Data control instructions** = 1292 1292 1293 - {{id name="_Toc3339"/}}{{id name="_Toc27829"/}}{{idname="_Toc9204"/}}**BAND/BIN 16-bit data dead zone control**1293 +== **BAND/BIN 16-bit data dead zone control** == 1294 1294 1295 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**BAND(P)**1295 +**BAND(P)** 1296 1296 1297 1297 The input value (BIN 16-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limits of the dead zone specified in (s1) and (s2). 1298 1298 ... ... @@ -1308,20 +1308,16 @@ 1308 1308 1309 1309 **Device used** 1310 1310 1311 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1312 -**Offset** 1313 - 1314 -**modification** 1311 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|((( 1312 +**Offset modification** 1315 1315 )))|((( 1316 -**Pulse** 1317 - 1318 -**extension** 1314 +**Pulse extension** 1319 1319 ))) 1320 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1321 -|(% rowspan="4" %)BAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1322 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1323 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | || | |●|●1324 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●1316 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1317 +|(% rowspan="4" %)BAND|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1318 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|● 1319 +|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|● 1320 +|Parameter 4| |●|●|●|●|●|●|●|●| | |●|● 1325 1325 1326 1326 **Features** 1327 1327 ... ... @@ -1332,7 +1332,6 @@ 1332 1332 |When dead zone high limit (s1) <input value (s3)|Input value (s3)- Dead zone high limit (s2) 1333 1333 |When dead zone low limit (s1) ≤ input value (s3) ≤ dead zone low limit (s2)|0 1334 1334 1335 - 1336 1336 ((( 1337 1337 •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. 1338 1338 ... ... @@ -1340,7 +1340,8 @@ 1340 1340 1341 1341 the output value = -32768-10=8000H-000AH=7FFFH=32758. 1342 1342 1343 -[[image:07-5 Basic instructions_html_6850e21a76b813c0.png]] 1338 +(% style="text-align:center" %) 1339 +[[image:07-5 Basic instructions_html_6850e21a76b813c0.png||height="295" width="550"]] 1344 1344 ))) 1345 1345 1346 1346 **Error code** ... ... @@ -1350,9 +1350,10 @@ 1350 1350 |4086H|When the specified device range for writing exceeds the range of the corresponding device. 1351 1351 |4084H|When the low limit specified in (s1) is greater than the high limit specified in (s2). 1352 1352 1353 -**Example **1349 +**Example** 1354 1354 1355 -[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png]] 1351 +(% style="text-align:center" %) 1352 +[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png||height="49" width="450"]] 1356 1356 1357 1357 When X000 is ON, when D0<(-1,000), the value of ( D0)-(-1,000) is stored in (D1). 1358 1358 ... ... @@ -1360,7 +1360,7 @@ 1360 1360 1361 1361 • When D0<1,000, the value of (D0)-1,000 is stored in D1. 1362 1362 1363 - {{id name="_Toc1180"/}}{{id name="_Toc21657"/}}{{idname="_Toc27323"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DBAND/BIN 32-bit data dead zone control**1360 +== **DBAND/BIN 32-bit data dead zone control** == 1364 1364 1365 1365 **DBAND(P)** 1366 1366 ... ... @@ -1378,16 +1378,14 @@ 1378 1378 1379 1379 **Device used** 1380 1380 1381 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1382 -**Pulse** 1383 - 1384 -**extension** 1378 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1379 +**Pulse extension** 1385 1385 ))) 1386 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1387 -|(% rowspan="4" %)DBAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1388 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1389 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | ||●|●1390 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●1381 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1382 +|(% rowspan="4" %)DBAND|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1383 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1384 +|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|● 1385 +|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|● 1391 1391 1392 1392 **Features** 1393 1393 ... ... @@ -1394,20 +1394,17 @@ 1394 1394 The input value (BIN 32-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limits of the dead zone specified in (s1) and (s2). The output value is controlled as follows. 1395 1395 1396 1396 |**Condition**|**The value stored in the output value** 1397 -|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)| {{id name="OLE_LINK42"/}}Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1)1398 -|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)| {{id name="OLE_LINK357"/}}Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1)1392 +|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1) 1393 +|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1) 1399 1399 |When dead zone low limit ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ dead zone high limit ((s2), (s2)+1)|0 1400 1400 1401 - 1402 1402 ((( 1403 -• When the output value stored in (d) is a signed BIN 32-bit value, and the operation result exceeds the range of -2,147,483,648 to 2,147,483,647, the situation is as the following example. For example,** **When (s1) and (s1)+1 are 1000, (s3) and (s3)+1 are -2,147,483,648, then the output value=1397 +• 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= 1404 1404 1405 1405 -2,147,483,648-1000=80000000H-000003E8H=7FFFFC18H=2,147,482,648. 1406 1406 1407 -[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png]] 1408 - 1409 - 1410 - 1401 +(% style="text-align:center" %) 1402 +[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png||height="243" width="550"]] 1411 1411 ))) 1412 1412 1413 1413 **Error code** ... ... @@ -1419,7 +1419,8 @@ 1419 1419 1420 1420 **Example** 1421 1421 1422 -[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png]] 1414 +(% style="text-align:center" %) 1415 +[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png||height="42" width="453"]] 1423 1423 1424 1424 • When (D1, D0)<(-10,000), the value of (D1, D0)-(-10,000) is stored in (D11, D10). 1425 1425 ... ... @@ -1427,9 +1427,9 @@ 1427 1427 1428 1428 • When 10,000< (D1, D0), the value of (D1, D0)-10,000 is stored in D1. 1429 1429 1430 - {{id name="_Toc21668"/}}{{id name="_Toc25056"/}}{{idname="_Toc17582"/}}{{id name="OLE_LINK165"/}}**BINDA/BIN 16-bit data → Decimal ASCII conversion**1423 +== **BINDA/BIN 16-bit data → Decimal ASCII conversion** == 1431 1431 1432 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**BINDA(P)**1425 +**BINDA(P)** 1433 1433 1434 1434 Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1435 1435 ... ... @@ -1443,30 +1443,28 @@ 1443 1443 1444 1444 **Device used** 1445 1445 1446 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1447 -**Pulse** 1448 - 1449 -**extension** 1439 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1440 +**Pulse extension** 1450 1450 ))) 1451 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1452 -|(% rowspan="2" %)BINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1453 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | || | |●|●1442 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1443 +|(% rowspan="2" %)BINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1444 +|Parameter 2| | | | | | |●|●|●| | |●|● 1454 1454 1455 1455 **Features** 1456 1456 1457 1457 Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1458 1458 1459 - 1460 - 1461 1461 ((( 1462 -←Only store 0 when SM191 is OFF 1463 - 1451 +(% style="text-align:center" %) 1464 1464 [[image:07-5 Basic instructions_html_57bda5f08026449d.png]] 1453 + 1454 +←Only store 0 when SM191 is OFF 1465 1465 ))) 1466 1466 1467 1467 For example, when -12,345 is specified in (s) (in the case of specifying signed) 1468 1468 1469 -[[image:07-5 Basic instructions_html_f346102467b9bef9.png]] 1459 +(% style="text-align:center" %) 1460 +[[image:07-5 Basic instructions_html_f346102467b9bef9.png||height="169" width="850"]] 1470 1470 1471 1471 The calculation result stored in (d) will be as below. 1472 1472 ... ... @@ -1486,19 +1486,20 @@ 1486 1486 1487 1487 **Example** 1488 1488 1480 +(% style="text-align:center" %) 1481 +[[image:07-5 Basic instructions_html_c598806a42484ed.png||height="76" width="300"]] 1489 1489 1490 - 1491 1491 ((( 1492 1492 When X000 is ON, convert the value of 16-bit data (BIN) D1000 into decimal ASCII code, and then use PR instruction to output the 1493 1493 1494 1494 converted ASCII code character by character to the program of Y040 to Y057. 1495 1495 1496 - [[image:07-5Basic instructions_html_c598806a42484ed.png]]1488 + 1497 1497 ))) 1498 1498 1499 - {{id name="_Toc12255"/}}{{id name="_Toc8216"/}}{{idname="_Toc470"/}}**DBINDA/BIN 32-bit data → Decimal ASCII conversion**1491 +== **DBINDA/BIN 32-bit data → Decimal ASCII conversion** == 1500 1500 1501 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DBINDA(P)**1493 +**DBINDA(P)** 1502 1502 1503 1503 Convert the BIN 32-bit data specified in (s) and the value of each bit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1504 1504 ... ... @@ -1508,22 +1508,18 @@ 1508 1508 1509 1509 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1510 1510 |(s)|BIN data for ASCII conversion|-2,147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 1511 -|(d)| {{id name="OLE_LINK2"/}}The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE1503 +|(d)|The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE 1512 1512 1513 1513 **Device used** 1514 1514 1515 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1516 -**Offset** 1517 - 1518 -**modification** 1507 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 1508 +**Offset modification** 1519 1519 )))|((( 1520 -**Pulse** 1521 - 1522 -**extension** 1510 +**Pulse extension** 1523 1523 ))) 1524 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1525 -|(% rowspan="2" %)DBINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1526 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | ||●|●1512 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1513 +|(% rowspan="2" %)DBINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1514 +|Parameter 2| | | | | | |●|●|●| | | | |●|● 1527 1527 1528 1528 **Features** 1529 1529 ... ... @@ -1531,8 +1531,11 @@ 1531 1531 1532 1532 For example, when -12345678 is specified in (s). (in the case of specifying signed) 1533 1533 1534 -[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] The calculation result stored in (d) will be as below. 1522 +(% style="text-align:center" %) 1523 +[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] 1535 1535 1525 + The calculation result stored in (d) will be as below. 1526 + 1536 1536 • In "Sign", 20H is stored when the BIN data is positive, and 2DH is stored when it is negative. 1537 1537 1538 1538 • 20H is stored at 0 to the left of the effective number of digits. (Suppress 0.) For example, in the case of "0012034560", "00" becomes 20H, and "12034560" becomes effective digits. ... ... @@ -1549,13 +1549,14 @@ 1549 1549 1550 1550 **Example** 1551 1551 1552 -[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png]] 1543 +(% style="text-align:center" %) 1544 +[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png||height="59" width="300"]] 1553 1553 1554 1554 When X000 is ON, convert the value of 32-bit data (BIN) D1000 into decimal ASCII code, and then use PR (FNC 77) instruction to output the converted ASCII code character by character to the program in Y040 to Y051 in time and time division. 1555 1555 1556 - {{id name="_Toc19693"/}}{{id name="_Toc18078"/}}{{idname="_Toc5726"/}}**DABIN/Decimal ASCII → BIN conversion**1548 +== **DABIN/Decimal ASCII → BIN conversion** == 1557 1557 1558 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DABIN(P)**1550 +**DABIN(P)** 1559 1559 1560 1560 Digital ASCII code (30H to 39H) is a instruction to convert real data into BIN data. 1561 1561 ... ... @@ -1569,24 +1569,23 @@ 1569 1569 1570 1570 **Device used** 1571 1571 1572 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1573 -**Pulse** 1574 - 1575 -**extension** 1564 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|**Offset modification**|((( 1565 +**Pulse extension** 1576 1576 ))) 1577 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1578 -|(% rowspan="2" %)DABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●|| | | | |●|●1579 -|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●|| | | | |●|●1567 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1568 +|(% rowspan="2" %)DABIN|Parameter 1| | | | | |●|●|●|●|● 1569 +|Parameter 2|●|●|●|●|●|●|●|●|●|● 1580 1580 1581 1581 **Features** 1582 1582 1583 1583 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 16-bit data and stored in the device specified in (d). 1584 1584 1585 -[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png]] 1575 +(% style="text-align:center" %) 1576 +[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png||height="273" width="750"]] 1586 1586 1587 1587 |**ASCII S**|**ASCII 10^^0^^**|**ASCII 10^^1^^**|**ASCII 10^^2^^**|**ASCII 10^^3^^**|**ASCII 10^^4^^** 1588 1588 |**ASCII code**|((( 1589 - {{id name="OLE_LINK36"/}}Units of1580 +Units of 1590 1590 1591 1591 ASCII code 1592 1592 )))|((( ... ... @@ -1609,7 +1609,8 @@ 1609 1609 1610 1610 For example, When -25,108 is specified in (s) 1611 1611 1612 -[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png]] 1603 +(% style="text-align:center" %) 1604 +[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png||height="123" width="750"]] 1613 1613 1614 1614 • The ASCII data specified in (s) to (s)+2 is within the range of -32,768 to +32,767. 1615 1615 ... ... @@ -1639,11 +1639,12 @@ 1639 1639 **Example** 1640 1640 ))) 1641 1641 1642 -[[image:07-5 Basic instructions_html_bec2bea131b58c03.png]] 1634 +(% style="text-align:center" %) 1635 +[[image:07-5 Basic instructions_html_bec2bea131b58c03.png||height="55" width="300"]] 1643 1643 1644 - {{id name="_Toc3351"/}}{{id name="_Toc26383"/}}{{idname="_Toc26233"/}}**DDABIN/Decimal ASCII → BIN32-bit data conversion**1637 +== **DDABIN/Decimal ASCII → BIN32-bit data conversion** == 1645 1645 1646 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DDABIN(P)**1639 +**DDABIN(P)** 1647 1647 1648 1648 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 32-bit data and stored in the device number specified in (d). 1649 1649 ... ... @@ -1657,31 +1657,31 @@ 1657 1657 1658 1658 **Device used** 1659 1659 1660 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1661 -**Pulse** 1662 - 1663 -**extension** 1653 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1654 +**Pulse extension** 1664 1664 ))) 1665 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1666 -|(% rowspan="2" %)DDABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | || | |●|●1667 -|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|| | |●|●1656 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**[D]**|**XXP** 1657 +|(% rowspan="2" %)DDABIN|Parameter 1| | | | | |●|●|●| | |●|● 1658 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|● 1668 1668 1669 1669 **Features** 1670 1670 1671 1671 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 32-bit data and stored in the device specified in (d). 1672 1672 1673 -[[image:07-5 Basic instructions_html_c444110b273f33b7.gif]] 1664 +(% style="text-align:center" %) 1665 +[[image:07-5 Basic instructions_html_c444110b273f33b7.gif||height="193" width="800"]] 1674 1674 1675 1675 |**ASCII S**|**ASCII code**|**ASCII S**|**ASCII code** 1676 -|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^| {{id name="OLE_LINK38"/}}Hundred thousands of ASCII code1668 +|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|Hundred thousands of ASCII code 1677 1677 |ASCII 10^^1^^|Tens of ASCII code|ASCII 10^^6^^|Millions of ASCII code 1678 1678 |ASCII 10^^2^^|Hundreds of ASCII code|ASCII 10^^7^^|Ten millions of ASCII code 1679 -|ASCII 10^^3^^| {{id name="OLE_LINK37"/}}Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code1671 +|ASCII 10^^3^^|Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1680 1680 |ASCII 10^^4^^|Tens thousands of ASCII code|ASCII 10^^9^^|billions of ASCII code 1681 1681 1682 1682 When -1234543210 is specified in (s) (When signed is specified) 1683 1683 1684 -[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png]] 1676 +(% style="text-align:center" %) 1677 +[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png||height="230" width="800"]] 1685 1685 1686 1686 • The ASCII data specified in (s) to (s)+5 is within the range of -2,147,483,648 to +2,147,483,647. In addition, the data stored in the high byte of (s)+5 will be ignored. 1687 1687 ... ... @@ -1697,7 +1697,7 @@ 1697 1697 |4084H|((( 1698 1698 When the Sign data exceeds the range of 30H to 39H, 20H, 00H and 2DH; 1699 1699 1700 - {{id name="OLE_LINK39"/}}When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H;1693 +When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H; 1701 1701 1702 1702 When the ASCII data specified in (s) to (s)+5 exceeds the range of -2,147,483,648 to +2,147,483,647 1703 1703 ))) ... ... @@ -1706,13 +1706,14 @@ 1706 1706 1707 1707 **Example** 1708 1708 1709 -[[image:07-5 Basic instructions_html_feea438c943ea9dd.png]] 1702 +(% style="text-align:center" %) 1703 +[[image:07-5 Basic instructions_html_feea438c943ea9dd.png||height="34" width="300"]] 1710 1710 1711 1711 When X000 is ON, the Signs set in to D20 to D25 and the ASCII code data of 10-digit decimal numbers are converted into BIN values and then saved to the program in D0 to D1. 1712 1712 1713 - {{id name="_Toc26556"/}}{{id name="_Toc12799"/}}{{idname="_Toc23863"/}}**LIMIT/ BIN 16-bit data high and low limit control**1707 +== **LIMIT/ BIN 16-bit data high and low limit control** == 1714 1714 1715 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**LIMIT(P)**1709 +**LIMIT(P)** 1716 1716 1717 1717 The input value (BIN 16-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limit value ranges specified in (s1) and (s2). 1718 1718 ... ... @@ -1728,16 +1728,14 @@ 1728 1728 1729 1729 **Device used** 1730 1730 1731 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1732 -**Pulse** 1733 - 1734 -**extension** 1725 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1726 +**Pulse extension** 1735 1735 ))) 1736 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1737 -|(% rowspan="4" %)LIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1738 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1739 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | || | |●|●1740 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●1728 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1729 +|(% rowspan="4" %)LIMIT|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1730 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|● 1731 +|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|● 1732 +|Parameter 4| |●|●|●|●|●|●|●|●| | |●|● 1741 1741 1742 1742 **Features** 1743 1743 ... ... @@ -1748,13 +1748,13 @@ 1748 1748 |High limit value (s1) <input value (s3)|High limit value (s2) 1749 1749 |Low limit value (s1) ≤ input value (s3) ≤ high limit value (s2)|Input value (s3) 1750 1750 1751 - 1752 1752 ((( 1753 -•Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1744 +• Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1754 1754 1755 1755 • Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1756 1756 1757 -[[image:07-5 Basic instructions_html_50eb5229b027aa14.png]] 1748 +(% style="text-align:center" %) 1749 +[[image:07-5 Basic instructions_html_50eb5229b027aa14.png||height="297" width="550"]] 1758 1758 ))) 1759 1759 1760 1760 **Error code** ... ... @@ -1766,6 +1766,7 @@ 1766 1766 1767 1767 **Example** 1768 1768 1761 +(% style="text-align:center" %) 1769 1769 [[image:07-5 Basic instructions_html_d67a2e740d4fc738.png]] 1770 1770 1771 1771 When X000 is ON ... ... @@ -1776,9 +1776,9 @@ 1776 1776 1777 1777 • When 5,000 <D0, D1 is 5,000. 1778 1778 1779 - {{id name="_Toc32553"/}}{{id name="_Toc9981"/}}{{idname="_Toc9158"/}}**DLIMIT/BIN 32-bit data high and low limit control**1772 +== **DLIMIT/BIN 32-bit data high and low limit control** == 1780 1780 1781 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DLIMIT(P)**1774 +**DLIMIT(P)** 1782 1782 1783 1783 The input value (BIN 32-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the range of high and low limit values specified in (s1) and (s2). 1784 1784 ... ... @@ -1794,16 +1794,14 @@ 1794 1794 1795 1795 **Device used** 1796 1796 1797 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1798 -**Pulse** 1799 - 1800 -**extension** 1790 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1791 +**Pulse extension** 1801 1801 ))) 1802 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1803 -|(% rowspan="4" %)DLIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1804 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1805 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | ||●|●1806 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●1793 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1794 +|(% rowspan="4" %)DLIMIT|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1795 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1796 +|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|● 1797 +|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|● 1807 1807 1808 1808 **Features** 1809 1809 ... ... @@ -1814,7 +1814,7 @@ 1814 1814 |High limit value ((s2), (s2)+1) <input value ((s3), (s3)+1)|High limit value ((s2), (s2)+1) 1815 1815 |Low limit value ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ high limit value ((s2), (s2)+1)|Input value ((s3), (s3)+1) 1816 1816 1817 - {{idname="OLE_LINK43"/}}{{idname="OLE_LINK40"/}}•Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1).1808 +• Only in the case of controlling high limit value, set the minimum value of data range in the low limit value specified in (s1). 1818 1818 1819 1819 • Only in the case of controlling low limit value, set the maximum value of data range in the high limit value specified in (s2). 1820 1820 ... ... @@ -1827,7 +1827,8 @@ 1827 1827 1828 1828 **Example** 1829 1829 1830 -[[image:07-5 Basic instructions_html_217355b90f4b4e16.png]] 1821 +(% style="text-align:center" %) 1822 +[[image:07-5 Basic instructions_html_217355b90f4b4e16.png||height="53" width="400"]] 1831 1831 1832 1832 Operation: 1833 1833 ... ... @@ -1837,9 +1837,9 @@ 1837 1837 1838 1838 • When 1,000,000 <(D1, D0), (D11, D10) is 1,000,000. 1839 1839 1840 - {{id name="_Toc12534"/}}{{id name="_Toc28213"/}}{{idname="_Toc24591"/}}**SCL/BIN 16-bit unit scale (coordinate data of each point)**1832 +== **SCL/BIN 16-bit unit scale (coordinate data of each point)** == 1841 1841 1842 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**SCL(P)**1834 +**SCL(P)** 1843 1843 1844 1844 The scaling conversion data (16-bit data unit) specified in (s2) is scaled from the input value specified in (s1), and the calculation result is stored in the device specified in (d). 1845 1845 ... ... @@ -1854,15 +1854,13 @@ 1854 1854 1855 1855 **Device used** 1856 1856 1857 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1858 -**Pulse** 1859 - 1860 -**extension** 1849 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1850 +**Pulse extension** 1861 1861 ))) 1862 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1863 -|(% rowspan="3" %)SCL|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●1864 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | || | |●|●1865 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●1852 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1853 +|(% rowspan="3" %)SCL|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1854 +|Parameter 2| | | | | | |●|●|●| | |●|● 1855 +|Parameter 3| |●|●|●|●|●|●|●|●| | |●|● 1866 1866 1867 1867 **Features** 1868 1868 ... ... @@ -1878,7 +1878,8 @@ 1878 1878 |(% rowspan="2" %)Point n|X coordinate|(s2)+2n-1 1879 1879 |Y coordinate|(s2)+2n 1880 1880 1881 -[[image:07-5 Basic instructions_html_80185ccddb878234.png]] 1871 +(% style="text-align:center" %) 1872 +[[image:07-5 Basic instructions_html_80185ccddb878234.png||height="422" width="750"]] 1882 1882 1883 1883 • If the operation result is not an integer value, round the first digit below the decimal point. 1884 1884 ... ... @@ -1894,10 +1894,13 @@ 1894 1894 1895 1895 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 1896 1896 1897 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 1888 +(% style="text-align:center" %) 1889 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 1898 1898 1899 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Sett device and content**|(% rowspan="2" %)**Remarks** 1900 -|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1891 +|(% colspan="2" rowspan="2" %)((( 1892 +**Set items** 1893 +)))|(% colspan="3" %)**Sett device and content**|(% rowspan="2" %)**Remarks** 1894 +|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 1901 1901 |(% colspan="2" %)Coordinate points|(s2)|R0|K10| 1902 1902 |(% rowspan="2" %)Point 1|X coordinate|(s2)+1|R1|K5| 1903 1903 |Y coordinate|(s2)+2|R2|K20| ... ... @@ -1945,6 +1945,7 @@ 1945 1945 1946 1946 **Example** 1947 1947 1942 +(% style="text-align:center" %) 1948 1948 [[image:07-5 Basic instructions_html_5519d7b41f15b6d6.png]] 1949 1949 1950 1950 [[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] When -100 ≤ D0(X) < 0, D100(Y)= ... ... @@ -1953,14 +1953,13 @@ 1953 1953 1954 1954 when 0< D0(X) ≤ 100, D100(Y)= 1955 1955 1956 -[[image:07-5 Basic instructions_html_e35e13160c08a133.png]] 1951 +(% style="text-align:center" %) 1952 +[[image:07-5 Basic instructions_html_e35e13160c08a133.png||height="362" width="550"]] 1957 1957 1954 +== **DSCL/32-bit unit scale (coordinate data of each point)** == 1958 1958 1956 +**DSCL(P)** 1959 1959 1960 -{{id name="_Toc4862"/}}{{id name="_Toc11340"/}}{{id name="_Toc25383"/}}**DSCL/32-bit unit scale (coordinate data of each point)** 1961 - 1962 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSCL(P)** 1963 - 1964 1964 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). 1965 1965 1966 1966 -[DSCL (s1) (s2) (d)] ... ... @@ -1974,19 +1974,17 @@ 1974 1974 1975 1975 **Device used** 1976 1976 1977 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Device**|**Offset modification**|((( 1978 -**Pulse** 1979 - 1980 -**extension** 1971 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Device**|**Offset modification**|((( 1972 +**Pulse extension** 1981 1981 ))) 1982 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**1983 -|(% rowspan="3" %)DSCL|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●1984 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | ||●|●1985 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●1974 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1975 +|(% rowspan="3" %)DSCL|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1976 +|Parameter 2| | | | | | |●|●|●| | | | |●|● 1977 +|Parameter 3| |●|●|●|●|●|●|●|●|●|●| | |●|● 1986 1986 1987 1987 **Features** 1988 1988 1989 - {{id name="OLE_LINK41"/}}The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device number specified in (d). The scale conversion is performed based on the scale conversion data stored after the device specified in (s2).1981 +The conversion data (32-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device number specified in (d). The scale conversion is performed based on the scale conversion data stored after the device specified in (s2). 1990 1990 1991 1991 |(% colspan="2" %)**Set items (n represents the number of coordinate points specified in (s2))**|**Device allocation** 1992 1992 |(% colspan="2" %)Coordinate points|(s2)+1, (s2) ... ... @@ -1998,7 +1998,8 @@ 1998 1998 |(% rowspan="2" %)Point n|X coordinate|(s2)+4n-1, (s2)+4n-2 1999 1999 |Y coordinate|(s2)+4n+1, (s2)+4n 2000 2000 2001 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 1993 +(% style="text-align:center" %) 1994 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 2002 2002 2003 2003 • If the calculation result is not an integer value, round the first digit below the decimal point. 2004 2004 ... ... @@ -2014,10 +2014,11 @@ 2014 2014 2015 2015 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2016 2016 2017 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 2010 +(% style="text-align:center" %) 2011 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2018 2018 2019 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks**2020 -|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content**2013 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2014 +|(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2021 2021 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2022 2022 |(% rowspan="2" %)Point 1|X coordinate|(s2)+3, (s2)+2|R3, R2|K5| 2023 2023 |Y coordinate|(s2)+5, (s2)+4|R5, R4|K7| ... ... @@ -2065,7 +2065,8 @@ 2065 2065 2066 2066 **Example** 2067 2067 2068 -[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png]] 2062 +(% style="text-align:center" %) 2063 +[[image:07-5 Basic instructions_html_ba95b2d50d8d1d3e.png||height="272" width="404"]] 2069 2069 2070 2070 [[image:07-5 Basic instructions_html_1de79c7d87d51f78.gif]] When -100 ≤ D0(X) < 0, D100(Y)= 2071 2071 ... ... @@ -2073,11 +2073,12 @@ 2073 2073 2074 2074 When 0 < D0(X) ≤ 100, D100(Y)= 2075 2075 2076 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 2071 +(% style="text-align:center" %) 2072 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2077 2077 2078 - {{id name="_Toc3776"/}}{{id name="_Toc11170"/}}{{idname="_Toc2957"/}}**SCL2/BIN 16-bit unit scale (X/Y coordinate data)**2074 +== **SCL2/BIN 16-bit unit scale (X/Y coordinate data)** == 2079 2079 2080 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**SCL2(P)**2076 +**SCL2(P)** 2081 2081 2082 2082 The conversion data (16-bit data unit) for scaling specified in (s2) is scaled by the input value specified in (s1), and the operation result is stored in the device specified in (d). 2083 2083 ... ... @@ -2092,15 +2092,13 @@ 2092 2092 2093 2093 **Device used** 2094 2094 2095 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2096 -**Pulse** 2097 - 2098 -**extension** 2091 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 2092 +**Pulse extension** 2099 2099 ))) 2100 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**2101 -|(% rowspan="3" %)SCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●2102 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | || | |●|●2103 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●2094 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 2095 +|(% rowspan="3" %)SCL2|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 2096 +|Parameter 2| | | | | | |●|●|●| | |●|● 2097 +|Parameter 3| |●|●|●|●|●|●|●|●| | |●|● 2104 2104 2105 2105 **Features** 2106 2106 ... ... @@ -2111,13 +2111,14 @@ 2111 2111 |(% rowspan="4" %)X coordinate|Point 1|(s2)+1 2112 2112 |Point 2|(s2)+2 2113 2113 |.....|...... 2114 -|Point n|(s2)+n2115 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+ n+12116 -|Point 2|(s2)+ n+22108 +|Point N|(s2)+N 2109 +|(% rowspan="4" %)Y coordinate|Point 1|(s2)+N+1 2110 +|Point 2|(s2)+N+2 2117 2117 |.....|..... 2118 -|Point n|(s2)+2n2112 +|Point N|(s2)+2N 2119 2119 2120 -[[image:07-5 Basic instructions_html_80185ccddb878234.png]] 2114 +(% style="text-align:center" %) 2115 +[[image:07-5 Basic instructions_html_80185ccddb878234.png||height="422" width="750"]] 2121 2121 2122 2122 • If the operation result is not an integer value, round the first digit below the decimal point. 2123 2123 ... ... @@ -2133,7 +2133,8 @@ 2133 2133 2134 2134 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2135 2135 2136 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 2131 +(% style="text-align:center" %) 2132 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2137 2137 2138 2138 |(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2139 2139 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** ... ... @@ -2182,21 +2182,23 @@ 2182 2182 When the number of start coordinate points of device (s2) is less than 0. 2183 2183 ))) 2184 2184 2185 -**Example** 2181 +**Example** 2186 2186 2187 -[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] [[image:07-5 Basic instructions_html_de529c9a16a62ef0.png]] 2183 +(% style="text-align:center" %) 2184 +[[image:07-5 Basic instructions_html_de529c9a16a62ef0.png||height="316" width="400"]] 2188 2188 2189 -When -100 ≤D0 (X) < 0, D100(Y)= 2186 +When -100 ≤D0 (X) < 0, D100(Y)=[[image:07-5 Basic instructions_html_ace075fb7675de8e.gif]] 2190 2190 2191 - [[image:07-5 Basic instructions_html_9acd6306c6d91847.gif]] when D0(X)=0, D100(Y)=0;2188 +When D0(X)=0, D100(Y)=0; 2192 2192 2193 - when 0 < D0(X) ≤ 100, D100(Y)=2190 +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]],, 2194 2194 2195 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 2192 +(% style="text-align:center" %) 2193 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2196 2196 2197 - {{id name="_Toc5608"/}}{{id name="_Toc1756"/}}{{idname="_Toc21402"/}}**DSCL2/BIN 32-bit unit scale (X/Y coordinate data)**2195 +== **DSCL2/BIN 32-bit unit scale (X/Y coordinate data)** == 2198 2198 2199 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DSCL2(P)**2197 +**DSCL2(P)** 2200 2200 2201 2201 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). 2202 2202 ... ... @@ -2211,15 +2211,13 @@ 2211 2211 2212 2212 **Device used** 2213 2213 2214 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2215 -**Pulse** 2216 - 2217 -**extension** 2212 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 2213 +**Pulse extension** 2218 2218 ))) 2219 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**2220 -|(% rowspan="3" %)DSCL2|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●2221 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | ||●|●2222 -|Parameter 3| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●2215 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 2216 +|(% rowspan="3" %)DSCL2|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 2217 +|Parameter 2| | | | | | |●|●|●| | | | |●|● 2218 +|Parameter 3| |●|●|●|●|●|●|●|●|●|●| | |●|● 2223 2223 2224 2224 **Features** 2225 2225 ... ... @@ -2230,13 +2230,14 @@ 2230 2230 |(% rowspan="4" %)X coordinate|Point 1|(s2)+3, (s2)+2 2231 2231 |Point 2|(s2)+5, (s2)+4 2232 2232 |.....|...... 2233 -|Point n|(s2)+2n+1, (s2)+2n2234 -|(% rowspan="4" %)Y coordinate|Point 1|(s2)+2 n+3, (s2)+2n+22235 -|Point 2|(s2)+2 n+5, (s2)+2n+42229 +|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 2236 2236 |.....|..... 2237 -|Point n|(s2)+4n+1, (s2)+4n2233 +|Point N|(s2)+4N+1, (s2)+4N 2238 2238 2239 -[[image:07-5 Basic instructions_html_6633ca18cee1218c.png]] 2235 +(% style="text-align:center" %) 2236 +[[image:07-5 Basic instructions_html_6633ca18cee1218c.png||height="379" width="750"]] 2240 2240 2241 2241 • If the operation result is not an integer value, round the first digit below the decimal point. 2242 2242 ... ... @@ -2252,9 +2252,10 @@ 2252 2252 2253 2253 In the case of scaling conversion characteristics as shown in the figure below, set it as the following data sheet. 2254 2254 2255 -[[image:07-5 Basic instructions_html_74fd22d845ad450e.png]] 2252 +(% style="text-align:center" %) 2253 +[[image:07-5 Basic instructions_html_74fd22d845ad450e.png||height="210" width="750"]] 2256 2256 2257 -|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks**2255 +|(% colspan="2" rowspan="2" %)**Set items**|(% colspan="3" %)**Set device and content**|(% rowspan="2" %)**Remarks** 2258 2258 |(% colspan="2" %)**When R0 is specified in (s2)**|**Set content** 2259 2259 |(% colspan="2" %)Coordinate points|(s2)+1, (s2)|R1, R0|K10| 2260 2260 |(% rowspan="10" %)X|Point 1|(s2)+3, (s2)+2|R3, R2|K5| ... ... @@ -2303,6 +2303,7 @@ 2303 2303 2304 2304 **Example** 2305 2305 2304 +(% style="text-align:center" %) 2306 2306 [[image:07-5 Basic instructions_html_91dbc16faa9d2ec3.png]] 2307 2307 2308 2308 When -100 ≤D0(X) < 0, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_2c96d630f666e72c.gif?rev=1.1||alt="07-5 Basic instructions_html_2c96d630f666e72c.gif"]],,[[image:07-5 Basic instructions_html_2c96d630f666e72c.gif]] ,,; ... ... @@ -2311,11 +2311,12 @@ 2311 2311 2312 2312 when 0< D0(X) ≤ 100, D100(Y)=[[image:/xwiki/bin/download/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/07-5%20Basic%20instruction/WebHome/07-5%20Basic%20instructions_html_47ebf5cc7733fccc.gif?rev=1.1||alt="07-5 Basic instructions_html_47ebf5cc7733fccc.gif"]],,[[image:07-5 Basic instructions_html_47ebf5cc7733fccc.gif]] ,,. 2313 2313 2314 -[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png]] 2313 +(% style="text-align:center" %) 2314 +[[image:07-5 Basic instructions_html_a5b19d1af74a9620.png||height="351" width="550"]] 2315 2315 2316 - {{id name="_Toc32057"/}}{{id name="_Toc9941"/}}{{idname="_Toc6492"/}}**ZONE/BIN 16-bit data zone control**2316 +== **ZONE/BIN 16-bit data zone control** == 2317 2317 2318 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**ZONE(P)**2318 +**ZONE(P)** 2319 2319 2320 2320 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). 2321 2321 ... ... @@ -2331,16 +2331,14 @@ 2331 2331 2332 2332 **Device used** 2333 2333 2334 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2335 -**Pulse** 2336 - 2337 -**extension** 2334 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 2335 +**Pulse extension** 2338 2338 ))) 2339 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**2340 -|(% rowspan="4" %)ZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●2341 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|| |●|●||●|●2342 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | || | |●|●2343 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | || | |●|●2337 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 2338 +|(% rowspan="4" %)ZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 2339 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|● 2340 +|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|● 2341 +|Parameter 4| |●|●|●|●|●|●|●|●| | |●|● 2344 2344 2345 2345 **Features** 2346 2346 ... ... @@ -2351,7 +2351,6 @@ 2351 2351 |When input value (s3)=0|0 2352 2352 |When input value (s3)>0|Input value (s3) + positive offset value (s2) 2353 2353 2354 - 2355 2355 ((( 2356 2356 • 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. 2357 2357 ... ... @@ -2359,10 +2359,8 @@ 2359 2359 2360 2360 the output value = -32768+(-100)=8000H-FF9CH=7F9CH=32668. 2361 2361 2362 -[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png]] 2363 - 2364 - 2365 - 2359 +(% style="text-align:center" %) 2360 +[[image:07-5 Basic instructions_html_a2adbf9ccf8f839.png||height="399" width="550"]] 2366 2366 ))) 2367 2367 2368 2368 **Error code** ... ... @@ -2373,6 +2373,7 @@ 2373 2373 2374 2374 **Example** 2375 2375 2371 +(% style="text-align:center" %) 2376 2376 [[image:07-5 Basic instructions_html_5da523c7765bf5be.png]] 2377 2377 2378 2378 When X000 is ON ... ... @@ -2383,9 +2383,9 @@ 2383 2383 2384 2384 • When 0<D0, the value of (D0)+(1,000) is stored in D1. 2385 2385 2386 - {{id name="_Toc28351"/}}{{id name="_Toc11023"/}}{{idname="_Toc30269"/}}**DZONE/BIN 32-bit data zone control**2382 +== **DZONE/BIN 32-bit data zone control** == 2387 2387 2388 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]DZONE(P)2384 +DZONE(P) 2389 2389 2390 2390 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). 2391 2391 ... ... @@ -2401,16 +2401,14 @@ 2401 2401 2402 2402 **Device used** 2403 2403 2404 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 2405 -**Pulse** 2406 - 2407 -**extension** 2400 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 2401 +**Pulse extension** 2408 2408 ))) 2409 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**2410 -|(% rowspan="4" %)DZONE|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●2411 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●||●|●2412 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | ||●|●2413 -|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | ||●|●2403 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 2404 +|(% rowspan="4" %)DZONE|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 2405 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 2406 +|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|● 2407 +|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|● 2414 2414 2415 2415 **Features** 2416 2416 ... ... @@ -2421,12 +2421,12 @@ 2421 2421 |When input value ((s3), (s3)+1)=0|0 2422 2422 |When input value ((s3), (s3)+1)>0|Input value ((s3), (s3)+1) + positive offset value (s2), (s2)+1 2423 2423 2424 - 2425 2425 ((( 2426 2426 • 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. 2427 2427 2428 2428 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. 2429 2429 2423 +(% style="text-align:center" %) 2430 2430 [[image:07-5 Basic instructions_html_2f3a96a2565c75c7.png]] 2431 2431 ))) 2432 2432 ... ... @@ -2438,7 +2438,8 @@ 2438 2438 2439 2439 **Example** 2440 2440 2441 -[[image:07-5 Basic instructions_html_b831b14748df07ab.png]] 2435 +(% style="text-align:center" %) 2436 +[[image:07-5 Basic instructions_html_b831b14748df07ab.png||height="51" width="401"]] 2442 2442 2443 2443 • When (D1, D0)<0, the value of (D1, D0)+(-10,000) is stored in (D11, D10). 2444 2444