Changes for page 1 Communication

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

From version 159.1
edited by Ben
on 2022/09/02 10:16
Change comment: There is no comment for this version
To version 161.1
edited by Ben
on 2022/09/02 11:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1321,7 +1321,7 @@
1321 1321  
1322 1322  |=**Parameters**|=**Recommended**|=**Notes**
1323 1323  |**Protocol**|(% colspan="1" %)Schneider MODBUS RTU|
1324 -|Connection|RS485|
1324 +|**Connection**|RS485|
1325 1325  |**Baud rate**|19200|
1326 1326  |**Data bit**|8|
1327 1327  |**Parity**|Even|
... ... @@ -1328,12 +1328,8 @@
1328 1328  |**Stop bit**|1|
1329 1329  |**PLC station No.**|1|
1330 1330  
1331 -**PLC Setting**
1331 +**2)Address List**
1332 1332  
1333 -|=**Communication mode**|Modbus RTU protocol
1334 -
1335 -**2)Device Address**
1336 -
1337 1337  |=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo**
1338 1338  |B|IX|DDDDDo|0 ~~ 655357|Input bit (read only)
1339 1339  |B|QX|DDDDDo|0 ~~ 655357|Write multiple coils
... ... @@ -1343,6 +1343,7 @@
1343 1343  
1344 1344  **3)Configure the communication protocol**
1345 1345  
1342 +[[image:image-20220902104329-1.png]]
1346 1346  
1347 1347  **4)Cable Wiring**
1348 1348  
... ... @@ -1600,6 +1600,67 @@
1600 1600  
1601 1601  [[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]]
1602 1602  
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 +
1603 1603  = **User define protocol** =
1604 1604  
1605 1605  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]]
image-20220902104329-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +58.7 KB
Content