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. Stone1 +XWiki.Ben - Content
-
... ... @@ -2303,9 +2303,6 @@ 2303 2303 * **RS485** 2304 2304 2305 2305 (% style="text-align:center" %) 2306 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2307 - 2308 -(% style="text-align:center" %) 2309 2309 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2310 2310 2311 2311 * **RS422** ... ... @@ -2320,6 +2320,159 @@ 2320 2320 2321 2321 [[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2322 2322 2320 + 2321 +== **HMI and Wecon LX5V serial communication** == 2322 + 2323 +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. 2324 + 2325 +**Software configuration of PLC** 2326 + 2327 +**1)PLC programming software** 2328 + 2329 +[[image:image-20220810164710-1.png]] 2330 + 2331 +**2)New PLC project** 2332 + 2333 +Click New Project and select the PLC model. 2334 + 2335 +[[image:image-20220810172412-1.png]] 2336 + 2337 + 2338 +**3)Set Serial port parameters** 2339 + 2340 +Follow the steps below to configure Serial port parameters 2341 + 2342 +Baud rate:115200 2343 + 2344 +Data bit:8 2345 + 2346 +Stop bit:1 2347 + 2348 +Parity:No verification 2349 + 2350 +[[image:image-20220810165759-3.png]] 2351 + 2352 + 2353 +**4)Registers list** 2354 + 2355 +[[image:image-20220811102219-3.png]] 2356 + 2357 + 2358 +**HMI software configuration** 2359 + 2360 +**1)HMI programming software** 2361 + 2362 + [[image:image-20220810171237-4.png]] 2363 + 2364 +**2)New HMI project** 2365 + 2366 +Click New Project and select the HMI model. 2367 + 2368 +[[image:image-20220810172010-5.png]] 2369 + 2370 +**3)Set communication port parameters** 2371 + 2372 +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. 2373 + 2374 +Baud rate:115200 2375 + 2376 +Data bit:8 2377 + 2378 +Stop bit:1 2379 + 2380 +Parity:No verification 2381 + 2382 + 2383 +[[image:image-20220811104012-1.png]] 2384 + 2385 + 2386 +**hardware connection** 2387 + 2388 +**1)Hardware wiring diagram** 2389 + 2390 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2391 + 2392 +[[image:image-20220811103005-4.png]] 2393 + 2394 + 2395 +[[image:image-20220811103227-7.png]] 2396 + 2397 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2398 + 2399 +== **HMI and Wecon LX5V-N Ethernet communication** == 2400 + 2401 +(% 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. 2402 + 2403 + 2404 +**Software configuration of PLC** 2405 + 2406 +**1)PLC programming software** 2407 + 2408 +[[image:image-20220810164710-1.png]] 2409 + 2410 +**2)New PLC project** 2411 + 2412 +Click New Project and select the PLC model. 2413 + 2414 +[[image:image-20220811115454-1.png]] 2415 + 2416 + 2417 +**3)Set Ethernet port parameters** 2418 + 2419 +Follow the steps below to configure Ethernet parameters 2420 + 2421 +PLC IP address:192.168.39.200 2422 + 2423 +default gateway:192.168.39.1 2424 + 2425 +subnet mask:255.255.255.0 2426 + 2427 +[[image:image-20220811140530-2.png]] 2428 + 2429 + 2430 +**4)Registers list** 2431 + 2432 +[[image:image-20220811102219-3.png]] 2433 + 2434 + 2435 +**HMI software configuration** 2436 + 2437 +**1)HMI programming software** 2438 + 2439 + [[image:image-20220810171237-4.png]] 2440 + 2441 +**2)New HMI project** 2442 + 2443 +Click New Project and select the HMI model. 2444 + 2445 +[[image:image-20220810172010-5.png]] 2446 + 2447 +**3)Set communication port parameters** 2448 + 2449 +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. 2450 + 2451 +HMI IP address:192.168.39.201 2452 + 2453 +default gateway:192.168.39.1 2454 + 2455 +subnet mask:255.255.255.0 2456 + 2457 +[[image:image-20220811170753-2.png]] 2458 + 2459 +Next, click Communication Settings to configure the IP of the HMI communication object. 2460 + 2461 +[[image:image-20220811163047-1.png]] 2462 + 2463 +**hardware connection** 2464 + 2465 +**1)Hardware wiring diagram** 2466 + 2467 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2468 + 2469 +[[image:image-20220811170248-1.png]] 2470 + 2471 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2472 + 2323 2323 = **Printer** = 2324 2324 2325 2325 == **TSPL label printer** == ... ... @@ -2487,174 +2487,20 @@ 2487 2487 2488 2488 **✎Note:** COM3 only available in PI8000/PI9000 series. 2489 2489 2490 -== HMI and Wecon LX5V serial communication == 2491 2491 2492 -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. 2493 - 2494 -**Software configuration of PLC** 2495 - 2496 -**1)PLC programming software** 2497 - 2498 -[[image:image-20220810164710-1.png]] 2499 - 2500 -**2)New PLC project** 2501 - 2502 -Click New Project and select the PLC model. 2503 - 2504 -[[image:image-20220810172412-1.png]] 2505 - 2506 - 2507 -**3)Set Serial port parameters** 2508 - 2509 -Follow the steps below to configure Serial port parameters 2510 - 2511 -Baud rate:115200 2512 - 2513 -Data bit:8 2514 - 2515 -Stop bit:1 2516 - 2517 -Parity:No verification 2518 - 2519 -[[image:image-20220810165759-3.png]] 2520 - 2521 - 2522 -**4)Registers list** 2523 - 2524 -[[image:image-20220811102219-3.png]] 2525 - 2526 - 2527 -**HMI software configuration** 2528 - 2529 -**1)HMI programming software** 2530 - 2531 - [[image:image-20220810171237-4.png]] 2532 - 2533 -**2)New HMI project** 2534 - 2535 -Click New Project and select the HMI model. 2536 - 2537 -[[image:image-20220810172010-5.png]] 2538 - 2539 -**3)Set communication port parameters** 2540 - 2541 -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. 2542 - 2543 -Baud rate:115200 2544 - 2545 -Data bit:8 2546 - 2547 -Stop bit:1 2548 - 2549 -Parity:No verification 2550 - 2551 - 2552 -[[image:image-20220811104012-1.png]] 2553 - 2554 - 2555 -**hardware connection** 2556 - 2557 -**1)Hardware wiring diagram** 2558 - 2559 -This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2560 - 2561 -[[image:image-20220811103005-4.png]] 2562 - 2563 - 2564 -[[image:image-20220811103227-7.png]] 2565 - 2566 -The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2567 - 2568 -== HMI and Wecon LX5V-N Ethernet communication == 2569 - 2570 -(% 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. 2571 - 2572 - 2573 -**Software configuration of PLC** 2574 - 2575 -**1)PLC programming software** 2576 - 2577 -[[image:image-20220810164710-1.png]] 2578 - 2579 -**2)New PLC project** 2580 - 2581 -Click New Project and select the PLC model. 2582 - 2583 -[[image:image-20220811115454-1.png]] 2584 - 2585 - 2586 -**3)Set Ethernet port parameters** 2587 - 2588 -Follow the steps below to configure Ethernet parameters 2589 - 2590 -PLC IP address:192.168.39.200 2591 - 2592 -default gateway:192.168.39.1 2593 - 2594 -subnet mask:255.255.255.0 2595 - 2596 -[[image:image-20220811140530-2.png]] 2597 - 2598 - 2599 -**4)Registers list** 2600 - 2601 -[[image:image-20220811102219-3.png]] 2602 - 2603 - 2604 -**HMI software configuration** 2605 - 2606 -**1)HMI programming software** 2607 - 2608 - [[image:image-20220810171237-4.png]] 2609 - 2610 -**2)New HMI project** 2611 - 2612 -Click New Project and select the HMI model. 2613 - 2614 -[[image:image-20220810172010-5.png]] 2615 - 2616 -**3)Set communication port parameters** 2617 - 2618 -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. 2619 - 2620 -HMI IP address:192.168.39.201 2621 - 2622 -default gateway:192.168.39.1 2623 - 2624 -subnet mask:255.255.255.0 2625 - 2626 -[[image:image-20220811170753-2.png]] 2627 - 2628 -Next, click Communication Settings to configure the IP of the HMI communication object. 2629 - 2630 -[[image:image-20220811163047-1.png]] 2631 - 2632 -**hardware connection** 2633 - 2634 -**1)Hardware wiring diagram** 2635 - 2636 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2637 - 2638 -[[image:image-20220811170248-1.png]] 2639 - 2640 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2641 - 2642 2642 = **Schneider MODBUS RTU** = 2643 2643 2644 2644 **HMI Setting** 2645 2645 2646 -|= (% scope="row" %)**Parameters**|=**Recommended**|=**Options**|=**Notes**2647 -| =**Protocol**|(% colspan="2" %)Schneider MODBUS RTU|2648 -| =Connection|RS485|RS232/RS485|2649 -| =**Baud rate**|19200|9600~~115200|2650 -| =**Data bit**|8|7,8|2651 -| =**Parity**|Even|Even,Odd, None|2652 -| =**Stop bits**|1|1,2|2653 -| =**PLC station No.**|1|0-255|2645 +|=**Parameters**|=**Recommended**|=**Notes** 2646 +|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 2647 +|Connection|RS485| 2648 +|**Baud rate**|19200| 2649 +|**Data bit**|8| 2650 +|**Parity**|Even| 2651 +|**Stop bit**|1| 2652 +|**PLC station No.**|1| 2654 2654 2655 -|=(% scope="row" style="width: 266px;" %)**Online simulator**|(% style="width:319px" %)YES|(% style="width:336px" %)**Broadcast command**|(% style="width:155px" %)YES 2656 -|=(% style="width: 266px;" %)**Extend address mode**|(% style="width:319px" %)YES|(% style="width:336px" %) |(% style="width:155px" %) 2657 - 2658 2658 **PLC Setting** 2659 2659 2660 2660 |=(% scope="row" %)**Communication mode**|Modbus RTU protocol ... ... @@ -2661,12 +2661,12 @@ 2661 2661 2662 2662 **Device Address** 2663 2663 2664 -|= (% scope="row" %)**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo**2665 -| =B|IX|DDDDDo|0 ~~ 655357|Input bit (read only)2666 -| =B|QX|DDDDDo|0 ~~ 655357|Write multiple coils2667 -| =B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal)2668 -| =W|MW|DDDDDD|0 ~~ 999999|Output register2669 -| =DW|MD|DDDDDD|0 ~~ 999999|Output register2660 +|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** 2661 +|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) 2662 +|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils 2663 +|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2664 +|W|MW|DDDDDD|0 ~~ 999999|Output register 2665 +|DW|MD|DDDDDD|0 ~~ 999999|Output register 2670 2670 2671 2671 **Wiring Diagram** 2672 2672