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 173.1
edited by Bob
on 2022/11/16 11:00
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
... ... @@ -704,6 +704,101 @@
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 +**1)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-20221116105850-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-20221116105947-1.png]]
748 +
749 +
750 +Select "Open setting" to enter the setting interface, the settings are as follows.
751 +
752 +The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the
753 +
754 +Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module.
755 +
756 +
757 +
758 +Click on "transter setup" - "PC side I/F setting", see the following figure.
759 +
760 +After setting, the first download must use the programming cable, as shown in the figure; after that, can
761 +
762 +use the IP set in the "Ethernet board" to communicate directly with the network cable.
763 +
764 +
765 +
766 +Read and write data from the Ethernet module
767 +
768 +
769 +
770 +Set "Transter setup" to COM communication, and read or write operation as shown below
771 +
772 +
773 +
774 +**PLC Settings (GX Works 2)**
775 +
776 +Create a blank FX5U project
777 +
778 +Find Current Connection in the navigation
779 +
780 +
781 +
782 +Select Connection Channel List
783 +
784 +Select Ethernet board communication
785 +
786 +
787 +
788 +Select Ethernet Module
789 +Set the IP address of the PLC
790 +
791 +
792 +
793 +Read or write PLC data, in this document is read
794 +
795 +
796 +
797 +**V-BOX Communication Setting**
798 +
799 +
800 +
801 +
707 707  == **FX5U Serial Protocol** ==
708 708  
709 709  Mitsubishi FX5U series PLC
... ... @@ -858,11 +858,10 @@
858 858  
859 859  [[image:image-20220825112403-1.png||alt="图片-20220825112403-1.png"]]
860 860  
861 -**5)电缆布线**
956 +**5)Cable Wiring**
862 862  
863 863  [[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"]]
864 864  
865 -
866 866  == **L02 Serial Protocol** ==
867 867  
868 868  Mitsubishi L02 series CPU built-in serial port.
... ... @@ -1317,11 +1317,11 @@
1317 1317  
1318 1318  == **Schneider MODBUS RTU** ==
1319 1319  
1320 -**HMI Setting**
1414 +**1)V-BOX Setting**
1321 1321  
1322 1322  |=**Parameters**|=**Recommended**|=**Notes**
1323 1323  |**Protocol**|(% colspan="1" %)Schneider MODBUS RTU|
1324 -|Connection|RS485|
1418 +|**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**
1425 +**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**
1434 +**3)Configure the communication protocol**
1345 1345  
1436 +[[image:image-20220902104329-1.png]]
1437 +
1438 +**4)Cable Wiring**
1439 +
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** =
1643 += Create communication with **Modbus ** =
1550 1550  
1551 -== **V-BOX as Slave** ==
1645 +== **MODBUS RTU 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** ==
1654 +== **MODBUS RTU Master** ==
1561 1561  
1562 1562  Select the protocol "Modbus RTU Master",
1563 1563  
... ... @@ -1593,6 +1593,61 @@
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  
1690 +== **MODBUS TCP Slave (All function)** ==
1691 +
1692 +Supported series: MODBUS TCP controller
1693 +
1694 +V-B0X works as MODBUS TCP MASTER connecting with TCP SLAVE
1695 +
1696 +**1)V-BOX Setting**
1697 +
1698 +|**Items**|**Settings**|**Note**
1699 +|Protocol|MODBUS TCP Slave (All function)|
1700 +|Connection|Ethernet|
1701 +|Port No.|502|
1702 +|PLC station No.|1
1703 +
1704 +**2)Address List**
1705 +
1706 +|**Type**|**Register**|**Function code & Description**
1707 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
1708 +|06 (write single register: write a binary value to a holding register)
1709 +|10 (write values to multiple addresses )
1710 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
1711 +|06 (write single register: write a binary value to a holding register)
1712 +|10 (write values to multiple addresses )
1713 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
1714 +|06 (write single register: write a binary value to a holding register)
1715 +|10 (write values to multiple addresses )
1716 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
1717 +|10 (write values to multiple addresses )
1718 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
1719 +|05 (Force a single coil to force the on/off state of a logic coil)
1720 +|0F (Write multiple bits, ie write continuously)
1721 +|(% rowspan="3" %)1|02 (Read the input state)
1722 +|05 (Force a single coil to force the on/off state of a logic coil)
1723 +|0F (Write multiple bits)
1724 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
1725 +|05 (Force a single coil to force the on/off state of a logic coil)
1726 +|0F (Write multiple bits)
1727 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1728 +|0F (Write multiple bits)
1729 +
1730 +**3)Communication Settings**
1731 +
1732 +Configure V-BOX Ethernet IP in Networking Settings
1733 +
1734 +[[image:image-20220902111833-3.png]]
1735 +
1736 +
1737 +Configure PLC Ethernet IP in Communication;
1738 +
1739 +[[image:image-20220902111121-1.png]]
1740 +
1741 +**4)Cable Wiring**
1742 +
1743 +[[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"]]
1744 +
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
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
image-20221116105850-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +18.9 KB
Content
image-20221116105947-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bob
Size
... ... @@ -1,0 +1,1 @@
1 +18.7 KB
Content