Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- 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" %) ... ... @@ -1993,17 +1993,28 @@ 1993 1993 1994 1994 == **S7-XXX Ethernet** == 1995 1995 1996 -Supported Series: Siemens S7-1200 and S7-1500 1995 +Supported Series: Siemens S7-400, S7-1200 and S7-1500 1997 1997 1998 1998 **HMI Setting** 1999 1999 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)| 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" %) 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 + 2007 2007 **Address List** 2008 2008 2009 2009 (% class="table-bordered" %) ... ... @@ -2293,9 +2293,6 @@ 2293 2293 * **RS485** 2294 2294 2295 2295 (% style="text-align:center" %) 2296 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2297 - 2298 -(% style="text-align:center" %) 2299 2299 [[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2300 2300 2301 2301 * **RS422** ... ... @@ -2310,6 +2310,159 @@ 2310 2310 2311 2311 [[https:~~/~~/drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]] 2312 2312 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 + 2313 2313 = **Printer** = 2314 2314 2315 2315 == **TSPL label printer** == ... ... @@ -2478,155 +2478,35 @@ 2478 2478 **✎Note:** COM3 only available in PI8000/PI9000 series. 2479 2479 2480 2480 2481 -= =**1. HMI and WeconLX5V serialcommunication** ==2641 += **Schneider MODBUS RTU** = 2482 2482 2483 - 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.2643 +**HMI Setting** 2484 2484 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| 2485 2485 2486 -**S oftwareconfigurationof PLC**2654 +**PLC Setting** 2487 2487 2488 - **1)PLCprogrammingsoftware**2656 +|=(% scope="row" %)**Communication mode**|Modbus RTU protocol 2489 2489 2490 - [[image:image-20220810164710-1.png]]2658 +**Device Address** 2491 2491 2492 -**2)New PLC project** 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 2493 2493 2494 - Click New Project andselect the PLCmodel.2667 +**Wiring Diagram** 2495 2495 2496 - [[image:image-20220810172412-1.png]]2669 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector. 2497 2497 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 -== **2. HMI and Wecon LX5V-N Ethernet communication** == 2561 - 2562 -(% 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. 2563 - 2564 - 2565 -**Software configuration of PLC** 2566 - 2567 -**1)PLC programming software** 2568 - 2569 -[[image:image-20220810164710-1.png]] 2570 - 2571 -**2)New PLC project** 2572 - 2573 -Click New Project and select the PLC model. 2574 - 2575 -[[image:image-20220811115454-1.png]] 2576 - 2577 - 2578 -**3)Set Ethernet port parameters** 2579 - 2580 -Follow the steps below to configure Ethernet parameters 2581 - 2582 -PLC IP address:192.168.39.200 2583 - 2584 -default gateway:192.168.39.1 2585 - 2586 -subnet mask:255.255.255.0 2587 - 2588 -[[image:image-20220811140530-2.png]] 2589 - 2590 - 2591 -**4)Registers list** 2592 - 2593 -[[image:image-20220811102219-3.png]] 2594 - 2595 - 2596 -**HMI software configuration** 2597 - 2598 -**1)HMI programming software** 2599 - 2600 - [[image:image-20220810171237-4.png]] 2601 - 2602 -**2)New HMI project** 2603 - 2604 -Click New Project and select the HMI model. 2605 - 2606 -[[image:image-20220810172010-5.png]] 2607 - 2608 -**3)Set communication port parameters** 2609 - 2610 -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. 2611 - 2612 -HMI IP address:192.168.39.201 2613 - 2614 -default gateway:192.168.39.1 2615 - 2616 -subnet mask:255.255.255.0 2617 - 2618 -[[image:image-20220811170753-2.png]] 2619 - 2620 -Next, click Communication Settings to configure the IP of the HMI communication object. 2621 - 2622 -[[image:image-20220811163047-1.png]] 2623 - 2624 -**hardware connection** 2625 - 2626 -**1)Hardware wiring diagram** 2627 - 2628 -This example introduces WeconHMI with LX5V PLC to establish communication through ethernet. The connection diagram is as follows: 2629 - 2630 -[[image:image-20220811170248-1.png]] 2631 - 2632 -The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2671 +(% style="text-align:center" %) 2672 +[[image:image-20220817154212-1.jpeg||height="315" width="554" class="img-thumbnail"]]
- S7-XXXCommunication Settings.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.6 KB - Content
- S7-XXXCommunication SettingsPI.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.6 KB - Content
- S7-XXXCommunication SettingsPIStudio.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.9 KB - Content
- 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