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, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.Ben - Content
-
... ... @@ -1896,7 +1896,7 @@ 1896 1896 1897 1897 == **LOGO Ethernet** == 1898 1898 1899 -Supported Series: Siemens Logo 1899 +Supported Series: Siemens Logo 0BA0 series 1900 1900 1901 1901 **HMI Settings** 1902 1902 ... ... @@ -1959,9 +1959,8 @@ 1959 1959 Set PLC IP in [Device IP] settings; 1960 1960 1961 1961 (% style="text-align:center" %) 1962 -[[image: 12.PLC Protocol_html_573fc64ad393cd4f.png||data-xwiki-image-style-alignment="center" height="655" width="379" class="img-thumbnail"]]1962 +[[image:SiemensLOGODeviceIP.png]] 1963 1963 1964 - 1965 1965 Enable HMI Ethernet in [Project Settings]; 1966 1966 1967 1967 (% style="text-align:center" %) ... ... @@ -2321,6 +2321,162 @@ 2321 2321 2322 2322 [[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2323 2323 2323 + 2324 +== HMI and Wecon LX5V serial communication == 2325 + 2326 +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. 2327 + 2328 +**Software configuration of PLC** 2329 + 2330 +**1)PLC programming software** 2331 + 2332 +[[image:image-20220810164710-1.png]] 2333 + 2334 +**2)New PLC project** 2335 + 2336 +Click New Project and select the PLC model. 2337 + 2338 +[[image:image-20220810172412-1.png]] 2339 + 2340 + 2341 +**3)Set Serial port parameters** 2342 + 2343 +Follow the steps below to configure Serial port parameters 2344 + 2345 +Baud rate:115200 2346 + 2347 +Data bit:8 2348 + 2349 +Stop bit:1 2350 + 2351 +Parity:No verification 2352 + 2353 +[[image:image-20220810165759-3.png]] 2354 + 2355 + 2356 +**4)Registers list** 2357 + 2358 +[[image:image-20220811102219-3.png]] 2359 + 2360 + 2361 +**HMI software configuration** 2362 + 2363 +**1)HMI programming software** 2364 + 2365 + [[image:image-20220810171237-4.png]] 2366 + 2367 +**2)New HMI project** 2368 + 2369 +Click New Project and select the HMI model. 2370 + 2371 +[[image:image-20220810172010-5.png]] 2372 + 2373 +**3)Set communication port parameters** 2374 + 2375 +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. 2376 + 2377 +Baud rate:115200 2378 + 2379 +Data bit:8 2380 + 2381 +Stop bit:1 2382 + 2383 +Parity:No verification 2384 + 2385 + 2386 +[[image:image-20220811104012-1.png]] 2387 + 2388 + 2389 +**hardware connection** 2390 + 2391 +**1)Hardware wiring diagram** 2392 + 2393 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows: 2394 + 2395 +[[image:image-20220811103005-4.png]] 2396 + 2397 + 2398 +[[image:image-20220811103227-7.png]] 2399 + 2400 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2401 + 2402 +(% class="wikigeneratedid" %) 2403 +== == 2404 + 2405 +== HMI and Wecon LX5V-N Ethernet communication == 2406 + 2407 +(% 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. 2408 + 2409 + 2410 +**Software configuration of PLC** 2411 + 2412 +**1)PLC programming software** 2413 + 2414 +[[image:image-20220810164710-1.png]] 2415 + 2416 +**2)New PLC project** 2417 + 2418 +Click New Project and select the PLC model. 2419 + 2420 +[[image:image-20220811115454-1.png]] 2421 + 2422 + 2423 +**3)Set Ethernet port parameters** 2424 + 2425 +Follow the steps below to configure Ethernet parameters 2426 + 2427 +PLC IP address:192.168.39.200 2428 + 2429 +default gateway:192.168.39.1 2430 + 2431 +subnet mask:255.255.255.0 2432 + 2433 +[[image:image-20220811140530-2.png]] 2434 + 2435 + 2436 +**4)Registers list** 2437 + 2438 +[[image:image-20220811102219-3.png]] 2439 + 2440 + 2441 +**HMI software configuration** 2442 + 2443 +**1)HMI programming software** 2444 + 2445 + [[image:image-20220810171237-4.png]] 2446 + 2447 +**2)New HMI project** 2448 + 2449 +Click New Project and select the HMI model. 2450 + 2451 +[[image:image-20220810172010-5.png]] 2452 + 2453 +**3)Set communication port parameters** 2454 + 2455 +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. 2456 + 2457 +HMI IP address:192.168.39.201 2458 + 2459 +default gateway:192.168.39.1 2460 + 2461 +subnet mask:255.255.255.0 2462 + 2463 +[[image:image-20220811170753-2.png]] 2464 + 2465 +Next, click Communication Settings to configure the IP of the HMI communication object. 2466 + 2467 +[[image:image-20220811163047-1.png]] 2468 + 2469 +**hardware connection** 2470 + 2471 +**1)Hardware wiring diagram** 2472 + 2473 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2474 + 2475 +[[image:image-20220811170248-1.png]] 2476 + 2477 +The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2478 + 2324 2324 = **Printer** = 2325 2325 2326 2326 == **TSPL label printer** == ... ... @@ -2489,155 +2489,35 @@ 2489 2489 **✎Note:** COM3 only available in PI8000/PI9000 series. 2490 2490 2491 2491 2492 -= =**1. HMI and WeconLX5V serialcommunication** ==2647 += **Schneider MODBUS RTU** = 2493 2493 2494 - This example introduces the establishment of serial port communication between WeconHMIand LX5V. It is introducedthroughthree parts: PLC software configuration, HMI software configuration, and hardware wiring.2649 +**HMI Setting** 2495 2495 2651 +|=**Parameters**|=**Recommended**|=**Notes** 2652 +|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU| 2653 +|Connection|RS485| 2654 +|**Baud rate**|19200| 2655 +|**Data bit**|8| 2656 +|**Parity**|Even| 2657 +|**Stop bit**|1| 2658 +|**PLC station No.**|1| 2496 2496 2497 -**S oftwareconfigurationof PLC**2660 +**PLC Setting** 2498 2498 2499 - **1)PLCprogrammingsoftware**2662 +|=(% scope="row" %)**Communication mode**|Modbus RTU protocol 2500 2500 2501 - [[image:image-20220810164710-1.png]]2664 +**Device Address** 2502 2502 2503 -**2)New PLC project** 2666 +|=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** 2667 +|B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) 2668 +|B|QX|DDDDDo|0 ~~ 655357|Write multiple coils 2669 +|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2670 +|W|MW|DDDDDD|0 ~~ 999999|Output register 2671 +|DW|MD|DDDDDD|0 ~~ 999999|Output register 2504 2504 2505 - Click New Project andselect the PLCmodel.2673 +**Wiring Diagram** 2506 2506 2507 - [[image:image-20220810172412-1.png]]2675 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector. 2508 2508 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. 2677 +(% style="text-align:center" %) 2678 +[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
- SiemensLOGODeviceIP.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.9 KB - Content
- image-20220817154212-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Stone - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.8 KB - Content