Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
From version 20.1
edited by Ben
on 2022/08/11 17:11
on 2022/08/11 17:11
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Ben1 +XWiki.Stone - 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" %) ... ... @@ -2477,12 +2477,10 @@ 2477 2477 2478 2478 **✎Note:** COM3 only available in PI8000/PI9000 series. 2479 2479 2490 +== HMI and Wecon LX5V serial communication == 2480 2480 2481 -== **1 HMI and Wecon LX5V serial communication** == 2482 - 2483 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. 2484 2484 2485 - 2486 2486 **Software configuration of PLC** 2487 2487 2488 2488 **1)PLC programming software** ... ... @@ -2557,9 +2557,8 @@ 2557 2557 2558 2558 The above are all the steps for establishing serial port communication between Wecon HMI with LX5V PLC. 2559 2559 2568 +== HMI and Wecon LX5V-N Ethernet communication == 2560 2560 2561 -== **2. HMI and Wecon LX5V-N Ethernet communication** == 2562 - 2563 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 2564 2565 2565 ... ... @@ -2626,8 +2626,52 @@ 2626 2626 2627 2627 **1)Hardware wiring diagram** 2628 2628 2629 -This example introduces WeconHMI with LX5V PLC to establish communication through ethernet. The connection diagram is as follows: 2636 +This example introduces WeconHMI with LX5V-N PLC to establish communication through ethernet. The connection diagram is as follows: 2630 2630 2631 2631 [[image:image-20220811170248-1.png]] 2632 2632 2633 2633 The above are all the steps for establishing ethernet communication between Wecon HMI with LX5V PLC. 2641 + 2642 += **Schneider MODBUS RTU** = 2643 + 2644 +**HMI Setting** 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| 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 +**PLC Setting** 2659 + 2660 +|=(% scope="row" %)**Communication mode**|Modbus RTU protocol 2661 + 2662 +**Device Address** 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 coils 2667 +|=B|%MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) 2668 +|=B|%M|DDDDD|0 ~~ 65535|Output bit 2669 +|=B|%MW_Bit|DDDDDdd|0 ~~ 6553515|Output register bit (decimal) 2670 +|=B|1x|DDDDD|0 ~~ 65535|Input bit (read only) 2671 +|=B|0x_multi_coils|DDDDD|0 ~~ 65535|Write multiple coils 2672 +|=B|3x_Bit|DDDDDdd|0 ~~ 6553515|Input register bit (read only) 2673 +|=W|%MW|DDDDDD|0 ~~ 999999|Output register 2674 +|=DW|%MD|DDDDDD|0 ~~ 999999|Output register 2675 +|=W|3x|DDDDD|0 ~~ 65535|Input Register (read only) 2676 +|=DW|5x|DDDDD|0 ~~ 65535|4x double word swap 2677 +|=DW|6x|DDDDD|0 ~~ 65535|4x single word write 2678 + 2679 +**Wiring Diagram** 2680 + 2681 +**RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector. 2682 + 2683 +(% style="text-align:center" %) 2684 +[[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