Changes for page 12 PLC Protocol OLD

Last modified by Mora Zhou on 2024/12/05 14:53

From version 34.1
edited by Ben
on 2022/08/19 11:21
Change comment: There is no comment for this version
To version 18.1
edited by Ben
on 2022/08/11 16:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1896,7 +1896,7 @@
1896 1896  
1897 1897  == **LOGO Ethernet** ==
1898 1898  
1899 -Supported Series: Siemens Logo 0BA0 series
1899 +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" %)
... ... @@ -1992,28 +1992,17 @@
1992 1992  
1993 1993  == **S7-XXX Ethernet** ==
1994 1994  
1995 -Supported Series: Siemens S7-400, S7-1200 and S7-1500
1996 +Supported Series: Siemens S7-1200 and S7-1500
1996 1996  
1997 1997  **HMI Setting**
1998 1998  
1999 -(% class="table-bordered" style="width:823px" %)
2000 -|=**Items**|=(% style="width: 437px;" %)**Settings**|=(% style="width: 201px;" %)**Note**
2001 -|Protocol|(% style="width:437px" %)Siemens S7-XXX|(% style="width:201px" %)
2002 -|Connection|(% style="width:437px" %)Ethernet|(% style="width:201px" %)
2003 -|Port No.|(% style="width:437px" %)102|(% style="width:201px" %)
2004 -|Device No.|(% style="width:437px" %)Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|(% style="width:201px" %)
2005 -|HMI No.|(% style="width:437px" %)Rack (Default as 0)|(% style="width:201px" %)
2000 +(% class="table-bordered" %)
2001 +|**Items**|**Settings**|**Note**
2002 +|Protocol|Siemens S7-XXX|
2003 +|Connection|Ethernet|
2004 +|Port No.|102|
2005 +|PLC station No.|1 (for S7-1500)/ 2 (for S7-1200)|
2006 2006  
2007 -Slot from TIA Portal is equal to Device No. of PIStudio
2008 -
2009 -Rack from TIA Portal is equal to HMI No. of PIStudio
2010 -
2011 -(% style="text-align:center" %)
2012 -[[image:S7-XXXCommunication Settings.png]]
2013 -
2014 -(% style="text-align:center" %)
2015 -[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]]
2016 -
2017 2017  **Address List**
2018 2018  
2019 2019  (% class="table-bordered" %)
... ... @@ -2320,160 +2320,6 @@
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  
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 -== HMI and Wecon LX5V-N Ethernet communication ==
2403 -
2404 -(% 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.
2405 -
2406 -
2407 -**Software configuration of PLC**
2408 -
2409 -**1)PLC programming software**
2410 -
2411 -[[image:image-20220810164710-1.png]]
2412 -
2413 -**2)New PLC project**
2414 -
2415 -Click New Project and select the PLC model.
2416 -
2417 -[[image:image-20220811115454-1.png]]
2418 -
2419 -
2420 -**3)Set Ethernet port parameters**
2421 -
2422 -Follow the steps below to configure Ethernet parameters
2423 -
2424 -PLC IP address:192.168.39.200
2425 -
2426 -default gateway:192.168.39.1
2427 -
2428 -subnet mask:255.255.255.0
2429 -
2430 -[[image:image-20220811140530-2.png]]
2431 -
2432 -
2433 -**4)Registers list**
2434 -
2435 -[[image:image-20220811102219-3.png]]
2436 -
2437 -
2438 -**HMI software configuration**
2439 -
2440 -**1)HMI programming software**
2441 -
2442 - [[image:image-20220810171237-4.png]]
2443 -
2444 -**2)New HMI project**
2445 -
2446 -Click New Project and select the HMI model.
2447 -
2448 -[[image:image-20220810172010-5.png]]
2449 -
2450 -**3)Set communication port parameters**
2451 -
2452 -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.
2453 -
2454 -HMI IP address:192.168.39.201
2455 -
2456 -default gateway:192.168.39.1
2457 -
2458 -subnet mask:255.255.255.0
2459 -
2460 -[[image:image-20220811170753-2.png]]
2461 -
2462 -Next, click Communication Settings to configure the IP of the HMI communication object.
2463 -
2464 -[[image:image-20220811163047-1.png]]
2465 -
2466 -**hardware connection**
2467 -
2468 -**1)Hardware wiring diagram**
2469 -
2470 -This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows:
2471 -
2472 -[[image:image-20220811170248-1.png]]
2473 -
2474 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC.
2475 -
2476 -
2477 2477  = **Printer** =
2478 2478  
2479 2479  == **TSPL label printer** ==
... ... @@ -2642,35 +2642,158 @@
2642 2642  **✎Note:** COM3 only available in PI8000/PI9000 series.
2643 2643  
2644 2644  
2645 -= **Schneider MODBUS RTU** =
2481 +== **1 HMI and Wecon LX5V serial communication** ==
2646 2646  
2647 -**HMI Setting**
2483 +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.
2648 2648  
2649 -|=**Parameters**|=**Recommended**|=**Notes**
2650 -|**Protocol**|(% colspan="1" %)Schneider MODBUS RTU|
2651 -|Connection|RS485|
2652 -|**Baud rate**|19200|
2653 -|**Data bit**|8|
2654 -|**Parity**|Even|
2655 -|**Stop bit**|1|
2656 -|**PLC station No.**|1|
2657 2657  
2658 -**PLC Setting**
2486 +**Software configuration of PLC**
2659 2659  
2660 -|=(% scope="row" %)**Communication mode**|Modbus RTU protocol
2488 +**1)PLC programming software**
2661 2661  
2662 -**Device Address**
2490 +[[image:image-20220810164710-1.png]]
2663 2663  
2664 -|=**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 coils
2667 -|B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal)
2668 -|W|MW|DDDDDD|0 ~~ 999999|Output register
2669 -|DW|MD|DDDDDD|0 ~~ 999999|Output register
2492 +**2)New PLC project**
2670 2670  
2671 -**Wiring Diagram**
2494 +Click New Project and select the PLC model.
2672 2672  
2673 -**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector.
2496 +[[image:image-20220810172412-1.png]]
2674 2674  
2675 -(% style="text-align:center" %)
2676 -[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
2498 +
2499 +**3)Set Serial port parameters**
2500 +
2501 +Follow the steps below to configure Serial port parameters
2502 +
2503 +Baud rate:115200
2504 +
2505 +Data bit:8
2506 +
2507 +Stop bit:1
2508 +
2509 +Parity:No verification
2510 +
2511 +[[image:image-20220810165759-3.png]]
2512 +
2513 +
2514 +**4)Registers list**
2515 +
2516 +[[image:image-20220811102219-3.png]]
2517 +
2518 +
2519 +**HMI software configuration**
2520 +
2521 +**1)HMI programming software**
2522 +
2523 + [[image:image-20220810171237-4.png]]
2524 +
2525 +**2)New HMI project**
2526 +
2527 +Click New Project and select the HMI model.
2528 +
2529 +[[image:image-20220810172010-5.png]]
2530 +
2531 +**3)Set communication port parameters**
2532 +
2533 +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.
2534 +
2535 +Baud rate:115200
2536 +
2537 +Data bit:8
2538 +
2539 +Stop bit:1
2540 +
2541 +Parity:No verification
2542 +
2543 +
2544 +[[image:image-20220811104012-1.png]]
2545 +
2546 +
2547 +**hardware connection**
2548 +
2549 +**1)Hardware wiring diagram**
2550 +
2551 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
2552 +
2553 +[[image:image-20220811103005-4.png]]
2554 +
2555 +
2556 +[[image:image-20220811103227-7.png]]
2557 +
2558 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
2559 +
2560 +
2561 +== **2. HMI and Wecon LX5V-N Ethernet communication** ==
2562 +
2563 +(% 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.
2564 +
2565 +
2566 +**Software configuration of PLC**
2567 +
2568 +**1)PLC programming software**
2569 +
2570 +[[image:image-20220810164710-1.png]]
2571 +
2572 +**2)New PLC project**
2573 +
2574 +Click New Project and select the PLC model.
2575 +
2576 +[[image:image-20220811115454-1.png]]
2577 +
2578 +
2579 +**3)Set Ethernet port parameters**
2580 +
2581 +Follow the steps below to configure Ethernet parameters
2582 +
2583 +PLC IP address:192.168.39.200
2584 +
2585 +default gateway:192.168.39.1
2586 +
2587 +subnet mask:255.255.255.0
2588 +
2589 +[[image:image-20220811140530-2.png]]
2590 +
2591 +
2592 +**4)Registers list**
2593 +
2594 +[[image:image-20220811102219-3.png]]
2595 +
2596 +
2597 +**HMI software configuration**
2598 +
2599 +**1)HMI programming software**
2600 +
2601 + [[image:image-20220810171237-4.png]]
2602 +
2603 +**2)New HMI project**
2604 +
2605 +Click New Project and select the HMI model.
2606 +
2607 +[[image:image-20220810172010-5.png]]
2608 +
2609 +**3)Set communication port parameters**
2610 +
2611 +Click the project setting button on the left to configure the IP address of the HMI machine, and maintain a local area network with the PLC IP.
2612 +
2613 +PLC IP address:192.168.39.201
2614 +
2615 +default gateway:192.168.39.1
2616 +
2617 +subnet mask:255.255.255.0
2618 +
2619 +[[image:image-20220811163943-2.png]]
2620 +
2621 +Next, click Communication Settings to configure the IP of the HMI communication object.
2622 +
2623 +
2624 +[[image:image-20220811163047-1.png]]
2625 +
2626 +**hardware connection**
2627 +
2628 +**1)Hardware wiring diagram**
2629 +
2630 +This example introduces WeconHMI with LX5V PLC to establish communication through serial port. The connection diagram is as follows:
2631 +
2632 +
2633 +
2634 +
2635 +The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC.
S7-XXXCommunication Settings.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -32.6 KB
Content
S7-XXXCommunication SettingsPI.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -24.6 KB
Content
S7-XXXCommunication SettingsPIStudio.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -24.9 KB
Content
SiemensLOGODeviceIP.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -24.9 KB
Content
image-20220811170248-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -91.7 KB
Content
image-20220811170753-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -154.4 KB
Content
image-20220817154212-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -51.8 KB
Content