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)
-
Attachments (0 modified, 10 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Stone1 +XWiki.Ben - Content
-
... ... @@ -87,6 +87,60 @@ 87 87 88 88 = Create communication with WECON PLC = 89 89 90 +== **LX3V Serial Protocol** == 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 + 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]]150 +* [[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]]156 +* [[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,160 @@ 261 261 (% style="text-align:center" %) 262 262 [[image:image-20220819105928-9.png||height="229" width="669"]] 263 263 318 +== **LX5V Serial Protocol** == 319 + 320 +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. 321 + 322 +**Software configuration of PLC** 323 + 324 +**1)PLC programming software** 325 + 326 +[[image:image-20220810164710-1.png]] 327 + 328 +**2)New PLC project** 329 + 330 +Click New Project and select the PLC model. 331 + 332 +[[image:image-20220810172412-1.png]] 333 + 334 + 335 +**3)Set Serial port parameters** 336 + 337 +Follow the steps below to configure Serial port parameters 338 + 339 +Baud rate:115200 340 + 341 +Data bit:8 342 + 343 +Stop bit:1 344 + 345 +Parity:No verification 346 + 347 +[[image:image-20220810165759-3.png]] 348 + 349 + 350 +**4)Registers list** 351 + 352 +[[image:image-20220811102219-3.png]] 353 + 354 + 355 +**HMI software configuration** 356 + 357 +**1)HMI programming software** 358 + 359 + [[image:image-20220810171237-4.png]] 360 + 361 +**2)New HMI project** 362 + 363 +Click New Project and select the HMI model. 364 + 365 +[[image:image-20220810172010-5.png]] 366 + 367 +**3)Set communication port parameters** 368 + 369 +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. 370 + 371 +Baud rate:115200 372 + 373 +Data bit:8 374 + 375 +Stop bit:1 376 + 377 +Parity:No verification 378 + 379 + 380 +[[image:image-20220811104012-1.png]] 381 + 382 + 383 +**hardware connection** 384 + 385 +**1)Hardware wiring diagram** 386 + 387 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 388 + 389 +[[image:image-20220811103005-4.png]] 390 + 391 + 392 +[[image:image-20220811103227-7.png]] 393 + 394 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 395 + 396 +== **LX5V-N Ethernet protocol** == 397 + 398 +(% 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. 399 + 400 + 401 +**Software configuration of PLC** 402 + 403 +**1)PLC programming software** 404 + 405 +[[image:image-20220810164710-1.png]] 406 + 407 +**2)New PLC project** 408 + 409 +Click New Project and select the PLC model. 410 + 411 +[[image:image-20220811115454-1.png]] 412 + 413 + 414 +**3)Set Ethernet port parameters** 415 + 416 +Follow the steps below to configure Ethernet parameters 417 + 418 +PLC IP address:192.168.39.200 419 + 420 +default gateway:192.168.39.1 421 + 422 +subnet mask:255.255.255.0 423 + 424 +[[image:image-20220811140530-2.png]] 425 + 426 + 427 +**4)Registers list** 428 + 429 +[[image:image-20220811102219-3.png]] 430 + 431 + 432 +**HMI software configuration** 433 + 434 +**1)HMI programming software** 435 + 436 + [[image:image-20220810171237-4.png]] 437 + 438 +**2)New HMI project** 439 + 440 +Click New Project and select the HMI model. 441 + 442 +[[image:image-20220810172010-5.png]] 443 + 444 +**3)Set communication port parameters** 445 + 446 +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. 447 + 448 +HMI IP address:192.168.39.201 449 + 450 +default gateway:192.168.39.1 451 + 452 +subnet mask:255.255.255.0 453 + 454 +[[image:image-20220811170753-2.png]] 455 + 456 +Next, click Communication Settings to configure the IP of the HMI communication object. 457 + 458 +[[image:image-20220811163047-1.png]] 459 + 460 +**hardware connection** 461 + 462 +**1)Hardware wiring diagram** 463 + 464 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 465 + 466 +[[image:image-20220811170248-1.png]] 467 + 468 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 469 + 470 += = 471 + 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 tarehesame. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table.580 +**✎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 -= **WECONPLC**=2650 += = 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-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-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