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
on 2022/08/29 14:13
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Ben1 +XWiki.Stone - Content
-
... ... @@ -87,63 +87,8 @@ 87 87 88 88 = Create communication with WECON PLC = 89 89 90 -== **LX3VSerialProtocol**==90 +== HMI settings == 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 - 147 147 **Download PIStudio Software** 148 148 149 149 Please visit the link below to get the latest version PIstudio for HMI programming: ... ... @@ -154,7 +154,7 @@ 154 154 155 155 Check the link below for the video to show you how to get started with a new project 156 156 157 -* [[Video>>https:// youtu.be/0FpmDZe_8U8]]102 +* [[Video>>https://drive.google.com/open?id=0B0j9uum1UPXbMENtRlF2VzdQdHc]] 158 158 159 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 160 ... ... @@ -231,8 +231,7 @@ 231 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 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 233 234 -(% class="wikigeneratedid" id="HPLCsettings" %) 235 -**PLC settings** 179 +== PLC settings == 236 236 237 237 **Download PLC Software** 238 238 ... ... @@ -317,161 +317,65 @@ 317 317 (% style="text-align:center" %) 318 318 [[image:image-20220819105928-9.png||height="229" width="669"]] 319 319 320 -= =**LX5V SerialProtocol** ==264 += **Allen-Bradley** = 321 321 322 - Thisexample introduces theestablishment of serial port communication between Wecon HMIand LX5V. It is introduced through threeparts: PLC software configuration,HMI software configuration, and hardware wiring.266 +== **FreeTag Ethernet/IP (CompactLogix)** == 323 323 324 - **Softwareconfiguration of PLC**268 +Allen-Brandly CompactLogix 325 325 326 -** 1)PLCprogrammingoftware**270 +**HMI Settings** 327 327 328 -[[image:image-20220810164710-1.png]] 272 +(% class="table-bordered" %) 273 +|**Items**|**Settings**|**Note** 274 +|Protocol|Allen-Brandley FreeTag Ethernet/IP (CompactLogix)| 275 +|Connection|Ethernet| 276 +|Port No.|44818| 329 329 330 -** 2)NewPLCproject**278 +**PLC Setting** 331 331 332 -C lick New Projectand selectthe PLC model.280 +Create new tags 333 333 334 -[[image:image-20220810172412-1.png]] 282 +(% style="text-align:center" %) 283 +[[image:12.PLC Protocol_html_a748a27dcf7f1124.png||data-xwiki-image-style-alignment="center" height="411" width="700" class="img-thumbnail"]] 335 335 285 +Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments]) 336 336 337 -**3)Set Serial port parameters** 287 +(% style="text-align:center" %) 288 +[[image:12.PLC Protocol_html_151379170bb8ff3e.png||data-xwiki-image-style-alignment="center" height="352" width="700" class="img-thumbnail"]] 338 338 339 - FollowthetepsbelowtofigureSerialparameters290 +Import labels, please open [Communication] window and click [Import label]; 340 340 341 - Baudrate:115200292 +Select csv file, all tags will be displayed as belows; 342 342 343 -Data bit:8 294 +(% style="text-align:center" %) 295 +[[image:12.PLC Protocol_html_af192e54dee96f38.png||data-xwiki-image-style-alignment="center" height="586" width="700" class="img-thumbnail"]] 344 344 345 - Stop bit:1297 +**✎Note:** 346 346 347 - Parity:Noverification299 +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. 348 348 349 -[[image:image-20220810165759-3.png]] 301 +(% style="text-align:center" %) 302 +[[image:12.PLC Protocol_html_33df1d63ebe53726.png||data-xwiki-image-style-alignment="center" height="206" width="700" class="img-thumbnail"]] 350 350 304 +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. 351 351 352 -** 4)Registerslist**306 +**Communication settings in HMI** 353 353 354 - [[image:image-20220811102219-3.png]]308 +Enable HMI Ethernet in [Project Settings]; 355 355 310 +(% style="text-align:center" %) 311 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="106" width="400" class="img-thumbnail"]] 356 356 357 - **HMI softwareconfiguration**313 +Set PLC IP in [Device IP] settings; 358 358 359 -**1)HMI programming software** 315 +(% style="text-align:center" %) 316 +[[image:12.PLC Protocol_html_27870d373581892e.png||data-xwiki-image-style-alignment="center" height="206" width="600" class="img-thumbnail"]] 360 360 361 - [[image:image-20220810171237-4.png]]318 +**Cable Wiring** 362 362 363 -**2)New HMI project** 320 +(% style="text-align:center" %) 321 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="400" class="img-thumbnail"]] 364 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** == ... ... @@ -2650,8 +2650,213 @@ 2650 2650 2651 2651 **✎Note:** COM3 only available in PI8000/PI9000 series. 2652 2652 2653 -= = 2442 += **WECON PLC** = 2654 2654 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 + 2655 2655 = **Printer** = 2656 2656 2657 2657 == **TSPL label printer** ==