Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.Ben - Content
-
... ... @@ -87,19 +87,74 @@ 87 87 88 88 = Create communication with WECON PLC = 89 89 90 -== HMIsettings==90 +== **LX3V Serial Protocol** == 91 91 92 +Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 93 + 94 +**HMI Settings** 95 + 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| 105 + 106 +**Address List** 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| 124 + 125 +**Cable Wiring** 126 + 127 +* **RS485** 128 + 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"]] 131 + 132 +* **RS422** 133 + 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"]] 136 + 137 +**✎Note:** 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. 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 + 92 92 **Download PIStudio Software** 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]]151 +* [[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]]157 +* [[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 ... ... @@ -176,7 +176,8 @@ 176 176 * 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/]] 177 177 * 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/]] 178 178 179 -== PLC settings == 234 +(% class="wikigeneratedid" id="HPLCsettings" %) 235 +**PLC settings** 180 180 181 181 **Download PLC Software** 182 182 ... ... @@ -261,6 +261,160 @@ 261 261 (% style="text-align:center" %) 262 262 [[image:image-20220819105928-9.png||height="229" width="669"]] 263 263 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 += = 473 + 264 264 = **Allen-Bradley** = 265 265 266 266 == **FreeTag Ethernet/IP (CompactLogix)** == ... ... @@ -2439,213 +2439,8 @@ 2439 2439 2440 2440 **✎Note:** COM3 only available in PI8000/PI9000 series. 2441 2441 2442 -= **WECONPLC**=2652 += = 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** ==