Changes for page 1 Communication

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

From version 6.1
edited by Jim
on 2022/06/27 14:09
Change comment: There is no comment for this version
To version 15.1
edited by Ben
on 2022/07/14 14:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Jim
1 +XWiki.Ben
Content
... ... @@ -1,8 +1,8 @@
1 1  = **1 General communication with PLC** =
2 2  
3 -== **1.1 Modbus RTU** ==
3 +== **Modbus RTU** ==
4 4  
5 -==== V-Box as master: ====
5 +=== **V-BOX as master** ===
6 6  
7 7  Select the protocol “(% class="mark" %)Modbus RTU Slave(All Fuction)”,
8 8  
... ... @@ -11,7 +11,7 @@
11 11  (% style="text-align:center" %)
12 12  [[image:1624342015914-382.png||height="486" width="800" class="img-thumbnail"]]
13 13  
14 -==== V-Box as slave: ====
14 +=== **V-BOX as slave** ===
15 15  
16 16  Select the protocol “(% class="mark" %)**Modbus RTU Master”**,
17 17  
... ... @@ -47,7 +47,7 @@
47 47  |(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
48 48  |0F (Write multiple bits)
49 49  
50 -== **1.2 WECON LX3V PLC** ==
50 +== **WECON LX3V PLC** ==
51 51  
52 52  Select the protocol (% class="mark" %)"WECON LX3V"
53 53  
... ... @@ -58,39 +58,196 @@
58 58  (% style="text-align:center" %)
59 59  [[image:1624348978863-771.png||queryString="width=812&height=494" height="487" width="800" class="img-thumbnail"]]
60 60  
61 -== **1.3 Siemens S7-1200** ==
61 +(% class="wikigeneratedid" %)
62 +== ==
62 62  
64 +== **2 Communication with Allen-Bradley CompactLogix L1769** ==
65 +
66 +(((
67 +This example introduces the establishment of Ethernet communication between Wecon V-box and Allen-Bradley L1769. It is introduced through three parts: PLC software configuration, V-box software configuration, and hardware wiring.
68 +
69 +
70 +)))
71 +
72 +(((
73 +(% class="wikigeneratedid" id="HSoftwareconfigurationofPLC" %)
74 +(((
75 +**Software configuration of PLC**
76 +)))
77 +
78 +(% class="wikigeneratedid" id="HPLCprogrammingsoftware" %)
79 +(((
80 +**1)PLC programming software**
81 +)))
82 +
83 +[[image:image-20220714113935-3.png||height="324" width="270"]]
84 +
85 +(% class="wikigeneratedid" id="HNewPLCproject" %)
86 +(((
87 +**2)New PLC project**
88 +)))
89 +
90 +(((
91 +Click New Project and select the PLC model.
92 +)))
93 +
94 +(((
95 +[[image:image-20220714114247-4.png||height="298" width="552"]] [[image:image-20220714114257-5.png||height="445" width="551"]]
96 +)))
97 +
98 +(((
99 +
100 +)))
101 +
102 +(((
103 +(% class="wikigeneratedid" id="HSetEthernetparameters" %)
104 +(((
105 +**3)Set Ethernet parameters**
106 +)))
107 +
108 +(((
109 +(((
110 +Follow the steps below to configure Ethernet parameters
111 +)))
112 +)))
113 +
114 +(((
115 +(((
116 +PLC IP address:192.168.40.101
117 +)))
118 +)))
119 +
120 +(((
121 +(((
122 +default gateway:192.168.40.1
123 +)))
124 +)))
125 +
126 +(((
127 +(((
128 +subnet mask:255.255.255.0
129 +)))
130 +)))
131 +
132 +(((
133 +[[image:image-20220714115012-6.png]]
134 +)))
135 +
136 +(((
137 +
138 +)))
139 +
140 +(((
141 +(% class="wikigeneratedid" id="HV-boxsoftwareconfiguration" %)
142 +(((
143 +**V-box software configuration**
144 +)))
145 +
146 +(% class="wikigeneratedid" id="HV-boxprogrammingsoftware" %)
147 +(((
148 +**1)V-box programming software**
149 +)))
150 +
151 +(% class="wikigeneratedid" %)
152 +(((
153 + [[image:image-20220714115214-7.png||height="276" width="456"]]
154 +)))
155 +
156 +(% class="wikigeneratedid" id="HConfiguredevicenetwork" %)
157 +(((
158 +**2)Configure device network**
159 +)))
160 +
161 +(((
162 +(((
163 +Click the Configuration Download button[[image:image-20220714115308-8.png||height="22" width="15"]], It is used to configure the device network, update the device time, obtain the device machine code, check the device network, etc.
164 +)))
165 +)))
166 +
167 +(((
168 +(((
169 +In the example below, the IP address of V-Box is configured as 192.168.40.66, and the networking method is 4G connection [[image:image-20220714115440-9.png||height="425" width="791"]]
170 +)))
171 +)))
172 +)))
173 +)))
174 +
175 +(% class="wikigeneratedid" id="HV-netadddevice" %)
176 +(((
177 +**3)V-net add device**
178 +)))
179 +)))
180 +
181 +(((
182 +Open VNET client software → add device. As shown in the figure below, click "+" in the order of steps, and the Add Device window will pop up, enter the device machine code/product code, device password, and device alias to add the device.   [[image:image-20220714115640-10.png||height="430" width="797"]]
183 +)))
184 +
185 +(((
186 +
187 +)))
188 +
189 +(((
190 +(% class="wikigeneratedid" id="HSetcommunicationportparameters" %)
191 +(((
192 +**4)Set communication port parameters**
193 +)))
194 +
195 +In the device list on the left, find the Vbox that communicates with the L1769, click it and select configuration,communication port configuration in the main interface to add a communication protocol. [[image:image-20220714115848-11.png||height="432" width="802"]]
196 +)))
197 +
198 +The communication port is selected as Ethernet, the device type is selected as Allen-Bradley, the protocol is Allen-BradleyMicro850_FreeTag EthemetIP, and the IP is the internal IP address of the L1769 PLC. The port number is 44818.
199 +
200 +[[image:image-20220714143820-1.png]]
201 +
202 +After adding the protocol Allen-BradleyMicro850_FreeTag, click[[image:image-20220714143838-2.png]]icon add label.
203 +
204 +[[image:image-20220714143849-3.png]]
205 +
206 +
207 +== Engineering production ==
208 +
209 +
210 +== **Siemens S7-1200** ==
211 +
63 63  [[download link>>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%20S7-1200%20via%20Ehernet.zip]]
64 64  
65 -== **1.4 Allen-Bradley Ethernet DF1** ==
214 +== **Allen-Bradley Ethernet DF1** ==
66 66  
67 67  [[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Allen-Bradley%20Ethernet%20DF1.zip]]
68 68  
69 -== **1.5 Communication with S7-200 Smart** ==
218 +== **Communication with S7-200 Smart** ==
70 70  
71 71  [[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20S7-200%20Smart.zip]]
72 72  
73 -== **1.6 Delta DVP Ethernet** ==
222 +== **Delta DVP Ethernet** ==
74 74  
75 75  [[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Delta%20DVP%20Ethernet.zip]]
76 76  
77 -== **1.7 Delta DVP Serial Protocol** ==
226 +== **Delta DVP Serial Protocol** ==
78 78  
79 79  [[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Delta%20DVP%20Ethernet.zip]]
80 80  
81 -== **1.8 Communicate with Mitsubishi FX Series** ==
230 +== **Communicate with Mitsubishi FX Series** ==
82 82  
83 83  [[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%20Mitsubishi%20FX%20Series.zip]]
84 84  
85 -== **1.9 Communicate with VB inverter** ==
234 +== **Communicate with VB inverter** ==
86 86  
87 87  [[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]]
88 88  
238 +== **Omron CP1 Series** ==
239 +
240 +[[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CP1%20Series.zip]]
241 +
242 +== **Omron CJ2M** ==
243 +
244 +[[download link>>https://ftp.we-con.com.cn/Download/WIKI/V-BOX/Demo/%E9%80%9A%E8%AE%AF%E6%A1%88%E4%BE%8B/Communication%20with%20ORMON%20CJ2M.zip]]
245 +
89 89  = **2 User define protocol** =
90 90  
91 91  More serial port script instruction,please refer manual:[[Lua script function>>doc:V-BOX.V-Net.1\.User 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]]
92 92  
93 -== **2.1 Read the temperature sensor.** ==
250 +== **Read the temperature sensor.** ==
94 94  
95 95  the commond format is as beliow:
96 96  
image-20220714113815-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +907.8 KB
Content
image-20220714113842-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +56.8 KB
Content
image-20220714113935-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +60.0 KB
Content
image-20220714114247-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.3 MB
Content
image-20220714114257-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +2.0 MB
Content
image-20220714115012-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.1 MB
Content
image-20220714115214-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.0 MB
Content
image-20220714115308-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +718 bytes
Content
image-20220714115440-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.1 MB
Content
image-20220714115640-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.3 MB
Content
image-20220714115848-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.3 MB
Content
image-20220714143820-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.4 MB
Content
image-20220714143838-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +520 bytes
Content
image-20220714143849-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.3 MB
Content