Changes for page 1 Communication

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

From version 161.1
edited by Ben
on 2022/09/02 11:04
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
... ... @@ -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
... ... @@ -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-BOX as Slave** ==
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-BOX as Master** ==
1652 +== **MODBUS RTU Master** ==
1561 1561  
1562 1562  Select the protocol "Modbus RTU Master",
1563 1563  
... ... @@ -1593,32 +1593,21 @@
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 -== **communicate with VB inverter** ==
1597 -
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]]
1599 -
1600 -
1601 1601  == **MODBUS TCP Slave (All function)** ==
1602 1602  
1603 1603  Supported series: MODBUS TCP controller
1604 1604  
1605 -HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
1692 +V-B0X works as MODBUS TCP MASTER connecting with TCP SLAVE
1606 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"]]
1694 +**1)V-BOX Setting**
1608 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 1615  |**Items**|**Settings**|**Note**
1616 1616  |Protocol|MODBUS TCP Slave (All function)|
1617 1617  |Connection|Ethernet|
1618 1618  |Port No.|502|
1619 -|PLC station No.|1|
1700 +|PLC station No.|1
1620 1620  
1621 -**Address List**
1702 +**2)Address List**
1622 1622  
1623 1623  |**Type**|**Register**|**Function code & Description**
1624 1624  |(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
... ... @@ -1644,20 +1644,25 @@
1644 1644  |(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1645 1645  |0F (Write multiple bits)
1646 1646  
1647 -**Communication Settings**
1728 +**3)Communication Settings**
1648 1648  
1649 -Enable HMI Ethernet in [Project Settings];
1730 +Configure V-BOX Ethernet IP in Networking Settings
1650 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"]]
1732 +[[image:image-20220902111833-3.png]]
1652 1652  
1653 -Set PLC IP in [Device IP] settings;
1654 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"]]
1735 +Configure PLC Ethernet IP in Communication;
1656 1656  
1657 -**Cable Wiring**
1737 +[[image:image-20220902111121-1.png]]
1658 1658  
1739 +**4)Cable Wiring**
1740 +
1659 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 1660  
1743 +== **communicate with VB inverter** ==
1744 +
1745 +[[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]]
1746 +
1661 1661  = **User define protocol** =
1662 1662  
1663 1663  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-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