Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
From version 37.1
edited by Ben
on 2022/08/20 16:50
on 2022/08/20 16:50
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Ben1 +XWiki.Hunter - Content
-
... ... @@ -1896,7 +1896,7 @@ 1896 1896 1897 1897 == **LOGO Ethernet** == 1898 1898 1899 -Supported Series: Siemens Logo 0BA0 series1899 +Supported Series: Siemens Logo 1900 1900 1901 1901 **HMI Settings** 1902 1902 ... ... @@ -1959,8 +1959,9 @@ 1959 1959 Set PLC IP in [Device IP] settings; 1960 1960 1961 1961 (% style="text-align:center" %) 1962 -[[image: SiemensLOGODeviceIP.png]]1962 +[[image:12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]] 1963 1963 1964 + 1964 1964 Enable HMI Ethernet in [Project Settings]; 1965 1965 1966 1966 (% style="text-align:center" %) ... ... @@ -2303,6 +2303,9 @@ 2303 2303 * **RS485** 2304 2304 2305 2305 (% style="text-align:center" %) 2307 +[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2308 + 2309 +(% style="text-align:center" %) 2306 2306 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2307 2307 2308 2308 * **RS422** ... ... @@ -2317,159 +2317,6 @@ 2317 2317 2318 2318 [[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2319 2319 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 - 2473 2473 = **Printer** = 2474 2474 2475 2475 == **TSPL label printer** == ... ... @@ -2638,35 +2638,155 @@ 2638 2638 **✎Note:** COM3 only available in PI8000/PI9000 series. 2639 2639 2640 2640 2641 -= ** SchneiderMODBUSRTU** =2492 +== **1. HMI and Wecon LX5V serial communication** == 2642 2642 2643 - **HMISetting**2494 +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. 2644 2644 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| 2653 2653 2654 -** PLCSetting**2497 +**Software configuration of PLC** 2655 2655 2656 - |=(%scope="row" %)**Communicationmode**|Modbus RTU protocol2499 +**1)PLC programming software** 2657 2657 2658 - **DeviceAddress**2501 +[[image:image-20220810164710-1.png]] 2659 2659 2660 -|=**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 2503 +**2)New PLC project** 2666 2666 2667 - **WiringDiagram**2505 +Click New Project and select the PLC model. 2668 2668 2669 - **RS-485 2W **(RJ45 Connector): The followingis theview fromthe soldering point ofaconnector.2507 +[[image:image-20220810172412-1.png]] 2670 2670 2671 -(% style="text-align:center" %) 2672 -[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]] 2509 + 2510 +**3)Set Serial port parameters** 2511 + 2512 +Follow the steps below to configure Serial port parameters 2513 + 2514 +Baud rate:115200 2515 + 2516 +Data bit:8 2517 + 2518 +Stop bit:1 2519 + 2520 +Parity:No verification 2521 + 2522 +[[image:image-20220810165759-3.png]] 2523 + 2524 + 2525 +**4)Registers list** 2526 + 2527 +[[image:image-20220811102219-3.png]] 2528 + 2529 + 2530 +**HMI software configuration** 2531 + 2532 +**1)HMI programming software** 2533 + 2534 + [[image:image-20220810171237-4.png]] 2535 + 2536 +**2)New HMI project** 2537 + 2538 +Click New Project and select the HMI model. 2539 + 2540 +[[image:image-20220810172010-5.png]] 2541 + 2542 +**3)Set communication port parameters** 2543 + 2544 +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. 2545 + 2546 +Baud rate:115200 2547 + 2548 +Data bit:8 2549 + 2550 +Stop bit:1 2551 + 2552 +Parity:No verification 2553 + 2554 + 2555 +[[image:image-20220811104012-1.png]] 2556 + 2557 + 2558 +**hardware connection** 2559 + 2560 +**1)Hardware wiring diagram** 2561 + 2562 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2563 + 2564 +[[image:image-20220811103005-4.png]] 2565 + 2566 + 2567 +[[image:image-20220811103227-7.png]] 2568 + 2569 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2570 + 2571 +== **2. HMI and Wecon LX5V-N Ethernet communication** == 2572 + 2573 +(% 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. 2574 + 2575 + 2576 +**Software configuration of PLC** 2577 + 2578 +**1)PLC programming software** 2579 + 2580 +[[image:image-20220810164710-1.png]] 2581 + 2582 +**2)New PLC project** 2583 + 2584 +Click New Project and select the PLC model. 2585 + 2586 +[[image:image-20220811115454-1.png]] 2587 + 2588 + 2589 +**3)Set Ethernet port parameters** 2590 + 2591 +Follow the steps below to configure Ethernet parameters 2592 + 2593 +PLC IP address:192.168.39.200 2594 + 2595 +default gateway:192.168.39.1 2596 + 2597 +subnet mask:255.255.255.0 2598 + 2599 +[[image:image-20220811140530-2.png]] 2600 + 2601 + 2602 +**4)Registers list** 2603 + 2604 +[[image:image-20220811102219-3.png]] 2605 + 2606 + 2607 +**HMI software configuration** 2608 + 2609 +**1)HMI programming software** 2610 + 2611 + [[image:image-20220810171237-4.png]] 2612 + 2613 +**2)New HMI project** 2614 + 2615 +Click New Project and select the HMI model. 2616 + 2617 +[[image:image-20220810172010-5.png]] 2618 + 2619 +**3)Set communication port parameters** 2620 + 2621 +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. 2622 + 2623 +HMI IP address:192.168.39.201 2624 + 2625 +default gateway:192.168.39.1 2626 + 2627 +subnet mask:255.255.255.0 2628 + 2629 +[[image:image-20220811170753-2.png]] 2630 + 2631 +Next, click Communication Settings to configure the IP of the HMI communication object. 2632 + 2633 +[[image:image-20220811163047-1.png]] 2634 + 2635 +**hardware connection** 2636 + 2637 +**1)Hardware wiring diagram** 2638 + 2639 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2640 + 2641 +[[image:image-20220811170248-1.png]] 2642 + 2643 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
- SiemensLOGODeviceIP.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.9 KB - Content
- image-20220817154212-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -51.8 KB - Content