Changes for page 12 Clock operation

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

From version 1.8
edited by Joey
on 2022/06/09 15:52
Change comment: (Autosaved)
To version 1.9
edited by Joey
on 2022/06/09 15:57
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -1357,7 +1357,7 @@
1357 1357  
1358 1358  • When D0<1,000, the value of (D0)-1,000 is stored in D1.
1359 1359  
1360 -{{id name="_Toc1180"/}}{{id name="_Toc21657"/}}{{id name="_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** ==
1361 1361  
1362 1362  **DBAND(P)**
1363 1363  
... ... @@ -1375,16 +1375,14 @@
1375 1375  
1376 1376  **Device used**
1377 1377  
1378 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|(((
1379 -**Pulse**
1380 -
1381 -**extension**
1378 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|(((
1379 +**Pulse extension**
1382 1382  )))
1383 -|**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**
1384 -|(% rowspan="4" %)DBAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1385 -|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1386 -|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|●
1387 -|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| |●|●|●|●|●|●|●|●|●|●| | |●|●
1388 1388  
1389 1389  **Features**
1390 1390  
... ... @@ -1391,20 +1391,17 @@
1391 1391  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.
1392 1392  
1393 1393  |**Condition**|**The value stored in the output value**
1394 -|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)
1395 -|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)
1396 1396  |When dead zone low limit ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ dead zone high limit ((s2), (s2)+1)|0
1397 1397  
1398 -
1399 1399  (((
1400 -• 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,** &nbsp;**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=
1401 1401  
1402 1402  -2,147,483,648-1000=80000000H-000003E8H=7FFFFC18H=2,147,482,648.
1403 1403  
1404 -[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png]]
1405 -
1406 -
1407 -
1401 +(% style="text-align:center" %)
1402 +[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png||height="243" width="550"]]
1408 1408  )))
1409 1409  
1410 1410  **Error code**
... ... @@ -1416,7 +1416,8 @@
1416 1416  
1417 1417  **Example**
1418 1418  
1419 -[[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"]]
1420 1420  
1421 1421  • When (D1, D0)<(-10,000), the value of (D1, D0)-(-10,000) is stored in (D11, D10).
1422 1422  
... ... @@ -1424,9 +1424,9 @@
1424 1424  
1425 1425  • When 10,000< (D1, D0), the value of (D1, D0)-10,000 is stored in D1.
1426 1426  
1427 -{{id name="_Toc21668"/}}{{id name="_Toc25056"/}}{{id name="_Toc17582"/}}{{id name="OLE_LINK165"/}}**BINDA/BIN 16-bit data → Decimal ASCII conversion**
1423 +== **BINDA/BIN 16-bit data → Decimal ASCII conversion** ==
1428 1428  
1429 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **BINDA(P)**
1425 +**BINDA(P)**
1430 1430  
1431 1431  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).
1432 1432  
... ... @@ -1440,30 +1440,28 @@
1440 1440  
1441 1441  **Device used**
1442 1442  
1443 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|(((
1444 -**Pulse**
1445 -
1446 -**extension**
1439 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|(((
1440 +**Pulse extension**
1447 1447  )))
1448 -|**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**
1449 -|(% rowspan="2" %)BINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|●
1450 -|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| | | | | | |●|●|●| | |●|●
1451 1451  
1452 1452  **Features**
1453 1453  
1454 1454  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).
1455 1455  
1456 -
1457 -
1458 1458  (((
1459 -←Only store 0 when SM191 is OFF
1460 -
1451 +(% style="text-align:center" %)
1461 1461  [[image:07-5 Basic instructions_html_57bda5f08026449d.png]]
1453 +
1454 +←Only store 0 when SM191 is OFF
1462 1462  )))
1463 1463  
1464 1464  For example, when -12,345 is specified in (s) (in the case of specifying signed)
1465 1465  
1466 -[[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"]]
1467 1467  
1468 1468  The calculation result stored in (d) will be as below.
1469 1469  
... ... @@ -1483,19 +1483,20 @@
1483 1483  
1484 1484  **Example**
1485 1485  
1480 +(% style="text-align:center" %)
1481 +[[image:07-5 Basic instructions_html_c598806a42484ed.png||height="76" width="300"]]
1486 1486  
1487 -
1488 1488  (((
1489 1489  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
1490 1490  
1491 1491  converted ASCII code character by character to the program of Y040 to Y057.
1492 1492  
1493 -[[image:07-5 Basic instructions_html_c598806a42484ed.png]]
1488 +
1494 1494  )))
1495 1495  
1496 -{{id name="_Toc12255"/}}{{id name="_Toc8216"/}}{{id name="_Toc470"/}}**DBINDA/BIN 32-bit data → Decimal ASCII conversion**
1491 +== **DBINDA/BIN 32-bit data → Decimal ASCII conversion** ==
1497 1497  
1498 -[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DBINDA(P)**
1493 +**DBINDA(P)**
1499 1499  
1500 1500  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).
1501 1501  
... ... @@ -1505,11 +1505,11 @@
1505 1505  
1506 1506  |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
1507 1507  |(s)|BIN data for ASCII conversion|-2,147483648 to 2147483647|Signed BIN 32 bit|ANY32_S
1508 -|(d)|{{id name="OLE_LINK2"/}}The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE
1503 +|(d)|The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE
1509 1509  
1510 1510  **Device used**
1511 1511  
1512 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|(((
1507 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="14" %)**Devices**|(((
1513 1513  **Offset**
1514 1514  
1515 1515  **modification**
... ... @@ -1518,9 +1518,9 @@
1518 1518  
1519 1519  **extension**
1520 1520  )))
1521 -|**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**
1522 -|(% rowspan="2" %)DBINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1523 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|●
1516 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**
1517 +|(% rowspan="2" %)DBINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●| |●|●
1518 +|Parameter 2| | | | | | |●|●|●| | | | | |●|●
1524 1524  
1525 1525  **Features**
1526 1526