Changes for page 1 Communication

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

From version 18.1
edited by Stone Wu
on 2022/07/25 11:32
Change comment: Renamed back-links.
To version 42.1
edited by Ben
on 2022/08/24 11:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.Ben
Content
... ... @@ -1,7 +1,5 @@
1 -= **1 General communication with PLC** =
1 += **Modbus RTU** =
2 2  
3 -== **Modbus RTU** ==
4 -
5 5  === **V-BOX as master** ===
6 6  
7 7  Select the protocol “(% class="mark" %)Modbus RTU Slave(All Fuction)”,
... ... @@ -47,25 +47,256 @@
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 -== **WECON LX3V PLC** ==
48 += **WECON PLC** =
51 51  
52 -Select the protocol (% class="mark" %)"WECON LX3V"
50 +== **维控 LX3V 串行通信** ==
53 53  
54 -(% class="mark" %)then set BaudRate,Port,Stop Bit,Data Bit,Parity same with PLC.
52 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
55 55  
56 -(% class="mark" %)WECON PLC RS422 port,default communication parameters is 9600,1,7,ZEVEN
54 +**HMI Settings**
57 57  
56 +|**Item**|**Settings**|**Note**
57 +|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
58 +|Connection|RS422/RS485|
59 +|Baud rate|9600|
60 +|Data bit|7|
61 +|Parity|EVEN|
62 +|Stop bit|1|
63 +|PLC station No.|1|
64 +
65 +**Address List**
66 +
67 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
68 +|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
69 +|Y|Y|Y o|0~~303237|
70 +|M|M|M d|0~~99999|
71 +|T|T|T d|0~~99999|
72 +|C|C|C d|0~~99999|
73 +|S|S|S d|0~~99999|
74 +|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
75 +|Y|Y|Y o|0~~303237|
76 +|M|M|M d|0~~99999|
77 +|T|T|T d|0~~99999|
78 +|C|C|C d|0~~199|
79 +|D|D|D d|0~~7999|
80 +|S|S|S d|0~~99999|
81 +|SD|SD|SD d|8000~~9999|
82 +
83 +**Cable Wiring**
84 +
85 +* **RS485**
86 +
87 + [[image:image-20220822172124-1.png]]
88 +
89 +* **RS422**
90 +
91 + [[image:image-20220822172228-2.png]]
92 +
93 +
94 +**✎Note:**
95 +
96 +* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
97 +* If PLC <= 20 points,such as LX3V-1208/LX3V-0806 PLC,PLC RS485A and RS485B mean PLC COM2 RS485+ and RS485- .PLC COM2 can support modbus. Please refer to PLC COM2 setting manual.
98 +
99 +[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
100 +
101 +== **V-BOX and Wecon LX5V serial communication** ==
102 +
103 +This example introduces the establishment of serial port communication between Wecon V-BOX and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring.
104 +
105 +**Software configuration of PLC**
106 +
107 +**1)PLC programming software**
108 +
109 +[[image:image-20220822172553-1.png]]
110 +
111 +**2)New PLC project**
112 +
113 +Click New Project and select the PLC model.
114 +
115 +[[image:image-20220822172623-2.png]]
116 +
117 +**3)Set Serial port parameters**
118 +
119 +Follow the steps below to configure Serial port parameters
120 +
121 +Baud rate:115200
122 +
123 +Data bit:8
124 +
125 +Stop bit:1
126 +
127 +Parity:No verification
128 +
129 +[[image:image-20220822172657-3.png]]
130 +
131 +**4)Registers list**
132 +
133 +[[image:image-20220822172730-4.png]]
134 +
135 +**V-BOX software configuration**
136 +
137 +**1)V-BOX programming software**
138 +
139 + [[image:image-20220824104124-1.png]]
140 +
141 +**2)V-NET add device**
142 +
143 +Open V-NET 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 access key, password and remark, to add the device.
144 +
145 +[[image:image-20220824104909-2.png]]
146 +
147 +
148 +**3)Set communication port parameters**
149 +
150 +Click the communication configuration button on the left to find the communication protocol with LX5V. After selecting the protocol, configure the communication parameters of the COM port.
151 +
152 +Baud rate:115200
153 +
154 +Data bit:8
155 +
156 +Stop bit:1
157 +
158 +Parity:No verification
159 +
160 +[[image:image-20220811104012-1.png]]
161 +
162 +
163 +**hardware connection**
164 +
165 +**1)Hardware wiring diagram**
166 +
167 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
168 +
169 +
170 +
171 +[[image:image-20220811103005-4.png]]
172 +
173 +[[image:image-20220811103227-7.png]]
174 +
175 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
176 +
177 +== **V-BOX and Wecon LX5V-N Ethernet communication** ==
178 +
179 + This example introduces the establishment of Ethernet communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring.
180 +
181 +**Software configuration of PLC**
182 +
183 +**1)PLC programming software**
184 +
185 +[[image:image-20220810164710-1.png]]
186 +
187 +**2)New PLC project**
188 +
189 +Click New Project and select the PLC model.
190 +
191 +[[image:image-20220811115454-1.png]]
192 +
193 +**3)Set Ethernet port parameters**
194 +
195 +Follow the steps below to configure Ethernet parameters
196 +
197 +PLC IP address:192.168.39.200
198 +
199 +default gateway:192.168.39.1
200 +
201 +subnet mask:255.255.255.0
202 +
203 +[[image:image-20220811140530-2.png]]
204 +
205 +**4)Registers list**
206 +
207 +[[image:image-20220811102219-3.png]]
208 +
209 +**HMI software configuration**
210 +
211 +**1)HMI programming software**
212 +
213 + [[image:image-20220810171237-4.png]]
214 +
215 +**2)New HMI project**
216 +
217 +Click New Project and select the HMI model.
218 +
219 +[[image:image-20220810172010-5.png]]
220 +
221 +**3)Set communication port parameters**
222 +
223 +Click the project setting button on the left to configure the IP address of the HMI machine to ensure that the HMI and PLC IP remain in a local area network.
224 +
225 +HMI IP address:192.168.39.201
226 +
227 +default gateway:192.168.39.1
228 +
229 +subnet mask:255.255.255.0
230 +
231 +[[image:image-20220811170753-2.png]]
232 +
233 +Next, click Communication Settings to configure the IP of the HMI communication object.
234 +
235 +[[image:image-20220811163047-1.png]]
236 +
237 +**hardware connection**
238 +
239 +**1)Hardware wiring diagram**
240 +
241 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
242 +
243 +[[image:image-20220811170248-1.png]]
244 +
245 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
246 +
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 -== **2 Communication with Allen-Bradley CompactLogix L1769** ==
250 += **Rockwell PLC** =
62 62  
252 +
253 +== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix** ==
254 +
255 +MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
256 +
257 +**HMI Settings**
258 +
259 +|**Item**|**Settings**|**Note**
260 +|Protocol|Allen-Bradlley MicroLogix|
261 +|Connection|RS232|
262 +|Baud rate|19200|
263 +|Data bit|8|
264 +|Parity|None|
265 +|Stop bit|1|
266 +|PLC station No.|1|
267 +
268 +**Address List**
269 +
270 +|**Type**|**Device registers**|**Format**|**Range**|**Note**
271 +|(% rowspan="5" %)Bit|I|I d.d|0.0~~255.15|
272 +|O|O d.d|0.0~~255.15|
273 +|B|B nnhh.dd|0.0~~ffff.15|nn: block number (hex)
274 +|S|S d.d|0.0~~255.15|
275 +|N|N nnhh.dd|0.0~~ffff.15|nn: block number (hex)
276 +|(% rowspan="9" %)Word|S|S d|0~~255|
277 +|TS|TS nnhh|0~~ffff|(% rowspan="8" %)nn: block number (hex)
278 +|TP|TP nnhh|0~~ffff
279 +|CS|CS nnhh|0~~ffff
280 +|CP|CP nnhh|0~~ffff
281 +|N|N nnhh|0~~ffff
282 +|C|C nnhh|0~~ffff
283 +|T|T nnhh|0~~ffff
284 +|R|R nnhh|0~~ffff
285 +
286 +**Cable Wiring**
287 +
288 +[[image:image-20220824110724-1.png]]
289 +
290 +
291 +
292 +== **CompactLogix** ==
293 +
63 63  (((
64 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.
296 +This example introduces the establishment of Ethernet communication between Wecon V-box and CompactLogix L1769. It is introduced through three parts: PLC software configuration, V-box software configuration, and hardware wiring.
66 66  )))
67 -
68 -
69 69  )))
70 70  
71 71  (((
... ... @@ -199,7 +199,7 @@
199 199  
200 200  (((
201 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-20220714162752-8.png]]
431 +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-20220714162752-8.png]]
203 203  )))
204 204  
205 205  
... ... @@ -226,7 +226,7 @@
226 226  
227 227  
228 228  (((
229 -After adding the protocol Allen-BradleyMicro850_FreeTag, click[[image:image-20220714143838-2.png]]icon add label.​​​​​​​[[image:image-20220714162827-11.png]]
458 +After adding the protocol Allen-BradleyMicro850_FreeTag, click[[image:image-20220714143838-2.png]]icon add label.[[image:image-20220714162827-11.png]]
230 230  )))
231 231  
232 232  (% class="wikigeneratedid" id="HEngineeringproduction" %)
... ... @@ -260,7 +260,15 @@
260 260  [[image:image-20220714162856-13.png]]
261 261  
262 262  (((
263 -The above are all the steps for establishing Ethernet communication between Wecon V-box with Allen-Bradley L1769 PLC.
492 +The above are all the steps for establishing Ethernet communication between Wecon V-box with CompactLogix L1769 PLC.
493 +
494 +
495 +== **Allen-Bradley Ethernet DF1** ==
496 +
497 +[[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]]
498 +
499 +
500 += **Siemens PLC** =
264 264  )))
265 265  )))
266 266  
... ... @@ -268,14 +268,12 @@
268 268  
269 269  [[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]]
270 270  
271 -== **Allen-Bradley Ethernet DF1** ==
272 -
273 -[[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]]
274 -
275 275  == **Communication with S7-200 Smart** ==
276 276  
277 277  [[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]]
278 278  
512 += **Delta PLC** =
513 +
279 279  == **Delta DVP Ethernet** ==
280 280  
281 281  [[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]]
... ... @@ -302,7 +302,7 @@
302 302  
303 303  = **2 User define protocol** =
304 304  
305 -More serial port script instruction,please refer manual:[[Lua script function>>doc:V-BOX.V-Net.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]]
540 +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]]
306 306  
307 307  == **Read the temperature sensor.** ==
308 308  
image-20220820164423-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +18.4 KB
Content
image-20220822172124-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +38.7 KB
Content
image-20220822172228-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +48.8 KB
Content
image-20220822172553-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +19.9 KB
Content
image-20220822172623-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +111.2 KB
Content
image-20220822172657-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +141.6 KB
Content
image-20220822172730-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +130.7 KB
Content
image-20220824104124-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +14.6 KB
Content
image-20220824104909-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +278.8 KB
Content
image-20220824110724-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +79.1 KB
Content