Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1504,14 +1504,18 @@ 1504 1504 1505 1505 **Device used** 1506 1506 1507 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 1508 -**Offset modification** 1507 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="14" %)**Devices**|((( 1508 +**Offset** 1509 + 1510 +**modification** 1509 1509 )))|((( 1510 -**Pulse extension** 1512 +**Pulse** 1513 + 1514 +**extension** 1511 1511 ))) 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| | | | | | |●|●|●| | | | |●|● 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| | | | | | |●|●|●| | | | | |●|● 1515 1515 1516 1516 **Features** 1517 1517 ... ... @@ -1519,11 +1519,8 @@ 1519 1519 1520 1520 For example, when -12345678 is specified in (s). (in the case of specifying signed) 1521 1521 1522 -(% style="text-align:center" %) 1523 -[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] 1526 +[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] The calculation result stored in (d) will be as below. 1524 1524 1525 - The calculation result stored in (d) will be as below. 1526 - 1527 1527 • In "Sign", 20H is stored when the BIN data is positive, and 2DH is stored when it is negative. 1528 1528 1529 1529 • 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. ... ... @@ -1540,14 +1540,13 @@ 1540 1540 1541 1541 **Example** 1542 1542 1543 -(% style="text-align:center" %) 1544 -[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png||height="59" width="300"]] 1544 +[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png]] 1545 1545 1546 1546 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. 1547 1547 1548 -== **DABIN/Decimal ASCII → BIN conversion** ==1548 +{{id name="_Toc19693"/}}{{id name="_Toc18078"/}}{{id name="_Toc5726"/}}**DABIN/Decimal ASCII → BIN conversion** 1549 1549 1550 -**DABIN(P)** 1550 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DABIN(P)** 1551 1551 1552 1552 Digital ASCII code (30H to 39H) is a instruction to convert real data into BIN data. 1553 1553 ... ... @@ -1561,23 +1561,24 @@ 1561 1561 1562 1562 **Device used** 1563 1563 1564 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|**Offset modification**|((( 1565 -**Pulse extension** 1564 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1565 +**Pulse** 1566 + 1567 +**extension** 1566 1566 ))) 1567 -|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1568 -|(% rowspan="2" %)DABIN|Parameter 1| | | | | |●|●|●|●|● 1569 -|Parameter 2|●|●|●|●|●|●|●|●|●|● 1569 +|**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** 1570 +|(% rowspan="2" %)DABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1571 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1570 1570 1571 1571 **Features** 1572 1572 1573 1573 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). 1574 1574 1575 -(% style="text-align:center" %) 1576 -[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png||height="273" width="750"]] 1577 +[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png]] 1577 1577 1578 1578 |**ASCII S**|**ASCII 10^^0^^**|**ASCII 10^^1^^**|**ASCII 10^^2^^**|**ASCII 10^^3^^**|**ASCII 10^^4^^** 1579 1579 |**ASCII code**|((( 1580 -Units of 1581 +{{id name="OLE_LINK36"/}}Units of 1581 1581 1582 1582 ASCII code 1583 1583 )))|((( ... ... @@ -1600,8 +1600,7 @@ 1600 1600 1601 1601 For example, When -25,108 is specified in (s) 1602 1602 1603 -(% style="text-align:center" %) 1604 -[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png||height="123" width="750"]] 1604 +[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png]] 1605 1605 1606 1606 • The ASCII data specified in (s) to (s)+2 is within the range of -32,768 to +32,767. 1607 1607 ... ... @@ -1631,12 +1631,11 @@ 1631 1631 **Example** 1632 1632 ))) 1633 1633 1634 -(% style="text-align:center" %) 1635 -[[image:07-5 Basic instructions_html_bec2bea131b58c03.png||height="55" width="300"]] 1634 +[[image:07-5 Basic instructions_html_bec2bea131b58c03.png]] 1636 1636 1637 -== **DDABIN/Decimal ASCII → BIN32-bit data conversion** ==1636 +{{id name="_Toc3351"/}}{{id name="_Toc26383"/}}{{id name="_Toc26233"/}}**DDABIN/Decimal ASCII → BIN32-bit data conversion** 1638 1638 1639 -**DDABIN(P)** 1638 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DDABIN(P)** 1640 1640 1641 1641 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). 1642 1642 ... ... @@ -1650,31 +1650,31 @@ 1650 1650 1651 1651 **Device used** 1652 1652 1653 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1654 -**Pulse extension** 1652 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1653 +**Pulse** 1654 + 1655 +**extension** 1655 1655 ))) 1656 -|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**[D]**|**XXP** 1657 -|(% rowspan="2" %)DDABIN|Parameter 1| | | | | |●|●|●| | |●|● 1658 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|● 1657 +|**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** 1658 +|(% rowspan="2" %)DDABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1659 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1659 1659 1660 1660 **Features** 1661 1661 1662 1662 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). 1663 1663 1664 -(% style="text-align:center" %) 1665 -[[image:07-5 Basic instructions_html_c444110b273f33b7.gif||height="193" width="800"]] 1665 +[[image:07-5 Basic instructions_html_c444110b273f33b7.gif]] 1666 1666 1667 1667 |**ASCII S**|**ASCII code**|**ASCII S**|**ASCII code** 1668 -|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|Hundred thousands of ASCII code 1668 +|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|{{id name="OLE_LINK38"/}}Hundred thousands of ASCII code 1669 1669 |ASCII 10^^1^^|Tens of ASCII code|ASCII 10^^6^^|Millions of ASCII code 1670 1670 |ASCII 10^^2^^|Hundreds of ASCII code|ASCII 10^^7^^|Ten millions of ASCII code 1671 -|ASCII 10^^3^^|Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1671 +|ASCII 10^^3^^|{{id name="OLE_LINK37"/}}Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1672 1672 |ASCII 10^^4^^|Tens thousands of ASCII code|ASCII 10^^9^^|billions of ASCII code 1673 1673 1674 1674 When -1234543210 is specified in (s) (When signed is specified) 1675 1675 1676 -(% style="text-align:center" %) 1677 -[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png||height="230" width="800"]] 1676 +[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png]] 1678 1678 1679 1679 • 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. 1680 1680 ... ... @@ -1690,7 +1690,7 @@ 1690 1690 |4084H|((( 1691 1691 When the Sign data exceeds the range of 30H to 39H, 20H, 00H and 2DH; 1692 1692 1693 -When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H; 1692 +{{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; 1694 1694 1695 1695 When the ASCII data specified in (s) to (s)+5 exceeds the range of -2,147,483,648 to +2,147,483,647 1696 1696 ))) ... ... @@ -1699,14 +1699,13 @@ 1699 1699 1700 1700 **Example** 1701 1701 1702 -(% style="text-align:center" %) 1703 -[[image:07-5 Basic instructions_html_feea438c943ea9dd.png||height="34" width="300"]] 1701 +[[image:07-5 Basic instructions_html_feea438c943ea9dd.png]] 1704 1704 1705 1705 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. 1706 1706 1707 -== **LIMIT/ BIN 16-bit data high and low limit control** ==1705 +{{id name="_Toc26556"/}}{{id name="_Toc12799"/}}{{id name="_Toc23863"/}}**LIMIT/ BIN 16-bit data high and low limit control** 1708 1708 1709 -**LIMIT(P)** 1707 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **LIMIT(P)** 1710 1710 1711 1711 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). 1712 1712 ... ... @@ -1722,16 +1722,16 @@ 1722 1722 1723 1723 **Device used** 1724 1724 1725 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan=" 12" %)**Devices**|**Offset modification**|(((1723 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1726 1726 **Pulse** 1727 1727 1728 1728 **extension** 1729 1729 ))) 1730 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**E**|**[D]**|**XXP** 1731 -|(% rowspan="4" %)LIMIT|Parameter 1|●|●|●|●|●|●|●|●|●|●|●| |●|● 1732 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●| |●|● 1733 -|Parameter 3|●|●|●|●|●|●|●|●|●| | | |●|● 1734 -|Parameter 4| |●|●|●|●|●|●|●|●| | | |●|● 1728 +|**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** 1729 +|(% rowspan="4" %)LIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1730 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1731 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 1732 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1735 1735 1736 1736 **Features** 1737 1737