Changes for page 12 PLC Protocol OLD

Last modified by Mora Zhou on 2024/12/05 14:53

From version 71.1
edited by Ben
on 2022/08/29 14:13
Change comment: There is no comment for this version
To version 28.1
edited by Stone Wu
on 2022/08/17 15:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ben
1 +XWiki.Stone
Content
... ... @@ -85,393 +85,65 @@
85 85  
86 86  Click [OK] button to save settings and close the dialog;
87 87  
88 -= Create communication with WECON PLC =
88 += **Allen-Bradley** =
89 89  
90 -== **LX3V Serial Protocol** ==
90 +== **FreeTag Ethernet/IP (CompactLogix)** ==
91 91  
92 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
92 +Allen-Brandly CompactLogix
93 93  
94 94  **HMI Settings**
95 95  
96 96  (% class="table-bordered" %)
97 -|**Item**|**Settings**|**Note**
98 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
99 -|Connection|RS422/RS485|
100 -|Baud rate|9600|
101 -|Data bit|7|
102 -|Parity|EVEN|
103 -|Stop bit|1|
104 -|PLC station No.|1|
97 +|**Items**|**Settings**|**Note**
98 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
99 +|Connection|Ethernet|
100 +|Port No.|44818|
105 105  
106 -**Address List**
102 +**PLC Setting**
107 107  
108 -(% class="table-bordered" %)
109 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
110 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
111 -|Y|Y|Y o|0~~303237|
112 -|M|M|M d|0~~99999|
113 -|T|T|T d|0~~99999|
114 -|C|C|C d|0~~99999|
115 -|S|S|S d|0~~99999|
116 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
117 -|Y|Y|Y o|0~~303237|
118 -|M|M|M d|0~~99999|
119 -|T|T|T d|0~~99999|
120 -|C|C|C d|0~~199|
121 -|D|D|D d|0~~7999|
122 -|S|S|S d|0~~99999|
123 -|SD|SD|SD d|8000~~9999|
104 +Create new tags
124 124  
125 -**Cable Wiring**
126 -
127 -* **RS485**
128 -
129 129  (% style="text-align:center" %)
130 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
107 +[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]]
131 131  
132 -* **RS422**
109 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
133 133  
134 134  (% style="text-align:center" %)
135 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]]
112 +[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]]
136 136  
137 -**✎Note:**
114 +Import labels, please open [Communication] window and click [Import label];
138 138  
139 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
140 -* 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.
116 +Select csv file, all tags will be displayed as belows;
141 141  
142 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
143 -
144 -(% class="wikigeneratedid" id="HHMIsettings" %)
145 -**HMI settings**
146 -
147 -**Download PIStudio Software**
148 -
149 -Please visit the link below to get the latest version PIstudio for HMI programming:
150 -
151 -* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]]
152 -
153 -**Create a new HMI project connect with PLC**
154 -
155 -Check the link below for the video to show you how to get started with a new project
156 -
157 -* [[Video>>https://youtu.be/0FpmDZe_8U8]]
158 -
159 -For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]]
160 -
161 -**General**
162 -
163 -HMI could communicate with PLC and support many PLC protocols.  It is easy to operate and set communication parameters. This demo shows how to make a communication with PLC device, use WECON LX3V Series PLC as an example.
164 -
165 -**Protocol settings**
166 -
167 -The communication between two devices requires a protocol. The following contents show the steps of protocol settings.
168 -
169 -Please select the protocol, when creating a new project.
170 -
171 -1. Select the COM port for communication;
172 -1. PLC type: It means PLC brand, like WECON;
173 -1. PLC model: It shows the model of PLC, such as LX3V;
174 -
175 175  (% style="text-align:center" %)
176 -[[image:image-20220819093729-1.png]]
119 +[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]]
177 177  
178 -If you want to change the protocol for existing project, please click [Program] → [Communication] to open the [Communication] windows, shown as the following figure.
121 +**✎Note:**
179 179  
180 -(% style="text-align:center" %)
181 -[[image:image-20220819093729-2.png]]
123 +Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format.
182 182  
183 -
184 -The steps to change the protocol for project are as follows.
185 -
186 -1. Click [Setting] to open the [Communication device] window;
187 -1. Select communication port, such as COM1;
188 -1. Select Serial port for communication, such as RS422;
189 -1. Select device type (device brand), such as WECON;
190 -1. Select the protocol for communication, such as WECON LX3V;
191 -
192 192  (% style="text-align:center" %)
193 -[[image:image-20220819093729-3.png]]
126 +[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]]
194 194  
195 -**Parameter settings**
128 +The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting.
196 196  
197 -The parameters settings are in [Communication] window, shown as following below.
130 +**Communication settings in HMI**
198 198  
199 -1. Click [Setting] to open the [COM port setting] window;
200 -1. Set the parameters such as [connection], [Baud rate] and so on;
132 +Enable HMI Ethernet in [Project Settings];
201 201  
202 202  (% style="text-align:center" %)
203 -[[image:image-20220819093729-4.png||height="636" width="818"]]
135 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]]
204 204  
205 -(% start="3" %)
206 -1. Click [Setting] to open [Timeout] setting window, you could set the parameters according your requirements, or just use the default value.
137 +Set PLC IP in [Device IP] settings;
207 207  
208 208  (% style="text-align:center" %)
209 -[[image:image-20220819093729-5.png]]
140 +[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]]
210 210  
211 -**Set PLC address in HMI screen**
142 +**Cable Wiring**
212 212  
213 -1. Place the objects to HMI screen;
214 -1. Double-click the object to open the setting window;
215 -1. Click “Edit” to open the address setting windows;
216 -1. Connection: select the serial port in HMI;
217 -1. Address type: All the PLC address types will be display in this list, such as M;
218 -1. Address No.: Please input the number of this address, such as 0;
219 -
220 -[[image:image-20220819093729-6.jpeg]]
221 -
222 -**Communication cable**
223 -
224 -In order to ensure the stability of communication, please use the twisted-pair communication cable with good grounding. The following figure shows the pin out definition.
225 -
226 226  (% style="text-align:center" %)
227 -[[image:image-20220819093729-7.png]]
145 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]
228 228  
229 -**HMI communication PLC use Modbus **
230 -
231 -* HMI setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/>>https://docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/]]
232 -* PLC setting: [[https:~~/~~/docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/>>https://docs.we-con.com.cn/bin/view/PLC%20Editor/8.1.%09Communication/]]
233 -
234 -(% class="wikigeneratedid" id="HPLCsettings" %)
235 -**PLC settings**
236 -
237 -**Download PLC Software**
238 -
239 -Please visit below link to get the latest version PLC Editor for HMI programming
240 -
241 -* LX3V:[[Download link>>doc:PLC Editor.10 Hardware .Software.WebHome]]
242 -* LX5V:[[Download link>>doc:PLC Editor2.Download.03 Software.WebHome]]
243 -
244 -**Start a new PLC project**
245 -
246 -Start a new PLC project by clicking “New” on the left top corner of screen, select the PLC mode from the drop-down list.
247 -
248 -(% style="text-align:center" %)
249 -[[image:image-20220819101447-3.jpeg]]
250 -
251 -
252 -
253 -**Add a new instruction **
254 -
255 -Double click on the ladder, select the ladder symbol (instruction) from the drop-down list, then enter the address for this symbol.
256 -
257 -(% style="text-align:center" %)
258 -[[image:image-20220819105530-1.png]]
259 -
260 -You could also select the ladder symbol from the menu bar directly.
261 -
262 -[[image:image-20220819093729-11.png]]
263 -
264 -[[image:image-20220819093729-12.png]]
265 -
266 -**Add comment to PLC program**
267 -
268 -(% style="text-align:center" %)
269 -[[image:image-20220819105630-3.png]]
270 -
271 -**Add the statement to PLC program**
272 -
273 -Add the statement by single click on “Statement”, when finished, single click on “Statement” again to go back to Ladder edit.
274 -
275 -(% style="text-align:center" %)
276 -[[image:image-20220819105644-4.png]]
277 -
278 -**Compile **
279 -
280 -You need to compile the PLC program before downloading or running Off-line simulator. The background color will be changed from purple to white when there is no error.
281 -
282 -[[image:image-20220819093729-15.png]]
283 -
284 -**Download setting **
285 -
286 -Click on “Transfer Setup” to select download mode.
287 -
288 -[[image:image-20220820150853-1.png]]**Download PLC program to PLC**
289 -
290 -Quick select the parameters and main program of PLC program, then download to PLC, “Yes”-”Yes”-”OK”
291 -
292 -[[image:image-20220819093729-17.png]]
293 -
294 -**Upload PLC program from PLC**
295 -
296 -Read the PLC program from PLC to computer.
297 -
298 -[[image:image-20220819093729-18.png]]
299 -
300 -**Device monitor**
301 -
302 -Monitor the value of certain address in PLC, double click “Current value” to change the value in this address.
303 -
304 -[[image:image-20220819093730-19.png]]
305 -
306 -**Online monitor**
307 -
308 -Monitor the each address in PLC by online monitor. Changing the state or value in PLC is also allowd.
309 -
310 -[[image:image-20220819093730-20.png]]
311 -
312 -**Monitor edit**
313 -
314 -In this mode, you could edit the PLC program during PLC is running. 
315 -
316 -
317 -(% style="text-align:center" %)
318 -[[image:image-20220819105928-9.png||height="229" width="669"]]
319 -
320 -== **LX5V Serial Protocol** ==
321 -
322 -This example introduces the establishment of serial port communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring.
323 -
324 -**Software configuration of PLC**
325 -
326 -**1)PLC programming software**
327 -
328 -[[image:image-20220810164710-1.png]]
329 -
330 -**2)New PLC project**
331 -
332 -Click New Project and select the PLC model.
333 -
334 -[[image:image-20220810172412-1.png]]
335 -
336 -
337 -**3)Set Serial port parameters**
338 -
339 -Follow the steps below to configure Serial port parameters
340 -
341 -Baud rate:115200
342 -
343 -Data bit:8
344 -
345 -Stop bit:1
346 -
347 -Parity:No verification
348 -
349 -[[image:image-20220810165759-3.png]]
350 -
351 -
352 -**4)Registers list**
353 -
354 -[[image:image-20220811102219-3.png]]
355 -
356 -
357 -**HMI software configuration**
358 -
359 -**1)HMI programming software**
360 -
361 - [[image:image-20220810171237-4.png]]
362 -
363 -**2)New HMI project**
364 -
365 -Click New Project and select the HMI model.
366 -
367 -[[image:image-20220810172010-5.png]]
368 -
369 -**3)Set communication port parameters**
370 -
371 -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.
372 -
373 -Baud rate:115200
374 -
375 -Data bit:8
376 -
377 -Stop bit:1
378 -
379 -Parity:No verification
380 -
381 -
382 -[[image:image-20220811104012-1.png]]
383 -
384 -
385 -**hardware connection**
386 -
387 -**1)Hardware wiring diagram**
388 -
389 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
390 -
391 -[[image:image-20220811103005-4.png]]
392 -
393 -
394 -[[image:image-20220811103227-7.png]]
395 -
396 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
397 -
398 -== **LX5V-N Ethernet protocol** ==
399 -
400 -(% id="cke_bm_147709S" style="display:none" %) (%%)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.
401 -
402 -
403 -**Software configuration of PLC**
404 -
405 -**1)PLC programming software**
406 -
407 -[[image:image-20220810164710-1.png]]
408 -
409 -**2)New PLC project**
410 -
411 -Click New Project and select the PLC model.
412 -
413 -[[image:image-20220811115454-1.png]]
414 -
415 -
416 -**3)Set Ethernet port parameters**
417 -
418 -Follow the steps below to configure Ethernet parameters
419 -
420 -PLC IP address:192.168.39.200
421 -
422 -default gateway:192.168.39.1
423 -
424 -subnet mask:255.255.255.0
425 -
426 -[[image:image-20220811140530-2.png]]
427 -
428 -
429 -**4)Registers list**
430 -
431 -[[image:image-20220811102219-3.png]]
432 -
433 -
434 -**HMI software configuration**
435 -
436 -**1)HMI programming software**
437 -
438 - [[image:image-20220810171237-4.png]]
439 -
440 -**2)New HMI project**
441 -
442 -Click New Project and select the HMI model.
443 -
444 -[[image:image-20220810172010-5.png]]
445 -
446 -**3)Set communication port parameters**
447 -
448 -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.
449 -
450 -HMI IP address:192.168.39.201
451 -
452 -default gateway:192.168.39.1
453 -
454 -subnet mask:255.255.255.0
455 -
456 -[[image:image-20220811170753-2.png]]
457 -
458 -Next, click Communication Settings to configure the IP of the HMI communication object.
459 -
460 -[[image:image-20220811163047-1.png]]
461 -
462 -**hardware connection**
463 -
464 -**1)Hardware wiring diagram**
465 -
466 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
467 -
468 -[[image:image-20220811170248-1.png]]
469 -
470 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
471 -
472 -= Create communication with **Rockwell PLC** =
473 -
474 -
475 475  == **MicroLogix** ==
476 476  
477 477  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
... ... @@ -509,66 +509,7 @@
509 509  
510 510  **Cable Wiring**
511 511  
512 -== **FreeTag Ethernet/IP (CompactLogix)** ==
513 -
514 -Allen-Brandly CompactLogix
515 -
516 -**HMI Settings**
517 -
518 -(% class="table-bordered" %)
519 -|**Items**|**Settings**|**Note**
520 -|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)|
521 -|Connection|Ethernet|
522 -|Port No.|44818|
523 -
524 -**PLC Setting**
525 -
526 -Create new tags
527 -
528 528  (% style="text-align:center" %)
529 -[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]]
530 -
531 -Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments])
532 -
533 -(% style="text-align:center" %)
534 -[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]]
535 -
536 -Import labels, please open [Communication] window and click [Import label];
537 -
538 -Select csv file, all tags will be displayed as belows;
539 -
540 -(% style="text-align:center" %)
541 -[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]]
542 -
543 -**✎Note:**
544 -
545 -Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format.
546 -
547 -(% style="text-align:center" %)
548 -[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]]
549 -
550 -The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting.
551 -
552 -**Communication settings in HMI**
553 -
554 -Enable HMI Ethernet in [Project Settings];
555 -
556 -(% style="text-align:center" %)
557 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]]
558 -
559 -Set PLC IP in [Device IP] settings;
560 -
561 -(% style="text-align:center" %)
562 -[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]]
563 -
564 -**Cable Wiring**
565 -
566 -(% style="text-align:center" %)
567 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]]
568 -
569 -== ==
570 -
571 -(% style="text-align:center" %)
572 572  [[image:12.PLC Protocol_html_58205bdf82c06d4.png||data-xwiki-image-style-alignment="center" height="307" width="500" class="img-thumbnail"]]
573 573  
574 574  == **AB PLC address edit** ==
... ... @@ -580,7 +580,7 @@
580 580  * **Word address S:** The word address ranges from 0 to 255 (decimal).
581 581  * **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal).
582 582  
583 -**✎Note: **Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.
196 +**✎Note: **Register address TP, CS, CP, N, F and TS address edit tare he same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.
584 584  
585 585  |(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
586 586  |(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15
... ... @@ -2650,8 +2650,63 @@
2650 2650  
2651 2651  **✎Note:** COM3 only available in PI8000/PI9000 series.
2652 2652  
2653 -= =
2266 += **WECON PLC** =
2654 2654  
2268 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
2269 +
2270 +**HMI Settings**
2271 +
2272 +(% class="table-bordered" %)
2273 +|**Item**|**Settings**|**Note**
2274 +|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
2275 +|Connection|RS422/RS485|
2276 +|Baud rate|9600|
2277 +|Data bit|7|
2278 +|Parity|EVEN|
2279 +|Stop bit|1|
2280 +|PLC station No.|1|
2281 +
2282 +**Address List**
2283 +
2284 +(% class="table-bordered" %)
2285 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
2286 +|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
2287 +|Y|Y|Y o|0~~303237|
2288 +|M|M|M d|0~~99999|
2289 +|T|T|T d|0~~99999|
2290 +|C|C|C d|0~~99999|
2291 +|S|S|S d|0~~99999|
2292 +|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
2293 +|Y|Y|Y o|0~~303237|
2294 +|M|M|M d|0~~99999|
2295 +|T|T|T d|0~~99999|
2296 +|C|C|C d|0~~199|
2297 +|D|D|D d|0~~7999|
2298 +|S|S|S d|0~~99999|
2299 +|SD|SD|SD d|8000~~9999|
2300 +
2301 +**Cable Wiring**
2302 +
2303 +* **RS485**
2304 +
2305 +(% style="text-align:center" %)
2306 +[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]]
2307 +
2308 +(% style="text-align:center" %)
2309 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
2310 +
2311 +* **RS422**
2312 +
2313 +(% style="text-align:center" %)
2314 +[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]]
2315 +
2316 +**✎Note:**
2317 +
2318 +* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
2319 +* 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.
2320 +
2321 +[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
2322 +
2655 2655  = **Printer** =
2656 2656  
2657 2657  == **TSPL label printer** ==
... ... @@ -2819,20 +2819,174 @@
2819 2819  
2820 2820  **✎Note:** COM3 only available in PI8000/PI9000 series.
2821 2821  
2490 +== HMI and Wecon LX5V serial communication ==
2822 2822  
2492 +This example introduces the establishment of serial port communication between Wecon HMI and LX5V. It is introduced through three parts: PLC software configuration, HMI software configuration, and hardware wiring.
2493 +
2494 +**Software configuration of PLC**
2495 +
2496 +**1)PLC programming software**
2497 +
2498 +[[image:image-20220810164710-1.png]]
2499 +
2500 +**2)New PLC project**
2501 +
2502 +Click New Project and select the PLC model.
2503 +
2504 +[[image:image-20220810172412-1.png]]
2505 +
2506 +
2507 +**3)Set Serial port parameters**
2508 +
2509 +Follow the steps below to configure Serial port parameters
2510 +
2511 +Baud rate:115200
2512 +
2513 +Data bit:8
2514 +
2515 +Stop bit:1
2516 +
2517 +Parity:No verification
2518 +
2519 +[[image:image-20220810165759-3.png]]
2520 +
2521 +
2522 +**4)Registers list**
2523 +
2524 +[[image:image-20220811102219-3.png]]
2525 +
2526 +
2527 +**HMI software configuration**
2528 +
2529 +**1)HMI programming software**
2530 +
2531 + [[image:image-20220810171237-4.png]]
2532 +
2533 +**2)New HMI project**
2534 +
2535 +Click New Project and select the HMI model.
2536 +
2537 +[[image:image-20220810172010-5.png]]
2538 +
2539 +**3)Set communication port parameters**
2540 +
2541 +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.
2542 +
2543 +Baud rate:115200
2544 +
2545 +Data bit:8
2546 +
2547 +Stop bit:1
2548 +
2549 +Parity:No verification
2550 +
2551 +
2552 +[[image:image-20220811104012-1.png]]
2553 +
2554 +
2555 +**hardware connection**
2556 +
2557 +**1)Hardware wiring diagram**
2558 +
2559 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
2560 +
2561 +[[image:image-20220811103005-4.png]]
2562 +
2563 +
2564 +[[image:image-20220811103227-7.png]]
2565 +
2566 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
2567 +
2568 +== HMI and Wecon LX5V-N Ethernet communication ==
2569 +
2570 +(% id="cke_bm_147709S" style="display:none" %) (%%)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.
2571 +
2572 +
2573 +**Software configuration of PLC**
2574 +
2575 +**1)PLC programming software**
2576 +
2577 +[[image:image-20220810164710-1.png]]
2578 +
2579 +**2)New PLC project**
2580 +
2581 +Click New Project and select the PLC model.
2582 +
2583 +[[image:image-20220811115454-1.png]]
2584 +
2585 +
2586 +**3)Set Ethernet port parameters**
2587 +
2588 +Follow the steps below to configure Ethernet parameters
2589 +
2590 +PLC IP address:192.168.39.200
2591 +
2592 +default gateway:192.168.39.1
2593 +
2594 +subnet mask:255.255.255.0
2595 +
2596 +[[image:image-20220811140530-2.png]]
2597 +
2598 +
2599 +**4)Registers list**
2600 +
2601 +[[image:image-20220811102219-3.png]]
2602 +
2603 +
2604 +**HMI software configuration**
2605 +
2606 +**1)HMI programming software**
2607 +
2608 + [[image:image-20220810171237-4.png]]
2609 +
2610 +**2)New HMI project**
2611 +
2612 +Click New Project and select the HMI model.
2613 +
2614 +[[image:image-20220810172010-5.png]]
2615 +
2616 +**3)Set communication port parameters**
2617 +
2618 +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.
2619 +
2620 +HMI IP address:192.168.39.201
2621 +
2622 +default gateway:192.168.39.1
2623 +
2624 +subnet mask:255.255.255.0
2625 +
2626 +[[image:image-20220811170753-2.png]]
2627 +
2628 +Next, click Communication Settings to configure the IP of the HMI communication object.
2629 +
2630 +[[image:image-20220811163047-1.png]]
2631 +
2632 +**hardware connection**
2633 +
2634 +**1)Hardware wiring diagram**
2635 +
2636 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
2637 +
2638 +[[image:image-20220811170248-1.png]]
2639 +
2640 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
2641 +
2823 2823  = **Schneider MODBUS RTU** =
2824 2824  
2825 2825  **HMI Setting**
2826 2826  
2827 -|=**Parameters**|=**Recommended**|=**Notes**
2828 -|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU|
2829 -|Connection|RS485|
2830 -|**Baud rate**|19200|
2831 -|**Data bit**|8|
2832 -|**Parity**|Even|
2833 -|**Stop bit**|1|
2834 -|**PLC station No.**|1|
2646 +|=(% scope="row" %)**Parameters**|=**Recommended**|=**Options**|=**Notes**
2647 +|=**Protocol**|(% colspan="2" %)Schneider MODBUS RTU|
2648 +|=Connection|RS485|RS232/RS485|
2649 +|=**Baud rate**|19200|9600~~115200|
2650 +|=**Data bit**|8|7,8|
2651 +|=**Parity**|Even|Even, Odd, None|
2652 +|=**Stop bits**|1|1,2|
2653 +|=**PLC station No.**|1|0-255|
2835 2835  
2655 +|=(% scope="row" style="width: 266px;" %)**Online simulator**|(% style="width:319px" %)YES|(% style="width:336px" %)**Broadcast command**|(% style="width:155px" %)YES
2656 +|=(% style="width: 266px;" %)**Extend address mode**|(% style="width:319px" %)YES|(% style="width:336px" %) |(% style="width:155px" %)
2657 +
2836 2836  **PLC Setting**
2837 2837  
2838 2838  |=(% scope="row" %)**Communication mode**|Modbus RTU protocol
... ... @@ -2839,12 +2839,20 @@
2839 2839  
2840 2840  **Device Address**
2841 2841  
2842 -|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo**
2843 -|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only)
2844 -|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils
2845 -|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal)
2846 -|W|MW|DDDDDD|0 ~~ 999999|Output register
2847 -|DW|MD|DDDDDD|0 ~~ 999999|Output register
2664 +|=(% scope="row" %)**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo**
2665 +|=B|%IX|DDDDDo|0 ~~ 655357|Input bit (read only)
2666 +|=B|%QX|DDDDDo|0 ~~ 655357|Write multiple coils
2667 +|=B|%MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal)
2668 +|=B|%M|DDDDD|0 ~~ 65535|Output bit
2669 +|=B|%MW_Bit|DDDDDdd|0 ~~ 6553515|Output register bit (decimal)
2670 +|=B|1x|DDDDD|0 ~~ 65535|Input bit (read only)
2671 +|=B|0x_multi_coils|DDDDD|0 ~~ 65535|Write multiple coils
2672 +|=B|3x_Bit|DDDDDdd|0 ~~ 6553515|Input register bit (read only)
2673 +|=W|%MW|DDDDDD|0 ~~ 999999|Output register
2674 +|=DW|%MD|DDDDDD|0 ~~ 999999|Output register
2675 +|=W|3x|DDDDD|0 ~~ 65535|Input Register (read only)
2676 +|=DW|5x|DDDDD|0 ~~ 65535|4x double word swap
2677 +|=DW|6x|DDDDD|0 ~~ 65535|4x single word write
2848 2848  
2849 2849  **Wiring Diagram**
2850 2850  
image-20220819093729-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -10.3 KB
Content
image-20220819093729-10.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -79.4 KB
Content
image-20220819093729-12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -147.9 KB
Content
image-20220819093729-15.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -74.6 KB
Content
image-20220819093729-17.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -115.0 KB
Content
image-20220819093729-18.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -112.1 KB
Content
image-20220819093729-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -34.1 KB
Content
image-20220819093729-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -44.2 KB
Content
image-20220819093729-4 (1).png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -82.4 KB
Content
image-20220819093729-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -82.4 KB
Content
image-20220819093729-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -6.6 KB
Content
image-20220819093729-6.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -100.2 KB
Content
image-20220819093729-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -46.9 KB
Content
image-20220819093730-19.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -122.5 KB
Content
image-20220819093730-20.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -99.6 KB
Content
image-20220819101447-3.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -56.6 KB
Content
image-20220819105530-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -1.0 MB
Content
image-20220819105630-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -1.1 MB
Content
image-20220819105644-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -942.6 KB
Content
image-20220819105928-9.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -72.6 KB
Content
image-20220820150853-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -171.7 KB
Content