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
on 2022/09/02 10:14
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.B en1 +XWiki.Bob - Content
-
... ... @@ -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 ... ... @@ -1317,11 +1317,11 @@ 1317 1317 1318 1318 == **Schneider MODBUS RTU** == 1319 1319 1320 -** HMISetting**1412 +**1)V-BOX Setting** 1321 1321 1322 1322 |=**Parameters**|=**Recommended**|=**Notes** 1323 1323 |**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 1324 -|Connection|RS485| 1416 +|**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**1423 +**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 -** WiringDiagram**1432 +**3)Configure the communication protocol** 1345 1345 1434 +[[image:image-20220902104329-1.png]] 1435 + 1436 +**4)Cable Wiring** 1437 + 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** =1641 += Create communication with **Modbus ** = 1550 1550 1551 -== ** V-BOXasSlave** ==1643 +== **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-BOXasMaster** ==1652 +== **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 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 + 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