Changes for page 1 Communication
Last modified by Hunter on 2024/07/01 10:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1597,67 +1597,6 @@ 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]] 1599 1599 1600 - 1601 -== **MODBUS TCP Slave (All function)** == 1602 - 1603 -Supported series: MODBUS TCP controller 1604 - 1605 -HMI works as MODBUS TCP MASTER connecting with TCP SLAVE 1606 - 1607 -[[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"]] 1608 - 1609 -[[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"]] 1610 - 1611 -[[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"]] 1612 - 1613 -**HMI Setting** 1614 - 1615 -|**Items**|**Settings**|**Note** 1616 -|Protocol|MODBUS TCP Slave (All function)| 1617 -|Connection|Ethernet| 1618 -|Port No.|502| 1619 -|PLC station No.|1| 1620 - 1621 -**Address List** 1622 - 1623 -|**Type**|**Register**|**Function code & Description** 1624 -|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers) 1625 -|06 (write single register: write a binary value to a holding register) 1626 -|10 (write values to multiple addresses ) 1627 -|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers) 1628 -|06 (write single register: write a binary value to a holding register) 1629 -|10 (write values to multiple addresses ) 1630 -|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers) 1631 -|06 (write single register: write a binary value to a holding register) 1632 -|10 (write values to multiple addresses ) 1633 -|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers) 1634 -|10 (write values to multiple addresses ) 1635 -|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state) 1636 -|05 (Force a single coil to force the on/off state of a logic coil) 1637 -|0F (Write multiple bits, ie write continuously) 1638 -|(% rowspan="3" %)1|02 (Read the input state) 1639 -|05 (Force a single coil to force the on/off state of a logic coil) 1640 -|0F (Write multiple bits) 1641 -|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils) 1642 -|05 (Force a single coil to force the on/off state of a logic coil) 1643 -|0F (Write multiple bits) 1644 -|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils) 1645 -|0F (Write multiple bits) 1646 - 1647 -**Communication Settings** 1648 - 1649 -Enable HMI Ethernet in [Project Settings]; 1650 - 1651 -[[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"]] 1652 - 1653 -Set PLC IP in [Device IP] settings; 1654 - 1655 -[[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"]] 1656 - 1657 -**Cable Wiring** 1658 - 1659 -[[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"]] 1660 - 1661 1661 = **User define protocol** = 1662 1662 1663 1663 More serial port script instruction,please refer manual:[[Lua script function>>doc:V-BOX.V-Net.Manual.04 Lua Script.01 Lua Functions.WebHome]]~-~-->[[3.Serial port operation>>url:http://docs.we-con.com.cn/wiki/vbox/view/HMI/04.Lua%20script%20%20function%20and%20operation/01.Lua%20script%20function/#H3.Serialportoperation]]