Changes for page 1 Communication

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

From version 171.1
edited by Bob
on 2022/11/16 10:56
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bob
1 +XWiki.Ben
Content
... ... @@ -704,112 +704,6 @@
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-20221116094003-1.png]]
742 -
743 -
744 -Select "Operational setting" to enter the following screen.
745 -
746 -The Ethernet module IP is set to 192.168.39.254 in this document, and other options are default.
747 -
748 -[[image:image-20221116094019-2.png]]
749 -
750 -
751 -Select "Open setting" to enter the setting interface, the settings are as follows.
752 -
753 -The third item "Protocol" selects TCP, and "Open system" selects MELSOFT connection, which allows the
754 -
755 -Mitsubishi programming software GX works2 to communicate with the FX3U via the Ethernet module.
756 -
757 -[[image:image-20221116094038-3.png]]
758 -
759 -
760 -Click on "transter setup" - "PC side I/F setting", see the following figure.
761 -
762 -After setting, the first download must use the programming cable, as shown in the figure; after that, can
763 -
764 -use the IP set in the "Ethernet board" to communicate directly with the network cable.
765 -
766 -[[image:image-20221116094122-4.png||height="422" width="707"]]
767 -
768 -
769 -Read and write data from the Ethernet module
770 -
771 -[[image:image-20221116094131-5.png||height="551" width="708"]]
772 -
773 -
774 -Set "Transter setup" to COM communication, and read or write operation as shown below
775 -
776 -[[image:image-20221116094150-6.png]]
777 -
778 -
779 -**PLC Settings (GX Works 2)**
780 -
781 -Create a blank FX5U project
782 -
783 -Find Current Connection in the navigation
784 -
785 -[[image:image-20221116094206-7.png||height="425" width="711"]]
786 -
787 -
788 -Select Connection Channel List
789 -
790 -Select Ethernet board communication
791 -
792 -[[image:image-20221116094709-9.png||height="427" width="715"]]
793 -
794 -
795 -Select Ethernet Module
796 -Set the IP address of the PLC
797 -
798 -[[image:image-20221116094736-11.png||height="682" width="716"]]
799 -
800 -
801 -Read or write PLC data, in this document is read
802 -
803 -[[image:image-20221116094755-12.png||height="426" width="715"]]
804 -
805 -[[image:image-20221116094803-13.png||height="427" width="715"]]
806 -
807 -**V-BOX Communication Setting**
808 -
809 -
810 -
811 -
812 -
813 813  == **FX5U Serial Protocol** ==
814 814  
815 815  Mitsubishi FX5U series PLC
... ... @@ -964,10 +964,11 @@
964 964  
965 965  [[image:image-20220825112403-1.png||alt="图片-20220825112403-1.png"]]
966 966  
967 -**5)Cable Wiring**
861 +**5)电缆布线**
968 968  
969 969  [[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"]]
970 970  
865 +
971 971  == **L02 Serial Protocol** ==
972 972  
973 973  Mitsubishi L02 series CPU built-in serial port.
... ... @@ -1651,9 +1651,9 @@
1651 1651  
1652 1652  [[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"]]
1653 1653  
1654 -= Create communication with **Modbus ** =
1549 += Create communication with **Modbus RTU** =
1655 1655  
1656 -== **MODBUS RTU Slave (All function)** ==
1551 +== **V-BOX as Slave** ==
1657 1657  
1658 1658  Select the protocol "Modbus RTU Slave (All Fuction)",
1659 1659  
... ... @@ -1662,7 +1662,7 @@
1662 1662  (% style="text-align:center" %)
1663 1663  [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
1664 1664  
1665 -== **MODBUS RTU Master** ==
1560 +== **V-BOX as Master** ==
1666 1666  
1667 1667  Select the protocol "Modbus RTU Master",
1668 1668  
... ... @@ -1698,21 +1698,32 @@
1698 1698  |(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1699 1699  |0F (Write multiple bits)
1700 1700  
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 +
1701 1701  == **MODBUS TCP Slave (All function)** ==
1702 1702  
1703 1703  Supported series: MODBUS TCP controller
1704 1704  
1705 -V-B0X works as MODBUS TCP MASTER connecting with TCP SLAVE
1605 +HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
1706 1706  
1707 -**1)V-BOX Setting**
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"]]
1708 1708  
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 +
1709 1709  |**Items**|**Settings**|**Note**
1710 1710  |Protocol|MODBUS TCP Slave (All function)|
1711 1711  |Connection|Ethernet|
1712 1712  |Port No.|502|
1713 -|PLC station No.|1
1619 +|PLC station No.|1|
1714 1714  
1715 -**2)Address List**
1621 +**Address List**
1716 1716  
1717 1717  |**Type**|**Register**|**Function code & Description**
1718 1718  |(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
... ... @@ -1738,25 +1738,20 @@
1738 1738  |(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
1739 1739  |0F (Write multiple bits)
1740 1740  
1741 -**3)Communication Settings**
1647 +**Communication Settings**
1742 1742  
1743 -Configure V-BOX Ethernet IP in Networking Settings
1649 +Enable HMI Ethernet in [Project Settings];
1744 1744  
1745 -[[image:image-20220902111833-3.png]]
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"]]
1746 1746  
1653 +Set PLC IP in [Device IP] settings;
1747 1747  
1748 -Configure PLC Ethernet IP in Communication;
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"]]
1749 1749  
1750 -[[image:image-20220902111121-1.png]]
1657 +**Cable Wiring**
1751 1751  
1752 -**4)Cable Wiring**
1753 -
1754 1754  [[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"]]
1755 1755  
1756 -== **communicate with VB inverter** ==
1757 -
1758 -[[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]]
1759 -
1760 1760  = **User define protocol** =
1761 1761  
1762 1762  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,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -60.9 KB
Content
image-20220902111754-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -57.6 KB
Content
image-20220902111833-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -56.1 KB
Content