Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
From version 64.1
edited by Ben
on 2022/08/29 13:46
on 2022/08/29 13:46
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.Hunter - Content
-
... ... @@ -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 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]] 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:// youtu.be/0FpmDZe_8U8]]102 +* [[Video>>https://drive.google.com/open?id=0B0j9uum1UPXbMENtRlF2VzdQdHc]] 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,216 +261,6 @@ 261 261 (% style="text-align:center" %) 262 262 [[image:image-20220819105928-9.png||height="229" width="669"]] 263 263 264 -= **WECON PLC** = 265 - 266 -Supported series: WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM 267 - 268 -**HMI Settings** 269 - 270 -(% class="table-bordered" %) 271 -|**Item**|**Settings**|**Note** 272 -|Protocol|WECON LX2V/ LX2E/ LX3V/LX3VP/LX3VE/LX3VM| 273 -|Connection|RS422/RS485| 274 -|Baud rate|9600| 275 -|Data bit|7| 276 -|Parity|EVEN| 277 -|Stop bit|1| 278 -|PLC station No.|1| 279 - 280 -**Address List** 281 - 282 -(% class="table-bordered" %) 283 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note** 284 -|(% rowspan="6" %)Bit|X|X|Xo|0~~303237| 285 -|Y|Y|Y o|0~~303237| 286 -|M|M|M d|0~~99999| 287 -|T|T|T d|0~~99999| 288 -|C|C|C d|0~~99999| 289 -|S|S|S d|0~~99999| 290 -|(% rowspan="8" %)Word|X|X|Xo|0~~303237| 291 -|Y|Y|Y o|0~~303237| 292 -|M|M|M d|0~~99999| 293 -|T|T|T d|0~~99999| 294 -|C|C|C d|0~~199| 295 -|D|D|D d|0~~7999| 296 -|S|S|S d|0~~99999| 297 -|SD|SD|SD d|8000~~9999| 298 - 299 -**Cable Wiring** 300 - 301 -* **RS485** 302 - 303 -(% style="text-align:center" %) 304 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 305 - 306 -* **RS422** 307 - 308 -(% style="text-align:center" %) 309 -[[image:12.PLC Protocol_html_5c7fca9a70da2ee8.png||data-xwiki-image-style-alignment="center" height="247" width="389" class="img-thumbnail"]] 310 - 311 -**✎Note:** 312 - 313 -* HMI COM3 is available in PI8000 series and COM3 is in COM2(hardware PIN 7 and PIN 8) . 314 -* 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. 315 - 316 -[[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 317 - 318 - 319 -== **HMI and Wecon LX5V serial communication** == 320 - 321 -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. 322 - 323 -**Software configuration of PLC** 324 - 325 -**1)PLC programming software** 326 - 327 -[[image:image-20220810164710-1.png]] 328 - 329 -**2)New PLC project** 330 - 331 -Click New Project and select the PLC model. 332 - 333 -[[image:image-20220810172412-1.png]] 334 - 335 - 336 -**3)Set Serial port parameters** 337 - 338 -Follow the steps below to configure Serial port parameters 339 - 340 -Baud rate:115200 341 - 342 -Data bit:8 343 - 344 -Stop bit:1 345 - 346 -Parity:No verification 347 - 348 -[[image:image-20220810165759-3.png]] 349 - 350 - 351 -**4)Registers list** 352 - 353 -[[image:image-20220811102219-3.png]] 354 - 355 - 356 -**HMI software configuration** 357 - 358 -**1)HMI programming software** 359 - 360 - [[image:image-20220810171237-4.png]] 361 - 362 -**2)New HMI project** 363 - 364 -Click New Project and select the HMI model. 365 - 366 -[[image:image-20220810172010-5.png]] 367 - 368 -**3)Set communication port parameters** 369 - 370 -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. 371 - 372 -Baud rate:115200 373 - 374 -Data bit:8 375 - 376 -Stop bit:1 377 - 378 -Parity:No verification 379 - 380 - 381 -[[image:image-20220811104012-1.png]] 382 - 383 - 384 -**hardware connection** 385 - 386 -**1)Hardware wiring diagram** 387 - 388 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 389 - 390 -[[image:image-20220811103005-4.png]] 391 - 392 - 393 -[[image:image-20220811103227-7.png]] 394 - 395 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 396 - 397 -== **HMI and Wecon LX5V-N Ethernet communication** == 398 - 399 -(% 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. 400 - 401 - 402 -**Software configuration of PLC** 403 - 404 -**1)PLC programming software** 405 - 406 -[[image:image-20220810164710-1.png]] 407 - 408 -**2)New PLC project** 409 - 410 -Click New Project and select the PLC model. 411 - 412 -[[image:image-20220811115454-1.png]] 413 - 414 - 415 -**3)Set Ethernet port parameters** 416 - 417 -Follow the steps below to configure Ethernet parameters 418 - 419 -PLC IP address:192.168.39.200 420 - 421 -default gateway:192.168.39.1 422 - 423 -subnet mask:255.255.255.0 424 - 425 -[[image:image-20220811140530-2.png]] 426 - 427 - 428 -**4)Registers list** 429 - 430 -[[image:image-20220811102219-3.png]] 431 - 432 - 433 -**HMI software configuration** 434 - 435 -**1)HMI programming software** 436 - 437 - [[image:image-20220810171237-4.png]] 438 - 439 -**2)New HMI project** 440 - 441 -Click New Project and select the HMI model. 442 - 443 -[[image:image-20220810172010-5.png]] 444 - 445 -**3)Set communication port parameters** 446 - 447 -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. 448 - 449 -HMI IP address:192.168.39.201 450 - 451 -default gateway:192.168.39.1 452 - 453 -subnet mask:255.255.255.0 454 - 455 -[[image:image-20220811170753-2.png]] 456 - 457 -Next, click Communication Settings to configure the IP of the HMI communication object. 458 - 459 -[[image:image-20220811163047-1.png]] 460 - 461 -**hardware connection** 462 - 463 -**1)Hardware wiring diagram** 464 - 465 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 466 - 467 -[[image:image-20220811170248-1.png]] 468 - 469 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 470 - 471 -(% class="wikigeneratedid" %) 472 -= = 473 - 474 474 = **Allen-Bradley** = 475 475 476 476 == **FreeTag Ethernet/IP (CompactLogix)** == ... ... @@ -2649,8 +2649,213 @@ 2649 2649 2650 2650 **✎Note:** COM3 only available in PI8000/PI9000 series. 2651 2651 2652 -= = 2442 += **WECON PLC** = 2653 2653 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 + 2654 2654 = **Printer** = 2655 2655 2656 2656 == **TSPL label printer** ==