Changes for page 12 PLC Protocol OLD

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

From version 66.1
edited by Ben
on 2022/08/29 14:06
Change comment: There is no comment for this version
To version 49.1
edited by Stone Wu
on 2022/08/22 11:32
Change comment: Upload new image "image-20220819093729-12.png", version 1.1

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ben
1 +XWiki.Stone
Content
... ... @@ -87,59 +87,6 @@
87 87  
88 88  = Create communication with WECON PLC =
89 89  
90 -
91 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
92 -
93 -**HMI Settings**
94 -
95 -(% class="table-bordered" %)
96 -|**Item**|**Settings**|**Note**
97 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
98 -|Connection|RS422/RS485|
99 -|Baud rate|9600|
100 -|Data bit|7|
101 -|Parity|EVEN|
102 -|Stop bit|1|
103 -|PLC station No.|1|
104 -
105 -**Address List**
106 -
107 -(% class="table-bordered" %)
108 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
109 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
110 -|Y|Y|Y o|0~~303237|
111 -|M|M|M d|0~~99999|
112 -|T|T|T d|0~~99999|
113 -|C|C|C d|0~~99999|
114 -|S|S|S d|0~~99999|
115 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
116 -|Y|Y|Y o|0~~303237|
117 -|M|M|M d|0~~99999|
118 -|T|T|T d|0~~99999|
119 -|C|C|C d|0~~199|
120 -|D|D|D d|0~~7999|
121 -|S|S|S d|0~~99999|
122 -|SD|SD|SD d|8000~~9999|
123 -
124 -**Cable Wiring**
125 -
126 -* **RS485**
127 -
128 -(% style="text-align:center" %)
129 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
130 -
131 -* **RS422**
132 -
133 -(% style="text-align:center" %)
134 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]]
135 -
136 -**✎Note:**
137 -
138 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
139 -* 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.
140 -
141 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
142 -
143 143  == HMI settings ==
144 144  
145 145  **Download PIStudio Software**
... ... @@ -146,13 +146,13 @@
146 146  
147 147  Please visit the link below to get the latest version PIstudio for HMI programming:
148 148  
149 -* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]]
96 +* [[Download>>https://ftp.we-con.com.cn/Download/Software/PIStudio20211210.zip]] or [[Download>>https://drive.google.com/open?id=1Im7YS2rtnRI7yFIHmqHDVPBUyWahqSXN]]
150 150  
151 151  **Create a new HMI project connect with PLC**
152 152  
153 153  Check the link below for the video to show you how to get started with a new project
154 154  
155 -* [[Video>>https://youtu.be/0FpmDZe_8U8]]
102 +* [[Video>>https://drive.google.com/open?id=0B0j9uum1UPXbMENtRlF2VzdQdHc]]
156 156  
157 157  For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]]
158 158  
... ... @@ -314,160 +314,6 @@
314 314  (% style="text-align:center" %)
315 315  [[image:image-20220819105928-9.png||height="229" width="669"]]
316 316  
317 -= **HMI and Wecon LX5V serial communication** =
318 -
319 -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.
320 -
321 -**Software configuration of PLC**
322 -
323 -**1)PLC programming software**
324 -
325 -[[image:image-20220810164710-1.png]]
326 -
327 -**2)New PLC project**
328 -
329 -Click New Project and select the PLC model.
330 -
331 -[[image:image-20220810172412-1.png]]
332 -
333 -
334 -**3)Set Serial port parameters**
335 -
336 -Follow the steps below to configure Serial port parameters
337 -
338 -Baud rate:115200
339 -
340 -Data bit:8
341 -
342 -Stop bit:1
343 -
344 -Parity:No verification
345 -
346 -[[image:image-20220810165759-3.png]]
347 -
348 -
349 -**4)Registers list**
350 -
351 -[[image:image-20220811102219-3.png]]
352 -
353 -
354 -**HMI software configuration**
355 -
356 -**1)HMI programming software**
357 -
358 - [[image:image-20220810171237-4.png]]
359 -
360 -**2)New HMI project**
361 -
362 -Click New Project and select the HMI model.
363 -
364 -[[image:image-20220810172010-5.png]]
365 -
366 -**3)Set communication port parameters**
367 -
368 -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.
369 -
370 -Baud rate:115200
371 -
372 -Data bit:8
373 -
374 -Stop bit:1
375 -
376 -Parity:No verification
377 -
378 -
379 -[[image:image-20220811104012-1.png]]
380 -
381 -
382 -**hardware connection**
383 -
384 -**1)Hardware wiring diagram**
385 -
386 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
387 -
388 -[[image:image-20220811103005-4.png]]
389 -
390 -
391 -[[image:image-20220811103227-7.png]]
392 -
393 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
394 -
395 -== **HMI and Wecon LX5V-N Ethernet communication** ==
396 -
397 -(% 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.
398 -
399 -
400 -**Software configuration of PLC**
401 -
402 -**1)PLC programming software**
403 -
404 -[[image:image-20220810164710-1.png]]
405 -
406 -**2)New PLC project**
407 -
408 -Click New Project and select the PLC model.
409 -
410 -[[image:image-20220811115454-1.png]]
411 -
412 -
413 -**3)Set Ethernet port parameters**
414 -
415 -Follow the steps below to configure Ethernet parameters
416 -
417 -PLC IP address:192.168.39.200
418 -
419 -default gateway:192.168.39.1
420 -
421 -subnet mask:255.255.255.0
422 -
423 -[[image:image-20220811140530-2.png]]
424 -
425 -
426 -**4)Registers list**
427 -
428 -[[image:image-20220811102219-3.png]]
429 -
430 -
431 -**HMI software configuration**
432 -
433 -**1)HMI programming software**
434 -
435 - [[image:image-20220810171237-4.png]]
436 -
437 -**2)New HMI project**
438 -
439 -Click New Project and select the HMI model.
440 -
441 -[[image:image-20220810172010-5.png]]
442 -
443 -**3)Set communication port parameters**
444 -
445 -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.
446 -
447 -HMI IP address:192.168.39.201
448 -
449 -default gateway:192.168.39.1
450 -
451 -subnet mask:255.255.255.0
452 -
453 -[[image:image-20220811170753-2.png]]
454 -
455 -Next, click Communication Settings to configure the IP of the HMI communication object.
456 -
457 -[[image:image-20220811163047-1.png]]
458 -
459 -**hardware connection**
460 -
461 -**1)Hardware wiring diagram**
462 -
463 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
464 -
465 -[[image:image-20220811170248-1.png]]
466 -
467 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
468 -
469 -= =
470 -
471 471  = **Allen-Bradley** =
472 472  
473 473  == **FreeTag Ethernet/IP (CompactLogix)** ==
... ... @@ -576,7 +576,7 @@
576 576  * **Word address S:** The word address ranges from 0 to 255 (decimal).
577 577  * **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).
578 578  
579 -**✎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.
372 +**✎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.
580 580  
581 581  |(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
582 582  |(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15
... ... @@ -2646,8 +2646,213 @@
2646 2646  
2647 2647  **✎Note:** COM3 only available in PI8000/PI9000 series.
2648 2648  
2649 -= =
2442 += **WECON PLC** =
2650 2650  
2444 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM
2445 +
2446 +**HMI Settings**
2447 +
2448 +(% class="table-bordered" %)
2449 +|**Item**|**Settings**|**Note**
2450 +|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM|
2451 +|Connection|RS422/RS485|
2452 +|Baud rate|9600|
2453 +|Data bit|7|
2454 +|Parity|EVEN|
2455 +|Stop bit|1|
2456 +|PLC station No.|1|
2457 +
2458 +**Address List**
2459 +
2460 +(% class="table-bordered" %)
2461 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
2462 +|(% rowspan="6" %)Bit|X|X|Xo|0~~303237|
2463 +|Y|Y|Y o|0~~303237|
2464 +|M|M|M d|0~~99999|
2465 +|T|T|T d|0~~99999|
2466 +|C|C|C d|0~~99999|
2467 +|S|S|S d|0~~99999|
2468 +|(% rowspan="8" %)Word|X|X|Xo|0~~303237|
2469 +|Y|Y|Y o|0~~303237|
2470 +|M|M|M d|0~~99999|
2471 +|T|T|T d|0~~99999|
2472 +|C|C|C d|0~~199|
2473 +|D|D|D d|0~~7999|
2474 +|S|S|S d|0~~99999|
2475 +|SD|SD|SD d|8000~~9999|
2476 +
2477 +**Cable Wiring**
2478 +
2479 +* **RS485**
2480 +
2481 +(% style="text-align:center" %)
2482 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
2483 +
2484 +* **RS422**
2485 +
2486 +(% style="text-align:center" %)
2487 +[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]]
2488 +
2489 +**✎Note:**
2490 +
2491 +* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) .
2492 +* 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.
2493 +
2494 +[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]
2495 +
2496 +
2497 +== **HMI and Wecon LX5V serial communication** ==
2498 +
2499 +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.
2500 +
2501 +**Software configuration of PLC**
2502 +
2503 +**1)PLC programming software**
2504 +
2505 +[[image:image-20220810164710-1.png]]
2506 +
2507 +**2)New PLC project**
2508 +
2509 +Click New Project and select the PLC model.
2510 +
2511 +[[image:image-20220810172412-1.png]]
2512 +
2513 +
2514 +**3)Set Serial port parameters**
2515 +
2516 +Follow the steps below to configure Serial port parameters
2517 +
2518 +Baud rate:115200
2519 +
2520 +Data bit:8
2521 +
2522 +Stop bit:1
2523 +
2524 +Parity:No verification
2525 +
2526 +[[image:image-20220810165759-3.png]]
2527 +
2528 +
2529 +**4)Registers list**
2530 +
2531 +[[image:image-20220811102219-3.png]]
2532 +
2533 +
2534 +**HMI software configuration**
2535 +
2536 +**1)HMI programming software**
2537 +
2538 + [[image:image-20220810171237-4.png]]
2539 +
2540 +**2)New HMI project**
2541 +
2542 +Click New Project and select the HMI model.
2543 +
2544 +[[image:image-20220810172010-5.png]]
2545 +
2546 +**3)Set communication port parameters**
2547 +
2548 +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.
2549 +
2550 +Baud rate:115200
2551 +
2552 +Data bit:8
2553 +
2554 +Stop bit:1
2555 +
2556 +Parity:No verification
2557 +
2558 +
2559 +[[image:image-20220811104012-1.png]]
2560 +
2561 +
2562 +**hardware connection**
2563 +
2564 +**1)Hardware wiring diagram**
2565 +
2566 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
2567 +
2568 +[[image:image-20220811103005-4.png]]
2569 +
2570 +
2571 +[[image:image-20220811103227-7.png]]
2572 +
2573 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
2574 +
2575 +== **HMI and Wecon LX5V-N Ethernet communication** ==
2576 +
2577 +(% 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.
2578 +
2579 +
2580 +**Software configuration of PLC**
2581 +
2582 +**1)PLC programming software**
2583 +
2584 +[[image:image-20220810164710-1.png]]
2585 +
2586 +**2)New PLC project**
2587 +
2588 +Click New Project and select the PLC model.
2589 +
2590 +[[image:image-20220811115454-1.png]]
2591 +
2592 +
2593 +**3)Set Ethernet port parameters**
2594 +
2595 +Follow the steps below to configure Ethernet parameters
2596 +
2597 +PLC IP address:192.168.39.200
2598 +
2599 +default gateway:192.168.39.1
2600 +
2601 +subnet mask:255.255.255.0
2602 +
2603 +[[image:image-20220811140530-2.png]]
2604 +
2605 +
2606 +**4)Registers list**
2607 +
2608 +[[image:image-20220811102219-3.png]]
2609 +
2610 +
2611 +**HMI software configuration**
2612 +
2613 +**1)HMI programming software**
2614 +
2615 + [[image:image-20220810171237-4.png]]
2616 +
2617 +**2)New HMI project**
2618 +
2619 +Click New Project and select the HMI model.
2620 +
2621 +[[image:image-20220810172010-5.png]]
2622 +
2623 +**3)Set communication port parameters**
2624 +
2625 +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.
2626 +
2627 +HMI IP address:192.168.39.201
2628 +
2629 +default gateway:192.168.39.1
2630 +
2631 +subnet mask:255.255.255.0
2632 +
2633 +[[image:image-20220811170753-2.png]]
2634 +
2635 +Next, click Communication Settings to configure the IP of the HMI communication object.
2636 +
2637 +[[image:image-20220811163047-1.png]]
2638 +
2639 +**hardware connection**
2640 +
2641 +**1)Hardware wiring diagram**
2642 +
2643 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
2644 +
2645 +[[image:image-20220811170248-1.png]]
2646 +
2647 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
2648 +
2651 2651  = **Printer** =
2652 2652  
2653 2653  == **TSPL label printer** ==
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-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-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