Changes for page 1 Communication

Last modified by Hunter on 2024/07/01 10:54

From version 160.1
edited by Ben
on 2022/09/02 10:45
Change comment: There is no comment for this version
To version 162.1
edited by Ben
on 2022/09/02 11:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1546,9 +1546,9 @@
1546 1546  
1547 1547  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1548 1548  
1549 -= Create communication with **Modbus RTU** =
1549 += Create communication with **Modbus ** =
1550 1550  
1551 -== **V-BOX as Slave** ==
1551 +== **MODBUS TCP Slave (All function)** ==
1552 1552  
1553 1553  Select the protocol "Modbus RTU Slave (All Fuction)",
1554 1554  
... ... @@ -1557,7 +1557,7 @@
1557 1557  (% style="text-align:center" %)
1558 1558  [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
1559 1559  
1560 -== **V-BOX as Master** ==
1560 +== **MODBUS RTU Master** ==
1561 1561  
1562 1562  Select the protocol "Modbus RTU Master",
1563 1563  
... ... @@ -1593,6 +1593,67 @@
1593 1593  |(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1594 1594  |0F (Write multiple bits)
1595 1595  
1596 +== **MODBUS TCP Slave (All function)** ==
1597 +
1598 +Supported series: MODBUS TCP controller
1599 +
1600 +HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
1601 +
1602 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_8877cb7f39c2b607.png?width=544&height=571&rev=1.1||alt="12.PLC Protocol_html_8877cb7f39c2b607.png" height="571" width="544"]]
1603 +
1604 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_e7e1f06f127a9175.png?width=553&height=426&rev=1.1||alt="12.PLC Protocol_html_e7e1f06f127a9175.png" height="426" width="553"]]
1605 +
1606 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_60bbfe5de79417a6.png?width=553&height=163&rev=1.1||alt="12.PLC Protocol_html_60bbfe5de79417a6.png" height="163" width="553"]]
1607 +
1608 +**HMI Setting**
1609 +
1610 +|**Items**|**Settings**|**Note**
1611 +|Protocol|MODBUS TCP Slave (All function)|
1612 +|Connection|Ethernet|
1613 +|Port No.|502|
1614 +|PLC station No.|1|
1615 +
1616 +**Address List**
1617 +
1618 +|**Type**|**Register**|**Function code & Description**
1619 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
1620 +|06 (write single register: write a binary value to a holding register)
1621 +|10 (write values to multiple addresses )
1622 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
1623 +|06 (write single register: write a binary value to a holding register)
1624 +|10 (write values to multiple addresses )
1625 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
1626 +|06 (write single register: write a binary value to a holding register)
1627 +|10 (write values to multiple addresses )
1628 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
1629 +|10 (write values to multiple addresses )
1630 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
1631 +|05 (Force a single coil to force the on/off state of a logic coil)
1632 +|0F (Write multiple bits, ie write continuously)
1633 +|(% rowspan="3" %)1|02 (Read the input state)
1634 +|05 (Force a single coil to force the on/off state of a logic coil)
1635 +|0F (Write multiple bits)
1636 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
1637 +|05 (Force a single coil to force the on/off state of a logic coil)
1638 +|0F (Write multiple bits)
1639 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1640 +|0F (Write multiple bits)
1641 +
1642 +**Communication Settings**
1643 +
1644 +Enable HMI Ethernet in [Project Settings];
1645 +
1646 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_43b671f18153910d.png?width=405&height=107&rev=1.1||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]]
1647 +
1648 +Set PLC IP in [Device IP] settings;
1649 +
1650 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_4bd3cc8348adecf8.png?width=554&height=190&rev=1.1||alt="12.PLC Protocol_html_4bd3cc8348adecf8.png" height="190" width="554"]]
1651 +
1652 +**Cable Wiring**
1653 +
1654 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1655 +
1656 +
1596 1596  == **communicate with VB inverter** ==
1597 1597  
1598 1598  [[download link>>url:https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communicate%20with%20VB%20inverter.zip]]