Changes for page 1 Communication

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

From version 4.1
edited by Leo
on 2022/06/16 17:20
Change comment: Renamed back-links.
To version 16.1
edited by Ben
on 2022/07/14 16:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -1 Communication with device
1 +1 Communication
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Leo
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  
... ... @@ -9,9 +9,9 @@
9 9  (% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity
10 10  
11 11  (% style="text-align:center" %)
12 -[[image:1624342015914-382.png||class="img-thumbnail" height="486" width="800"]]
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  
... ... @@ -18,7 +18,7 @@
18 18  (% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity
19 19  
20 20  (% style="text-align:center" %)
21 -[[image:1624348709622-711.png||queryString="width=809&height=493" class="img-thumbnail" height="488" width="800"]]
21 +[[image:1624348709622-711.png||queryString="width=809&height=493" height="488" width="800" class="img-thumbnail"]]
22 22  
23 23  **Address List**
24 24  
... ... @@ -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  
... ... @@ -56,33 +56,255 @@
56 56  (% class="mark" %)WECON PLC RS422 port,default communication parameters is 9600,1,7,ZEVEN
57 57  
58 58  (% style="text-align:center" %)
59 -[[image:1624348978863-771.png||queryString="width=812&height=494" class="img-thumbnail" height="487" width="800"]]
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 +== **2 Communication with Allen-Bradley CompactLogix L1769** ==
62 62  
63 +(((
64 +(((
65 +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.
66 +)))
67 +
68 +
69 +)))
70 +
71 +(((
72 +(% class="wikigeneratedid" id="HSoftwareconfigurationofPLC" %)
73 +(((
74 +**Software configuration of PLC**
75 +)))
76 +
77 +(% class="wikigeneratedid" id="HPLCprogrammingsoftware" %)
78 +(((
79 +**1)PLC programming software**
80 +)))
81 +
82 +[[image:image-20220714160120-3.png||height="308" width="255"]]
83 +
84 +(% class="wikigeneratedid" id="HNewPLCproject" %)
85 +(((
86 +**2)New PLC project**
87 +)))
88 +
89 +(((
90 +(((
91 +Click New Project and select the PLC model.
92 +)))
93 +)))
94 +
95 +(((
96 +
97 +)))
98 +
99 +(((
100 +[[image:image-20220714160335-4.png||height="215" width="398"]]
101 +
102 +[[image:image-20220714160412-5.png||height="319" width="395"]]
103 +)))
104 +
105 +(((
106 +(% class="wikigeneratedid" id="HSetEthernetparameters" %)
107 +(((
108 +**3)Set Ethernet parameters**
109 +)))
110 +
111 +(((
112 +(((
113 +(((
114 +Follow the steps below to configure Ethernet parameters
115 +)))
116 +)))
117 +)))
118 +
119 +(((
120 +(((
121 +(((
122 +PLC IP address:192.168.40.101
123 +)))
124 +)))
125 +)))
126 +
127 +(((
128 +(((
129 +(((
130 +default gateway:192.168.40.1
131 +)))
132 +)))
133 +)))
134 +
135 +(((
136 +(((
137 +(((
138 +subnet mask:255.255.255.0
139 +)))
140 +)))
141 +)))
142 +
143 +(((
144 +[[image:image-20220714160439-6.png||height="325" width="717"]]
145 +)))
146 +
147 +(((
148 +
149 +)))
150 +
151 +(((
152 +(% class="wikigeneratedid" id="HV-boxsoftwareconfiguration" %)
153 +(((
154 +**V-box software configuration**
155 +)))
156 +
157 +(% class="wikigeneratedid" id="HV-boxprogrammingsoftware" %)
158 +(((
159 +**1)V-box programming software**
160 +)))
161 +
162 +(% class="wikigeneratedid" %)
163 +(((
164 + [[image:image-20220714160541-7.png||height="189" width="314"]]
165 +)))
166 +
167 +(% class="wikigeneratedid" id="HConfiguredevicenetwork" %)
168 +(((
169 +**2)Configure device network**
170 +)))
171 +
172 +(((
173 +(((
174 +(((
175 +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.
176 +)))
177 +
178 +(((
179 +In the example below, the IP address of V-Box is configured as 192.168.40.66, and the networking method is 4G connection
180 +)))
181 +)))
182 +)))
183 +
184 +(((
185 +(((
186 +[[image:image-20220714160651-8.png||height="389" width="724"]]
187 +
188 +
189 +)))
190 +)))
191 +)))
192 +)))
193 +
194 +(% class="wikigeneratedid" id="HV-netadddevice" %)
195 +(((
196 +**3)V-net add device**
197 +)))
198 +)))
199 +
200 +(((
201 +(((
202 +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-20220714160034-2.png||height="394" width="731"]]
203 +)))
204 +
205 +
206 +)))
207 +
208 +(((
209 +(% class="wikigeneratedid" id="HSetcommunicationportparameters" %)
210 +(((
211 +**4)Set communication port parameters**
212 +)))
213 +
214 +(((
215 +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.
216 +)))
217 +
218 +[[image:image-20220714160843-9.png||height="395" width="733"]]
219 +)))
220 +
221 +(((
222 +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.
223 +)))
224 +
225 +[[image:image-20220714160943-10.png||height="300" width="487"]]
226 +
227 +
228 +(((
229 +After adding the protocol Allen-BradleyMicro850_FreeTag, click[[image:image-20220714143838-2.png]]icon add label.[[image:image-20220714161120-12.png||height="403" width="740"]]
230 +)))
231 +
232 +(% class="wikigeneratedid" id="HEngineeringproduction" %)
233 +(((
234 +**5)Engineering production**
235 +)))
236 +
237 +(% class="wikigeneratedid" %)
238 +(((
239 +(((
240 +According to your own needs, use the V-NET client software to edit the required data monitoring points.
241 +)))
242 +
243 +[[image:image-20220714161229-13.png||height="217" width="732"]]
244 +
245 +
246 +(((
247 +**hardware connection**
248 +)))
249 +)))
250 +
251 +(((
252 +**1)Hardware wiring diagram**
253 +)))
254 +
255 +(((
256 +(((
257 +This example introduces Wecon V-box with Allen-Bradley L1769 PLC to establish communication through Ethernet. The connection diagram is as follows:
258 +)))
259 +
260 +[[image:image-20220714161445-14.png]]
261 +
262 +(((
263 +The above are all the steps for establishing Ethernet communication between Wecon V-box with Allen-Bradley L1769 PLC.
264 +)))
265 +)))
266 +
267 +== **Siemens S7-1200** ==
268 +
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** ==
271 +== **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** ==
275 +== **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** ==
279 +== **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** ==
283 +== **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  
287 +== **Communicate with Mitsubishi FX Series** ==
288 +
289 +[[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]]
290 +
291 +== **Communicate with VB inverter** ==
292 +
293 +[[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]]
294 +
295 +== **Omron CP1 Series** ==
296 +
297 +[[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]]
298 +
299 +== **Omron CJ2M** ==
300 +
301 +[[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]]
302 +
81 81  = **2 User define protocol** =
82 82  
83 83  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]]
84 84  
85 -== **2.1 Read the temperature sensor.** ==
307 +== **Read the temperature sensor.** ==
86 86  
87 87  the commond format is as beliow:
88 88  
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
image-20220714160006-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +1.3 MB
Content
image-20220714160034-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +135.2 KB
Content
image-20220714160120-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +58.8 KB
Content
image-20220714160335-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +264.1 KB
Content
image-20220714160412-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +58.5 KB
Content
image-20220714160439-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +104.0 KB
Content
image-20220714160541-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +13.7 KB
Content
image-20220714160651-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +135.2 KB
Content
image-20220714160843-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +165.9 KB
Content
image-20220714160943-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +50.2 KB
Content
image-20220714161014-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +94.3 KB
Content
image-20220714161120-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +94.3 KB
Content
image-20220714161229-13.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +62.5 KB
Content
image-20220714161445-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +131.2 KB
Content