Changes for page 1 Communication

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

From version 157.1
edited by Ben
on 2022/08/31 17:21
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
... ... @@ -1312,6 +1312,41 @@
1312 1312  
1313 1313  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/image-20220830160232-3.png?rev=1.1||alt="image-20220830160232-3.png"]]
1314 1314  
1315 +
1316 += Create communication with **Schneider PLC** =
1317 +
1318 +== **Schneider MODBUS RTU** ==
1319 +
1320 +**1)V-BOX Setting**
1321 +
1322 +|=**Parameters**|=**Recommended**|=**Notes**
1323 +|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU|
1324 +|**Connection**|RS485|
1325 +|**Baud rate**|19200|
1326 +|**Data bit**|8|
1327 +|**Parity**|Even|
1328 +|**Stop bit**|1|
1329 +|**PLC station No.**|1|
1330 +
1331 +**2)Address List**
1332 +
1333 +|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo**
1334 +|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only)
1335 +|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils
1336 +|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal)
1337 +|W|MW|DDDDDD|0 ~~ 999999|Output register
1338 +|DW|MD|DDDDDD|0 ~~ 999999|Output register
1339 +
1340 +**3)Configure the communication protocol**
1341 +
1342 +[[image:image-20220902104329-1.png]]
1343 +
1344 +**4)Cable Wiring**
1345 +
1346 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector.
1347 +
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"]]
1349 +
1315 1315  = Create communication with Inovance** PLC** =
1316 1316  
1317 1317  == **H3U serial protocol** ==
... ... @@ -1562,6 +1562,67 @@
1562 1562  
1563 1563  [[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]]
1564 1564  
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 +
1565 1565  = **User define protocol** =
1566 1566  
1567 1567  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