Changes for page 1 Communication

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

From version 156.1
edited by Ben
on 2022/08/31 17:20
Change comment: There is no comment for this version
To version 165.1
edited by Bob
on 2022/11/15 19:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ben
1 +XWiki.Bob
Content
... ... @@ -436,7 +436,7 @@
436 436  
437 437  Supported Series: Siemens S7-300 series PLC
438 438  
439 -**1)PLC Setting**
439 +**1)V-BOX setting**
440 440  
441 441  |**Items**|**Settings**|**Note**
442 442  |Protocol|Simens S7-300 Ethernet|
... ... @@ -498,7 +498,7 @@
498 498  
499 499  Supported Series: Siemens S7-400, S7-1200 and S7-1500
500 500  
501 -**1)PLC Setting**
501 +**1)V-BOX setting**
502 502  
503 503  |=**Items**|=**Settings**|=**Note**
504 504  |Protocol|Siemens S7-XXX|
... ... @@ -704,6 +704,98 @@
704 704  [[image:image-20220825100845-4.png]]
705 705  
706 706  
707 +== ** FX3U Ethernet Protocol** ==
708 +
709 +Mitsubishi FX3U series PLC
710 +
711 +**HMI Settings**
712 +
713 +|Items|Settings|Note
714 +|Protocol|Mitsubishi FX3U|
715 +|Connection|Ethernet|
716 +|Port No.|5009|Must be the same as the PLC setting
717 +|PLC station No.|0|
718 +
719 +**Address List**
720 +
721 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
722 +|(% colspan="1" rowspan="7" %)Bit|X|X|X OOO|0~~377|
723 +|Y|Y|Y OOO|0~~377|
724 +|M|M|M DDDD|0~~7679|
725 +|SM|SM|SM DDDD|8000~~8511|
726 +|S|S|S DDDD|0~~4095|
727 +|TS|TS|TS DDD|0~~511|
728 +|CS|CS|CS DDD|0~~255|
729 +|(% colspan="1" rowspan="9" %)Word|CN|CN|CN DDD|0~~199|
730 +|TN|TN|TN DDD|0~~511|
731 +|D|D|D DDDD|0~~7999|
732 +|SD|SD|SD DDDD|8000~~8511|
733 +|R|R|R DDDDD|0~~32767|
734 +
735 +**Ethernet Module Settings**
736 +
737 +FX3U-ENET-L module configuration
738 +Set up the FX3U-ENET-L Ethernet module settings as follows.
739 +Select the module location, which in this document is Module 0.
740 +
741 +[[image:image-20221115140802-1.png]]
742 +
743 +Select "Operational setting" to enter the following screen.
744 +
745 +The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default.
746 +
747 +[[image:image-20221115142728-4.png]]
748 +
749 +Select "Open setting" to enter the setting interface, the settings are as follows.
750 +
751 +The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the
752 +
753 +Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module.
754 +
755 +[[image:image-20221115142945-5.png]]
756 +
757 +Click on "transter setup" - "PC side I/F setting", see the following figure.
758 +
759 +After setting, the first download must use the programming cable, as shown in the figure; after that, can
760 +
761 +use the IP set in the "Ethernet board" to communicate directly with the network cable.
762 +
763 +[[image:image-20221115143341-6.png||height="426" width="712"]]
764 +
765 +Read and write data from the Ethernet module
766 +
767 +[[image:image-20221115143703-7.png]]
768 +
769 +Set "Transter setup" to COM communication, and read or write operation as shown below
770 +
771 +[[image:image-20221115143809-8.png]]
772 +
773 +**PLC Settings (GX Works 2)**
774 +
775 +Create a blank FX5U project
776 +
777 +Find Current Connection in the navigation
778 +
779 +[[image:image-20221115144335-9.png||height="422" width="706"]]
780 +
781 +Select Connection Channel List
782 +
783 +Select Ethernet board communication
784 +
785 +[[image:image-20221115144824-10.png||height="421" width="705"]]
786 +
787 +Select Ethernet Module
788 +Set the IP address of the PLC
789 +
790 +[[image:image-20221115145228-11.png||height="674" width="708"]]
791 +
792 +Read or write PLC data, in this document is read
793 +
794 +[[image:image-20221115145553-12.png||height="424" width="711"]]
795 +
796 +[[image:image-20221115145559-13.png||height="424" width="711"]]
797 +
798 +
707 707  == **FX5U Serial Protocol** ==
708 708  
709 709  Mitsubishi FX5U series PLC
... ... @@ -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  
1407 +
1408 += Create communication with **Schneider PLC** =
1409 +
1410 +== **Schneider MODBUS RTU** ==
1411 +
1412 +**1)V-BOX Setting**
1413 +
1414 +|=**Parameters**|=**Recommended**|=**Notes**
1415 +|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU|
1416 +|**Connection**|RS485|
1417 +|**Baud rate**|19200|
1418 +|**Data bit**|8|
1419 +|**Parity**|Even|
1420 +|**Stop bit**|1|
1421 +|**PLC station No.**|1|
1422 +
1423 +**2)Address List**
1424 +
1425 +|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo**
1426 +|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only)
1427 +|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils
1428 +|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal)
1429 +|W|MW|DDDDDD|0 ~~ 999999|Output register
1430 +|DW|MD|DDDDDD|0 ~~ 999999|Output register
1431 +
1432 +**3)Configure the communication protocol**
1433 +
1434 +[[image:image-20220902104329-1.png]]
1435 +
1436 +**4)Cable Wiring**
1437 +
1438 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector.
1439 +
1440 +[[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"]]
1441 +
1315 1315  = Create communication with Inovance** PLC** =
1316 1316  
1317 1317  == **H3U serial protocol** ==
... ... @@ -1511,9 +1511,9 @@
1511 1511  
1512 1512  [[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"]]
1513 1513  
1514 -= Create communication with **Modbus RTU** =
1641 += Create communication with **Modbus ** =
1515 1515  
1516 -== **V-BOX as Slave** ==
1643 +== **MODBUS RTU Slave (All function)** ==
1517 1517  
1518 1518  Select the protocol "Modbus RTU Slave (All Fuction)",
1519 1519  
... ... @@ -1522,7 +1522,7 @@
1522 1522  (% style="text-align:center" %)
1523 1523  [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
1524 1524  
1525 -== **V-BOX as Master** ==
1652 +== **MODBUS RTU Master** ==
1526 1526  
1527 1527  Select the protocol "Modbus RTU Master",
1528 1528  
... ... @@ -1558,6 +1558,61 @@
1558 1558  |(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1559 1559  |0F (Write multiple bits)
1560 1560  
1688 +== **MODBUS TCP Slave (All function)** ==
1689 +
1690 +Supported series: MODBUS TCP controller
1691 +
1692 +V-B0X works as MODBUS TCP MASTER connecting with TCP SLAVE
1693 +
1694 +**1)V-BOX Setting**
1695 +
1696 +|**Items**|**Settings**|**Note**
1697 +|Protocol|MODBUS TCP Slave (All function)|
1698 +|Connection|Ethernet|
1699 +|Port No.|502|
1700 +|PLC station No.|1
1701 +
1702 +**2)Address List**
1703 +
1704 +|**Type**|**Register**|**Function code & Description**
1705 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
1706 +|06 (write single register: write a binary value to a holding register)
1707 +|10 (write values to multiple addresses )
1708 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
1709 +|06 (write single register: write a binary value to a holding register)
1710 +|10 (write values to multiple addresses )
1711 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
1712 +|06 (write single register: write a binary value to a holding register)
1713 +|10 (write values to multiple addresses )
1714 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
1715 +|10 (write values to multiple addresses )
1716 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
1717 +|05 (Force a single coil to force the on/off state of a logic coil)
1718 +|0F (Write multiple bits, ie write continuously)
1719 +|(% rowspan="3" %)1|02 (Read the input state)
1720 +|05 (Force a single coil to force the on/off state of a logic coil)
1721 +|0F (Write multiple bits)
1722 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
1723 +|05 (Force a single coil to force the on/off state of a logic coil)
1724 +|0F (Write multiple bits)
1725 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1726 +|0F (Write multiple bits)
1727 +
1728 +**3)Communication Settings**
1729 +
1730 +Configure V-BOX Ethernet IP in Networking Settings
1731 +
1732 +[[image:image-20220902111833-3.png]]
1733 +
1734 +
1735 +Configure PLC Ethernet IP in Communication;
1736 +
1737 +[[image:image-20220902111121-1.png]]
1738 +
1739 +**4)Cable Wiring**
1740 +
1741 +[[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"]]
1742 +
1561 1561  == **communicate with VB inverter** ==
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]]
image-20220902104329-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +58.7 KB
Content
image-20220902111121-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +60.9 KB
Content
image-20220902111754-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +57.6 KB
Content
image-20220902111833-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +56.1 KB
Content