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,18 +1504,14 @@ 1504 1504 1505 1505 **Device used** 1506 1506 1507 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="14" %)**Devices**|((( 1508 -**Offset** 1509 - 1510 -**modification** 1507 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 1508 +**Offset modification** 1511 1511 )))|((( 1512 -**Pulse** 1513 - 1514 -**extension** 1510 +**Pulse extension** 1515 1515 ))) 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| | | | | | |●|●|●| | | | | |●|●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| | | | | | |●|●|●| | | | |●|● 1519 1519 1520 1520 **Features** 1521 1521 ... ... @@ -1523,8 +1523,11 @@ 1523 1523 1524 1524 For example, when -12345678 is specified in (s). (in the case of specifying signed) 1525 1525 1526 -[[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]] 1527 1527 1525 + The calculation result stored in (d) will be as below. 1526 + 1528 1528 • In "Sign", 20H is stored when the BIN data is positive, and 2DH is stored when it is negative. 1529 1529 1530 1530 • 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. ... ... @@ -1541,13 +1541,14 @@ 1541 1541 1542 1542 **Example** 1543 1543 1544 -[[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"]] 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 - {{id name="_Toc19693"/}}{{id name="_Toc18078"/}}{{idname="_Toc5726"/}}**DABIN/Decimal ASCII → BIN conversion**1548 +== **DABIN/Decimal ASCII → BIN conversion** == 1549 1549 1550 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DABIN(P)**1550 +**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,24 +1561,23 @@ 1561 1561 1562 1562 **Device used** 1563 1563 1564 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1565 -**Pulse** 1566 - 1567 -**extension** 1564 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|**Offset modification**|((( 1565 +**Pulse extension** 1568 1568 ))) 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| | | | | | | | | | | |●|●|●|●|●|●|●|●|| | | | |●|●1567 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1568 +|(% rowspan="2" %)DABIN|Parameter 1| | | | | |●|●|●|●|● 1569 +|Parameter 2|●|●|●|●|●|●|●|●|●|● 1572 1572 1573 1573 **Features** 1574 1574 1575 1575 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). 1576 1576 1577 -[[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"]] 1578 1578 1579 1579 |**ASCII S**|**ASCII 10^^0^^**|**ASCII 10^^1^^**|**ASCII 10^^2^^**|**ASCII 10^^3^^**|**ASCII 10^^4^^** 1580 1580 |**ASCII code**|((( 1581 - {{id name="OLE_LINK36"/}}Units of1580 +Units of 1582 1582 1583 1583 ASCII code 1584 1584 )))|((( ... ... @@ -1601,7 +1601,8 @@ 1601 1601 1602 1602 For example, When -25,108 is specified in (s) 1603 1603 1604 -[[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"]] 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,11 +1631,12 @@ 1631 1631 **Example** 1632 1632 ))) 1633 1633 1634 -[[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"]] 1635 1635 1636 - {{id name="_Toc3351"/}}{{id name="_Toc26383"/}}{{idname="_Toc26233"/}}**DDABIN/Decimal ASCII → BIN32-bit data conversion**1637 +== **DDABIN/Decimal ASCII → BIN32-bit data conversion** == 1637 1637 1638 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**DDABIN(P)**1639 +**DDABIN(P)** 1639 1639 1640 1640 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). 1641 1641 ... ... @@ -1649,31 +1649,31 @@ 1649 1649 1650 1650 **Device used** 1651 1651 1652 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1653 -**Pulse** 1654 - 1655 -**extension** 1653 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1654 +**Pulse extension** 1656 1656 ))) 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| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|| | |●|●1656 +|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**[D]**|**XXP** 1657 +|(% rowspan="2" %)DDABIN|Parameter 1| | | | | |●|●|●| | |●|● 1658 +|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|● 1660 1660 1661 1661 **Features** 1662 1662 1663 1663 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). 1664 1664 1665 -[[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"]] 1666 1666 1667 1667 |**ASCII S**|**ASCII code**|**ASCII S**|**ASCII code** 1668 -|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 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^^| {{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 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 -[[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"]] 1677 1677 1678 1678 • 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. 1679 1679 ... ... @@ -1689,7 +1689,7 @@ 1689 1689 |4084H|((( 1690 1690 When the Sign data exceeds the range of 30H to 39H, 20H, 00H and 2DH; 1691 1691 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;1693 +When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H; 1693 1693 1694 1694 When the ASCII data specified in (s) to (s)+5 exceeds the range of -2,147,483,648 to +2,147,483,647 1695 1695 ))) ... ... @@ -1698,13 +1698,14 @@ 1698 1698 1699 1699 **Example** 1700 1700 1701 -[[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"]] 1702 1702 1703 1703 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. 1704 1704 1705 - {{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** == 1706 1706 1707 - [[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]]**LIMIT(P)**1709 +**LIMIT(P)** 1708 1708 1709 1709 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). 1710 1710 ... ... @@ -1720,16 +1720,16 @@ 1720 1720 1721 1721 **Device used** 1722 1722 1723 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="2 4" %)**Devices**|**Offset modification**|(((1725 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="12" %)**Devices**|**Offset modification**|((( 1724 1724 **Pulse** 1725 1725 1726 1726 **extension** 1727 1727 ))) 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| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | || |●|●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| |●|●|●|●|●|●|●|●| | | |●|● 1733 1733 1734 1734 **Features** 1735 1735