Changes for page 12 PLC Protocol OLD

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

From version 45.1
edited by Stone Wu
on 2022/08/22 11:32
Change comment: Upload new image "image-20220819093729-4.png", version 1.1
To version 65.1
edited by Ben
on 2022/08/29 14:05
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
... ... @@ -87,6 +87,59 @@
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 +
90 90  == HMI settings ==
91 91  
92 92  **Download PIStudio Software**
... ... @@ -93,13 +93,13 @@
93 93  
94 94  Please visit the link below to get the latest version PIstudio for HMI programming:
95 95  
96 -* [[Download>>https://ftp.we-con.com.cn/Download/Software/PIStudio20211210.zip]] or [[Download>>https://drive.google.com/open?id=1Im7YS2rtnRI7yFIHmqHDVPBUyWahqSXN]]
149 +* [[Download link>>doc:PIStudio.Download.3 Software.WebHome]]
97 97  
98 98  **Create a new HMI project connect with PLC**
99 99  
100 100  Check the link below for the video to show you how to get started with a new project
101 101  
102 -* [[Video>>https://drive.google.com/open?id=0B0j9uum1UPXbMENtRlF2VzdQdHc]]
155 +* [[Video>>https://youtu.be/0FpmDZe_8U8]]
103 103  
104 104  For more videos, please visit our Youtube channel: [[http:~~/~~/www.youtube.com/user/Wecon2004/videos>>url:http://www.youtube.com/user/Wecon2004/videos]]
105 105  
... ... @@ -261,6 +261,164 @@
261 261  (% style="text-align:center" %)
262 262  [[image:image-20220819105928-9.png||height="229" width="669"]]
263 263  
317 += **WECON PLC** =
318 +
319 +
320 +
321 +== **HMI and Wecon LX5V serial communication** ==
322 +
323 +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.
324 +
325 +**Software configuration of PLC**
326 +
327 +**1)PLC programming software**
328 +
329 +[[image:image-20220810164710-1.png]]
330 +
331 +**2)New PLC project**
332 +
333 +Click New Project and select the PLC model.
334 +
335 +[[image:image-20220810172412-1.png]]
336 +
337 +
338 +**3)Set Serial port parameters**
339 +
340 +Follow the steps below to configure Serial port parameters
341 +
342 +Baud rate:115200
343 +
344 +Data bit:8
345 +
346 +Stop bit:1
347 +
348 +Parity:No verification
349 +
350 +[[image:image-20220810165759-3.png]]
351 +
352 +
353 +**4)Registers list**
354 +
355 +[[image:image-20220811102219-3.png]]
356 +
357 +
358 +**HMI software configuration**
359 +
360 +**1)HMI programming software**
361 +
362 + [[image:image-20220810171237-4.png]]
363 +
364 +**2)New HMI project**
365 +
366 +Click New Project and select the HMI model.
367 +
368 +[[image:image-20220810172010-5.png]]
369 +
370 +**3)Set communication port parameters**
371 +
372 +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.
373 +
374 +Baud rate:115200
375 +
376 +Data bit:8
377 +
378 +Stop bit:1
379 +
380 +Parity:No verification
381 +
382 +
383 +[[image:image-20220811104012-1.png]]
384 +
385 +
386 +**hardware connection**
387 +
388 +**1)Hardware wiring diagram**
389 +
390 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
391 +
392 +[[image:image-20220811103005-4.png]]
393 +
394 +
395 +[[image:image-20220811103227-7.png]]
396 +
397 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
398 +
399 +== **HMI and Wecon LX5V-N Ethernet communication** ==
400 +
401 +(% 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.
402 +
403 +
404 +**Software configuration of PLC**
405 +
406 +**1)PLC programming software**
407 +
408 +[[image:image-20220810164710-1.png]]
409 +
410 +**2)New PLC project**
411 +
412 +Click New Project and select the PLC model.
413 +
414 +[[image:image-20220811115454-1.png]]
415 +
416 +
417 +**3)Set Ethernet port parameters**
418 +
419 +Follow the steps below to configure Ethernet parameters
420 +
421 +PLC IP address:192.168.39.200
422 +
423 +default gateway:192.168.39.1
424 +
425 +subnet mask:255.255.255.0
426 +
427 +[[image:image-20220811140530-2.png]]
428 +
429 +
430 +**4)Registers list**
431 +
432 +[[image:image-20220811102219-3.png]]
433 +
434 +
435 +**HMI software configuration**
436 +
437 +**1)HMI programming software**
438 +
439 + [[image:image-20220810171237-4.png]]
440 +
441 +**2)New HMI project**
442 +
443 +Click New Project and select the HMI model.
444 +
445 +[[image:image-20220810172010-5.png]]
446 +
447 +**3)Set communication port parameters**
448 +
449 +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.
450 +
451 +HMI IP address:192.168.39.201
452 +
453 +default gateway:192.168.39.1
454 +
455 +subnet mask:255.255.255.0
456 +
457 +[[image:image-20220811170753-2.png]]
458 +
459 +Next, click Communication Settings to configure the IP of the HMI communication object.
460 +
461 +[[image:image-20220811163047-1.png]]
462 +
463 +**hardware connection**
464 +
465 +**1)Hardware wiring diagram**
466 +
467 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
468 +
469 +[[image:image-20220811170248-1.png]]
470 +
471 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
472 +
473 += =
474 +
264 264  = **Allen-Bradley** =
265 265  
266 266  == **FreeTag Ethernet/IP (CompactLogix)** ==
... ... @@ -369,7 +369,7 @@
369 369  * **Word address S:** The word address ranges from 0 to 255 (decimal).
370 370  * **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).
371 371  
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.
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.
373 373  
374 374  |(% style="width:393px" %)**PLC bit address type**|(% style="width:350px" %)**Address format**|(% style="width:333px" %)**Address range**
375 375  |(% style="width:393px" %)I|(% style="width:350px" %)dd.dd|(% style="width:333px" %)I 0.0 ~~ 255.15
... ... @@ -2439,213 +2439,8 @@
2439 2439  
2440 2440  **✎Note:** COM3 only available in PI8000/PI9000 series.
2441 2441  
2442 -= **WECON PLC** =
2653 += =
2443 2443  
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 -
2649 2649  = **Printer** =
2650 2650  
2651 2651  == **TSPL label printer** ==
image-20220819093729-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +147.9 KB
Content
image-20220819093729-15.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +74.6 KB
Content
image-20220819093729-17.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +115.0 KB
Content
image-20220819093729-18.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +112.1 KB
Content
image-20220819093729-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +6.6 KB
Content
image-20220819093729-6.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +100.2 KB
Content
image-20220819093729-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +46.9 KB
Content
image-20220819093730-19.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +122.5 KB
Content
image-20220819093730-20.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +99.6 KB
Content
image-20220819105530-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +1.0 MB
Content
image-20220819105630-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +1.1 MB
Content
image-20220819105644-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +942.6 KB
Content
image-20220819105928-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +72.6 KB
Content
image-20220820150853-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +171.7 KB
Content