Changes for page 1 Communication

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

From version 158.1
edited by Ben
on 2022/09/02 10:14
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
... ... @@ -1317,11 +1317,11 @@
1317 1317  
1318 1318  == **Schneider MODBUS RTU** ==
1319 1319  
1320 -**HMI Setting**
1320 +**1)V-BOX Setting**
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 -**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
... ... @@ -1341,8 +1341,12 @@
1341 1341  |W|MW|DDDDDD|0 ~~ 999999|Output register
1342 1342  |DW|MD|DDDDDD|0 ~~ 999999|Output register
1343 1343  
1344 -**Wiring Diagram**
1340 +**3)Configure the communication protocol**
1345 1345  
1342 +[[image:image-20220902104329-1.png]]
1343 +
1344 +**4)Cable Wiring**
1345 +
1346 1346  **RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector.
1347 1347  
1348 1348  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/image-20220817154212-1.jpeg?width=554&height=315&rev=1.1||alt="image-20220817154212-1.jpeg" height="315" width="554"]]
... ... @@ -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]]
image-20220902104329-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +58.7 KB
Content