Changes for page 12 PLC Protocol OLD

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

From version 96.1
edited by Ben
on 2022/08/29 15:40
Change comment: There is no comment for this version
To version 83.1
edited by Ben
on 2022/08/29 14:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -594,9 +594,9 @@
594 594  |N|ffff|N0 ~~ FFFF
595 595  |F|ffff|F0 ~~ FFFF
596 596  
597 -= Create communication with (% id="cke_bm_43878S" style="display:none" %)** **(%%)**Siemens** =
597 += (% id="cke_bm_43878S" style="display:none" %)** **(%%)**Siemens** =
598 598  
599 -== **S7-200 Smart Ethernet Protocol** ==
599 +== **S7-200 Smart Ethernet** ==
600 600  
601 601  Supported Series: Siemens S7-200 SMART Series Ethernet Module.
602 602  
... ... @@ -687,7 +687,7 @@
687 687  (% style="text-align:center" %)
688 688  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
689 689  
690 -== **S7-300 Ethernet Protocol** ==
690 +== **S7-300 Ethernet** ==
691 691  
692 692  Supported Series: Siemens S7-300 series PLC
693 693  
... ... @@ -763,7 +763,7 @@
763 763  (% style="text-align:center" %)
764 764  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
765 765  
766 -== **S7-1200 Ethernet Protocol** ==
766 +== **S7-1200 Ethernet** ==
767 767  
768 768  Supported Series: Siemens S7-1200
769 769  
... ... @@ -922,8 +922,104 @@
922 922  (% style="text-align:center" %)
923 923  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
924 924  
925 -== **S7-XXX Ethernet Protocol** ==
925 +== **LOGO Ethernet** ==
926 926  
927 +Supported Series: Siemens Logo 0BA0 series
928 +
929 +**HMI Settings**
930 +
931 +(% class="table-bordered" %)
932 +|**Items**|**Settings**|**Note**
933 +|Protocol|Siemens LOGO|
934 +|Connection|Ethernet|
935 +|Port No.|102|
936 +|PLC station No.|2|
937 +
938 +**Address List**
939 +
940 +(% class="table-bordered" %)
941 +|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
942 +|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
943 +|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
944 +|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
945 +|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
946 +|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
947 +|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
948 +|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
949 +|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
950 +|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
951 +|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
952 +|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
953 +|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
954 +|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
955 +|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
956 +|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
957 +
958 +**PLC Settings in LOGO Software:**
959 +
960 +Click [Tools]~-~-[Ethernet Connections],shown as below.
961 +
962 +(% style="text-align:center" %)
963 +[[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]]
964 +
965 +Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
966 +
967 +(% style="text-align:center" %)
968 +[[image:12.PLC Protocol_html_6c4dd041b26cd8a1.png||data-xwiki-image-style-alignment="center" height="481" width="363" class="img-thumbnail"]]
969 +
970 +**TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below.
971 +
972 +(% style="text-align:center" %)
973 +[[image:12.PLC Protocol_html_7af2611d3790a77d.png||data-xwiki-image-style-alignment="center" height="359" width="426" class="img-thumbnail"]]
974 +
975 +**Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download.
976 +
977 +(% style="text-align:center" %)
978 +[[image:12.PLC Protocol_html_3243e4cd600595cc.png||data-xwiki-image-style-alignment="center" height="368" width="554" class="img-thumbnail"]]
979 +
980 +
981 +(% style="text-align:center" %)
982 +[[image:12.PLC Protocol_html_cb1d92e2cc91a8db.png||data-xwiki-image-style-alignment="center" height="320" width="553" class="img-thumbnail"]]
983 +
984 +
985 +**HMI Communication Settings**
986 +
987 +Set PLC IP in [Device IP] settings;
988 +
989 +(% style="text-align:center" %)
990 +[[image:SiemensLOGODeviceIP.png]]
991 +
992 +Enable HMI Ethernet in [Project Settings];
993 +
994 +(% style="text-align:center" %)
995 +[[image:12.PLC Protocol_html_95917a3d92068467.png||data-xwiki-image-style-alignment="center" height="311" width="553" class="img-thumbnail"]]
996 +
997 +TSAP setting
998 +
999 +* Regarding the setting of PLC TSAP, HMI provides system special address for setting, it is recommended to run in HMI script initialization, write PLC TSAP to corresponding system special register.
1000 +* HSW10118 = local TSAP of HMI, this is remote TSAP of PLC.
1001 +* HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC.
1002 +
1003 +**✎Note:**
1004 +
1005 +* The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118 should be set to 0x2000, that is, HSW10118 = 8192.
1006 +
1007 +(% style="text-align:center" %)
1008 +[[image:12.PLC Protocol_html_5c6374b21f46e01e.png||data-xwiki-image-style-alignment="center" height="139" width="498" class="img-thumbnail"]]
1009 +
1010 +
1011 +* AI word address and Ibit address are read-only and cannot be written on HMI.
1012 +* VW address should be even number.such as VW0, VW2, VW4...
1013 +* VD address it takes two VW addresses.such as VD0,VD4,VD8...
1014 +* Written value of RTC cannot exceed 255.
1015 +
1016 +**Cable Wiring**
1017 +
1018 +(% style="text-align:center" %)
1019 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
1020 +
1021 +== **S7-XXX Ethernet** ==
1022 +
927 927  Supported Series: Siemens S7-400, S7-1200 and S7-1500
928 928  
929 929  **HMI Setting**
... ... @@ -1046,106 +1046,11 @@
1046 1046  
1047 1047  **Cable Wiring**
1048 1048  
1049 -[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1145 +{{id name="OLE_LINK8"/}}
1050 1050  
1051 -== (% id="cke_bm_25456S" style="display:none" %)** **(%%)**LOGO Ethernet Protocol** ==
1052 -
1053 -Supported Series: Siemens Logo 0BA0 series
1054 -
1055 -**HMI Settings**
1056 -
1057 -(% class="table-bordered" %)
1058 -|**Items**|**Settings**|**Note**
1059 -|Protocol|Siemens LOGO|
1060 -|Connection|Ethernet|
1061 -|Port No.|102|
1062 -|PLC station No.|2|
1063 -
1064 -**Address List**
1065 -
1066 -(% class="table-bordered" %)
1067 -|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
1068 -|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
1069 -|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
1070 -|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
1071 -|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
1072 -|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
1073 -|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
1074 -|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
1075 -|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
1076 -|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
1077 -|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
1078 -|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
1079 -|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
1080 -|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
1081 -|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
1082 -|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
1083 -
1084 -**PLC Settings in LOGO Software:**
1085 -
1086 -Click [Tools]~-~-[Ethernet Connections],shown as below.
1087 -
1088 -(% style="text-align:center" %)
1089 -[[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]]
1090 -
1091 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
1092 -
1093 -(% style="text-align:center" %)
1094 -[[image:12.PLC Protocol_html_6c4dd041b26cd8a1.png||data-xwiki-image-style-alignment="center" height="481" width="363" class="img-thumbnail"]]
1095 -
1096 -**TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below.
1097 -
1098 -(% style="text-align:center" %)
1099 -[[image:12.PLC Protocol_html_7af2611d3790a77d.png||data-xwiki-image-style-alignment="center" height="359" width="426" class="img-thumbnail"]]
1100 -
1101 -**Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download.
1102 -
1103 -(% style="text-align:center" %)
1104 -[[image:12.PLC Protocol_html_3243e4cd600595cc.png||data-xwiki-image-style-alignment="center" height="368" width="554" class="img-thumbnail"]]
1105 -
1106 -
1107 -(% style="text-align:center" %)
1108 -[[image:12.PLC Protocol_html_cb1d92e2cc91a8db.png||data-xwiki-image-style-alignment="center" height="320" width="553" class="img-thumbnail"]]
1109 -
1110 -
1111 -**HMI Communication Settings**
1112 -
1113 -Set PLC IP in [Device IP] settings;
1114 -
1115 -(% style="text-align:center" %)
1116 -[[image:SiemensLOGODeviceIP.png]]
1117 -
1118 -Enable HMI Ethernet in [Project Settings];
1119 -
1120 -(% style="text-align:center" %)
1121 -[[image:12.PLC Protocol_html_95917a3d92068467.png||data-xwiki-image-style-alignment="center" height="311" width="553" class="img-thumbnail"]]
1122 -
1123 -TSAP setting
1124 -
1125 -* Regarding the setting of PLC TSAP, HMI provides system special address for setting, it is recommended to run in HMI script initialization, write PLC TSAP to corresponding system special register.
1126 -* HSW10118 = local TSAP of HMI, this is remote TSAP of PLC.
1127 -* HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC.
1128 -
1129 -**✎Note:**
1130 -
1131 -* The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118 should be set to 0x2000, that is, HSW10118 = 8192.
1132 -
1133 -(% style="text-align:center" %)
1134 -[[image:12.PLC Protocol_html_5c6374b21f46e01e.png||data-xwiki-image-style-alignment="center" height="139" width="498" class="img-thumbnail"]]
1135 -
1136 -
1137 -* AI word address and Ibit address are read-only and cannot be written on HMI.
1138 -* VW address should be even number.such as VW0, VW2, VW4...
1139 -* VD address it takes two VW addresses.such as VD0,VD4,VD8...
1140 -* Written value of RTC cannot exceed 255.
1141 -
1142 -**Cable Wiring**
1143 -
1144 -[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1145 -
1146 1146  = Create communication with **Mitsubishi** =
1147 1147  
1148 -== **FX1S, 1N, 2N Series Protocol** ==
1149 +== **FX1S, 1N, 2N Series** ==
1149 1149  
1150 1150  Supported Series: Mitsubishi FX1S, FX1N, FX2N series
1151 1151  
... ... @@ -1198,7 +1198,7 @@
1198 1198  
1199 1199  **✎Note:** COM3 only available in PI8000/PI9000 series.
1200 1200  
1201 -== **FX5U Ethernet Protocol** ==
1202 +== **FX5U Ethernet** ==
1202 1202  
1203 1203  Mitsubishi FX5U series PLC
1204 1204  
... ... @@ -1277,7 +1277,7 @@
1277 1277  (% style="text-align:center" %)
1278 1278  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
1279 1279  
1280 -== **FX5U Serial Port Protocol** ==
1281 +== **FX5U Serial Port** ==
1281 1281  
1282 1282  Mitsubishi FX5U series PLC
1283 1283  
... ... @@ -1369,7 +1369,7 @@
1369 1369  
1370 1370  **✎Note:** COM3 only available in PI8000/PI9000 series.
1371 1371  
1372 -== **L02 MELSEC (Ethernet) Protocol** ==
1373 +== **L02 MELSEC (Ethernet)** ==
1373 1373  
1374 1374  Mitsubishi Q series CPU built-in Ethernet port.
1375 1375  
... ... @@ -1454,7 +1454,7 @@
1454 1454  (% style="text-align:center" %)
1455 1455  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
1456 1456  
1457 -== **QJ71E71 MELSEC Protocol** ==
1458 +== **QJ71E71 MELSEC** ==
1458 1458  
1459 1459  Mitsubishi QJ71E71 Ethernet communication module;
1460 1460  
... ... @@ -1534,57 +1534,6 @@
1534 1534  (% style="text-align:center" %)
1535 1535  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
1536 1536  
1537 -(% class="wikigeneratedid" %)
1538 -= Create communication with **Delta PLC** =
1539 -
1540 -(% class="wikigeneratedid" %)
1541 -= **DVP serial protocol** =
1542 -
1543 -(% class="wikigeneratedid" %)
1544 -Supported Series: Delta DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX Controller
1545 -
1546 -**1)HMI Settings**
1547 -
1548 -|**Item**|**Settings**|**Note**
1549 -|Protocol|DELTA DVP Series|
1550 -|Connection|RS485|
1551 -|Baud rate|9600|
1552 -|Data bit|7|
1553 -|Parity|Even|
1554 -|Stop bit|1|
1555 -|PLC station No.|1~~255|Need to be the same as PLC settings
1556 -
1557 -**2)Address List**
1558 -
1559 -|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
1560 -|Bit|X|X|X d|0~~303237|
1561 -|Bit|Y|Y|Y d|0~~303237|
1562 -|Bit|M|M|M d|0~~99999|
1563 -|Bit|T|T|T d|0~~99999|
1564 -|Bit|C|C|T d|0~~99999|
1565 -|Bit|S|S|T d|0~~99999|
1566 -|Word|D|D|D d|0~~99999|
1567 -|Word|T|T|T d|0~~99999|
1568 -|Word|C|C|C d|0~~99999|
1569 -
1570 -(% class="wikigeneratedid" %)
1571 -**3)Configure the communication protocol**
1572 -
1573 -(% class="wikigeneratedid" %)
1574 -[[image:image-20220829152327-6.png]]
1575 -
1576 -(% class="wikigeneratedid" %)
1577 -[[image:image-20220829152016-3.png]]
1578 -
1579 -(% class="wikigeneratedid" %)
1580 -**4)Cable Wiring**
1581 -
1582 -(% class="wikigeneratedid" %)
1583 -= [[image:image-20220829152610-7.png]] =
1584 -
1585 -(% class="wikigeneratedid" %)
1586 -= [[image:image-20220829152102-5.png]] =
1587 -
1588 1588  = **MODBUS** =
1589 1589  
1590 1590  == **MODBUS RTU Master** ==
... ... @@ -2270,6 +2270,559 @@
2270 2270  
2271 2271  **✎Note:** COM3 only available in PI8000/PI9000 series.
2272 2272  
2223 += **Siemens** =
2224 +
2225 +== **S7-200 Smart Ethernet** ==
2226 +
2227 +Supported Series: Siemens S7-200 SMART Series Ethernet Module.
2228 +
2229 +Website: [[http:~~/~~/www.siemens.com/entry/cc/en/>>url:http://www.siemens.com/entry/cc/en/]]
2230 +
2231 +**HMI Setting**
2232 +
2233 +(% class="table-bordered" %)
2234 +|**Items**|**Settings**|**Note**
2235 +|Protocol|Simens S7-200 Smart Ethernet|
2236 +|Connection|Ethernet|
2237 +|Port No.|102|
2238 +|PLC station No.|2|
2239 +
2240 +**Address List**
2241 +
2242 +(% class="table-bordered" %)
2243 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
2244 +|(% rowspan="9" %)Bit|I|I|I ddddd.o|0.0~~99999.7|
2245 +|Q|Q|Q ddddd.o|0.0~~99999.7|
2246 +|V|VWbit|VWbit ddddd.o|0.0~~99999.7|
2247 +|V|V|V ddddd.o|0.0~~99999.7|
2248 +|M|M|M ddddd.o|0.0~~99999.7|
2249 +|SM|SM|ddddd.o|0.0~~99999.7|
2250 +|S|S|ddddd.o|0.0~~99999.7|Read only
2251 +|T|T|ddddd|0~~99999|Timer state, read only
2252 +|C|C|ddddd|0~~99999|Counter state, read only
2253 +|(% rowspan="12" %)Word|I|IW|IW ddddd|0~~99999|
2254 +|Q|QW|QW ddddd|0~~99999|
2255 +|AI|AIW|AIW ddddd|0~~99999|
2256 +|AQ|VB|VB ddddd|0~~99999|
2257 +|V|VW|VW ddddd|0~~99998|(((
2258 +VW0=VB (0~~1)
2259 +
2260 +VW2=VB (2~~3)
2261 +
2262 +Address value is a multiple of 2
2263 +)))
2264 +|V|VD|VD ddddd|0~~99998|(((
2265 +VD0=VB (0~~3)
2266 +
2267 +VD2=VB (4~~7)
2268 +
2269 +Address value is a multiple of 4
2270 +)))
2271 +|M|MB|MB ddddd|0~~99999|
2272 +|M|MW|MW ddddd|0~~99999|(((
2273 +MW0=MB(0~~1)
2274 +
2275 +MW2=MB(2~~3)
2276 +
2277 +Address value is a multiple of 2
2278 +)))
2279 +|M|MD|MD ddddd|0~~99999|(((
2280 +MD0=MB(0~~3)
2281 +
2282 +MD4=MB(4~~7)
2283 +
2284 +Address value is a multiple of 4
2285 +)))
2286 +|T|TW|TW ddddd|0~~99999|Value of timer
2287 +|C|CW|CW ddddd|0~~99999|Value of counter
2288 +|W|SW|SW ddddd|0~~99999|
2289 +
2290 +**Communication Settings**
2291 +
2292 +Enable HMI Ethernet in [Project Settings];
2293 +
2294 +(% style="text-align:center" %)
2295 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2296 +
2297 +Set PLC IP in [Device IP] settings;
2298 +
2299 +(% style="text-align:center" %)
2300 +[[image:12.PLC Protocol_html_70b0c4c2ee21b10d.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2301 +
2302 +* PLC IP Address: PLC IP
2303 +* PLC pot No.: 102(fixed)
2304 +* Network:TCP_Client_2N(fixed)
2305 +
2306 +(% style="text-align:center" %)
2307 +[[image:12.PLC Protocol_html_5891afd92901b7ad.png||data-xwiki-image-style-alignment="center" height="276" width="347" class="img-thumbnail"]]
2308 +
2309 +* Wait timeout: depend on actual network situation (more than 1500 ms)
2310 +
2311 +**Cable Wiring**
2312 +
2313 +(% style="text-align:center" %)
2314 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2315 +
2316 +== **S7-300 Ethernet** ==
2317 +
2318 +Supported Series: Siemens S7-300 series PLC
2319 +
2320 +**HMI Setting**
2321 +
2322 +(% class="table-bordered" %)
2323 +|**Items**|**Settings**|**Note**
2324 +|Protocol|Simens S7-300 Ethernet|
2325 +|Connection|Ethernet|
2326 +|Port No.|102|
2327 +|PLC station No.|2|Need to be same as the PLC setting
2328 +
2329 +**Address List**
2330 +
2331 +(% class="table-bordered" %)
2332 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
2333 +|(% rowspan="4" %)Bit|I|I|I ddddd.o|0.0~~99999.7|
2334 +|Q|Q|Q ddddd.o|0.0~~99999.7|
2335 +|M|M|M ddddd.o|0.0~~99999.7|
2336 +|DB0.DB~~DB99.DB|DBxDBD|DBxDB nndddd.o|0.0~~99999999.7|(((
2337 +nn: block number;
2338 +
2339 +dddd: address;
2340 +)))
2341 +|(% rowspan="8" %)Word|I|IW|IW ddddd|0~~99999|
2342 +|Q|QW|QW ddddd|0~~99999|
2343 +|(% rowspan="3" %)M|MB|MB ddddd|0~~99999|
2344 +|MW|MW ddddd|0~~99999|(((
2345 +MW0=MB(0~~1)
2346 +
2347 +MW2=MB(2~~3)
2348 +
2349 +Address value is a multiple of 2
2350 +)))
2351 +|MD|MD ddddd|0~~99999|(((
2352 +MD0=MB(0~~3)
2353 +
2354 +MD4=MB(4~~7)
2355 +
2356 +Address value is a multiple of 4
2357 +)))
2358 +|(% rowspan="3" %)DB0.DB~~DB99.DB|DBxDBB|DBxDBB nndddd|0~~99999999|(% rowspan="3" %)(((
2359 +nn: block number;
2360 +
2361 +dddd: address
2362 +)))
2363 +|DBxDBW|DBxDBW nndddd|0~~99999999
2364 +|DBxDBD|DBxDBD nndddd|0~~99999999
2365 +
2366 +**Communication Settings**
2367 +
2368 +Enable HMI Ethernet in [Project Settings];
2369 +
2370 +(% style="text-align:center" %)
2371 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2372 +
2373 +Set PLC IP in [Device IP] settings;
2374 +
2375 +(% style="text-align:center" %)
2376 +[[image:12.PLC Protocol_html_910b1a0aa9e2201c.png||data-xwiki-image-style-alignment="center" height="188" width="554" class="img-thumbnail"]]
2377 +
2378 +* PLC IP Address: PLC IP
2379 +* PLC pot No.: 102(fixed)
2380 +* Network:TCP_Client_2N(fixed)
2381 +
2382 +(% style="text-align:center" %)
2383 +[[image:12.PLC Protocol_html_5891afd92901b7ad.png||data-xwiki-image-style-alignment="center" height="276" width="347" class="img-thumbnail"]]
2384 +
2385 +* Wait timeout: depend on actual network situation (more than 1500 ms)
2386 +
2387 +**Cable Wiring**
2388 +
2389 +(% style="text-align:center" %)
2390 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2391 +
2392 +== **S7-1200 Ethernet** ==
2393 +
2394 +Supported Series: Siemens S7-1200
2395 +
2396 +**HMI Setting**
2397 +
2398 +(% class="table-bordered" %)
2399 +|**Items**|**Settings**|**Note**
2400 +|Protocol|Siemens S7-1200|
2401 +|Connection|Ethernet|
2402 +|Port No.|102|
2403 +|PLC station No.|2|
2404 +
2405 +**Address List**
2406 +
2407 +(% class="table-bordered" %)
2408 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
2409 +|(% rowspan="4" %)Bit|I|I|M d.o|(((
2410 +d:0~-~-9999
2411 +
2412 +o:0-7
2413 +)))|
2414 +|Q|Q|Q d.o|(((
2415 +d:0~-~-9999
2416 +
2417 +o:0-7
2418 +)))|
2419 +|M|M|M d.o|(((
2420 +d:0~-~-9999
2421 +
2422 +o:0-7
2423 +)))|
2424 +|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|(((
2425 +nn:0-9999,
2426 +
2427 +dddd:0-9999,
2428 +
2429 +o:0-7
2430 +)))|(((
2431 +nn:DB No.
2432 +
2433 +dddd:address value
2434 +
2435 +o: digit address
2436 +)))
2437 +|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999|
2438 +|M|MW|MW d|d:0-99999|(((
2439 +MW0=MB(0~~1)
2440 +
2441 +MW2=MB(2~~3)
2442 +
2443 +Address value is a multiple of 2
2444 +)))
2445 +|M|MD|MD d|d:0-99999|(((
2446 +MD0=MB(0~~3)
2447 +
2448 +MD4=MB(4~~7)
2449 +
2450 +Address value is a multiple of 4
2451 +)))
2452 +|I|IW|IW d|d:0-99999|
2453 +|Q|QW|QW d|d:0-99999|
2454 +|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|(((
2455 +nn:0-9999
2456 +
2457 +dddd:0-9999
2458 +)))|(((
2459 +nn:DB No.
2460 +
2461 +dddd:address value
2462 +)))
2463 +|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|(((
2464 +nn:0-9999
2465 +
2466 +dddd:0-9999
2467 +)))|(((
2468 +nn:DB No.
2469 +
2470 +dddd:address value
2471 +
2472 +Address value is a multiple of 2
2473 +)))
2474 +|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|(((
2475 +nn:0-9999
2476 +
2477 +dddd:0-9999
2478 +)))|(((
2479 +nn:DB No.
2480 +
2481 +dddd:address value
2482 +
2483 +Address value is a multiple of 4
2484 +)))
2485 +
2486 +**Communication Settings**
2487 +
2488 +Enable HMI Ethernet in [Project Settings];
2489 +
2490 +(% style="text-align:center" %)
2491 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2492 +
2493 +Set PLC IP in [Device IP] settings;
2494 +
2495 +(% style="text-align:center" %)
2496 +[[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2497 +
2498 +**✎Note:**
2499 +
2500 +* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens.
2501 +* HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200.
2502 +
2503 +**PLC Settings**
2504 +
2505 +Add BD
2506 +
2507 +* Please uncheck [Symbolic access only] option;
2508 +
2509 +(% style="text-align:center" %)
2510 +[[image:12.PLC Protocol_html_643144c591994418.png||data-xwiki-image-style-alignment="center" height="546" width="550" class="img-thumbnail"]]
2511 +
2512 +Address settings, using BD2 as example.
2513 +
2514 +* DB×DBB2xxxx, DB×DBW2xxxx, DB×DBD2xxxx for accessing data of DB2 in B1.
2515 +* 2 represent DB block number
2516 +* xxxx represent address
2517 +
2518 +**Such as:**
2519 +
2520 +* DBxDBB20000 = DB2.DBB0
2521 +* DBxDBW20004 = DB2.DBW4
2522 +
2523 +(% style="text-align:center" %)
2524 +[[image:12.PLC Protocol_html_87ceaea84d552e62.png||data-xwiki-image-style-alignment="center" height="245" width="537" class="img-thumbnail"]]
2525 +
2526 +**How to connect with S7-1200 Firmware V4.0**
2527 +
2528 +PLC configuration
2529 +
2530 +* Double click [device configuration] in Siemens via software
2531 +* Double click [protection] to enter protection configuration screen
2532 +
2533 +(% style="text-align:center" %)
2534 +[[image:12.PLC Protocol_html_9779940d38da8e07.png||data-xwiki-image-style-alignment="center" height="426" width="341" class="img-thumbnail"]]
2535 +
2536 +* Check [Permit access with PUT / GET communication from remote partner (PLC, HMI, OPC, ...)]
2537 +
2538 +(% style="text-align:center" %)
2539 +[[image:12.PLC Protocol_html_d2c667b02f9720b1.png||data-xwiki-image-style-alignment="center" height="296" width="554" class="img-thumbnail"]]
2540 +
2541 +DB settings
2542 +
2543 +* Right click [DB], select [properties]
2544 +* Uncheck [optimized block access]
2545 +
2546 +**Cable Wiring**
2547 +
2548 +(% style="text-align:center" %)
2549 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2550 +
2551 +== **LOGO Ethernet** ==
2552 +
2553 +Supported Series: Siemens Logo 0BA0 series
2554 +
2555 +**HMI Settings**
2556 +
2557 +(% class="table-bordered" %)
2558 +|**Items**|**Settings**|**Note**
2559 +|Protocol|Siemens LOGO|
2560 +|Connection|Ethernet|
2561 +|Port No.|102|
2562 +|PLC station No.|2|
2563 +
2564 +**Address List**
2565 +
2566 +(% class="table-bordered" %)
2567 +|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
2568 +|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
2569 +|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
2570 +|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
2571 +|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
2572 +|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
2573 +|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
2574 +|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
2575 +|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
2576 +|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
2577 +|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
2578 +|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
2579 +|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
2580 +|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
2581 +|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
2582 +|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
2583 +
2584 +**PLC Settings in LOGO Software:**
2585 +
2586 +Click [Tools]~-~-[Ethernet Connections],shown as below.
2587 +
2588 +(% style="text-align:center" %)
2589 +[[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]]
2590 +
2591 +Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
2592 +
2593 +(% style="text-align:center" %)
2594 +[[image:12.PLC Protocol_html_6c4dd041b26cd8a1.png||data-xwiki-image-style-alignment="center" height="481" width="363" class="img-thumbnail"]]
2595 +
2596 +**TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below.
2597 +
2598 +(% style="text-align:center" %)
2599 +[[image:12.PLC Protocol_html_7af2611d3790a77d.png||data-xwiki-image-style-alignment="center" height="359" width="426" class="img-thumbnail"]]
2600 +
2601 +**Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download.
2602 +
2603 +(% style="text-align:center" %)
2604 +[[image:12.PLC Protocol_html_3243e4cd600595cc.png||data-xwiki-image-style-alignment="center" height="368" width="554" class="img-thumbnail"]]
2605 +
2606 +
2607 +(% style="text-align:center" %)
2608 +[[image:12.PLC Protocol_html_cb1d92e2cc91a8db.png||data-xwiki-image-style-alignment="center" height="320" width="553" class="img-thumbnail"]]
2609 +
2610 +
2611 +**HMI Communication Settings**
2612 +
2613 +Set PLC IP in [Device IP] settings;
2614 +
2615 +(% style="text-align:center" %)
2616 +[[image:SiemensLOGODeviceIP.png]]
2617 +
2618 +Enable HMI Ethernet in [Project Settings];
2619 +
2620 +(% style="text-align:center" %)
2621 +[[image:12.PLC Protocol_html_95917a3d92068467.png||data-xwiki-image-style-alignment="center" height="311" width="553" class="img-thumbnail"]]
2622 +
2623 +TSAP setting
2624 +
2625 +* Regarding the setting of PLC TSAP, HMI provides system special address for setting, it is recommended to run in HMI script initialization, write PLC TSAP to corresponding system special register.
2626 +* HSW10118 = local TSAP of HMI, this is remote TSAP of PLC.
2627 +* HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC.
2628 +
2629 +**✎Note:**
2630 +
2631 +* The data of TSAP is hexadecimal format. For example: the remote TSAP configured in the PLC is set to 20.00, then HSW10118 should be set to 0x2000, that is, HSW10118 = 8192.
2632 +
2633 +(% style="text-align:center" %)
2634 +[[image:12.PLC Protocol_html_5c6374b21f46e01e.png||data-xwiki-image-style-alignment="center" height="139" width="498" class="img-thumbnail"]]
2635 +
2636 +
2637 +* AI word address and Ibit address are read-only and cannot be written on HMI.
2638 +* VW address should be even number.such as VW0, VW2, VW4...
2639 +* VD address it takes two VW addresses.such as VD0,VD4,VD8...
2640 +* Written value of RTC cannot exceed 255.
2641 +
2642 +**Cable Wiring**
2643 +
2644 +(% style="text-align:center" %)
2645 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2646 +
2647 +== **S7-XXX Ethernet** ==
2648 +
2649 +Supported Series: Siemens S7-400, S7-1200 and S7-1500
2650 +
2651 +**HMI Setting**
2652 +
2653 +(% class="table-bordered" style="width:823px" %)
2654 +|=**Items**|=(% style="width: 437px;" %)**Settings**|=(% style="width: 201px;" %)**Note**
2655 +|Protocol|(% style="width:437px" %)Siemens S7-XXX|(% style="width:201px" %)
2656 +|Connection|(% style="width:437px" %)Ethernet|(% style="width:201px" %)
2657 +|Port No.|(% style="width:437px" %)102|(% style="width:201px" %)
2658 +|Device No.|(% style="width:437px" %)Slot (Default 1 for S7-1500/ 2 for S7-1200/ 3 for S7-400)|(% style="width:201px" %)
2659 +|HMI No.|(% style="width:437px" %)Rack (Default as 0)|(% style="width:201px" %)
2660 +
2661 +Slot from TIA Portal is equal to Device No. of PIStudio
2662 +
2663 +Rack from TIA Portal is equal to HMI No. of PIStudio
2664 +
2665 +(% style="text-align:center" %)
2666 +[[image:S7-XXXCommunication Settings.png]]
2667 +
2668 +(% style="text-align:center" %)
2669 +[[image:S7-XXXCommunication SettingsPIStudio.png||alt="S7-XXXCommunication SettingsPI.png"]]
2670 +
2671 +**Address List**
2672 +
2673 +(% class="table-bordered" %)
2674 +|**Type**|**Device register**|**HMI register**|**Format**|**Range**|**Note**
2675 +|(% rowspan="4" %)Bit|I|I|M d.o|(((
2676 +d:0~-~-9999
2677 +
2678 +o:0-7
2679 +)))|
2680 +|Q|Q|Q d.o|(((
2681 +d:0~-~-9999
2682 +
2683 +o:0-7
2684 +)))|
2685 +|M|M|M d.o|(((
2686 +d:0~-~-9999
2687 +
2688 +o:0-7
2689 +)))|
2690 +|DB0.DB-DB99.DB|DBxDB|DBxDBnndddd.o|(((
2691 +nn:0-9999,
2692 +
2693 +dddd:0-9999,
2694 +
2695 +o:0-7
2696 +)))|(((
2697 +nn:DB No.
2698 +
2699 +dddd:address value
2700 +
2701 +o: digit address
2702 +)))
2703 +|(% rowspan="8" %)Word|M|MB|MB d|d:0-99999|
2704 +|M|MW|MW d|d:0-99999|(((
2705 +MW0=MB(0~~1)
2706 +
2707 +MW2=MB(2~~3)
2708 +
2709 +Address value is a multiple of 2
2710 +)))
2711 +|M|MD|MD d|d:0-99999|(((
2712 +MD0=MB(0~~3)
2713 +
2714 +MD4=MB(4~~7)
2715 +
2716 +Address value is a multiple of 4
2717 +)))
2718 +|I|IW|IW d|d:0-99999|
2719 +|Q|QW|QW d|d:0-99999|
2720 +|DB0.DB-DB99.DB|DBxDBB|DBxDBBnndddd|(((
2721 +nn:0-9999
2722 +
2723 +dddd:0-9999
2724 +)))|(((
2725 +nn:DB No.
2726 +
2727 +dddd:address value
2728 +)))
2729 +|DB0.DB-DB99.DB|DBxDBW|DBxDBWnndddd|(((
2730 +nn:0-9999
2731 +
2732 +dddd:0-9999
2733 +)))|(((
2734 +nn:DB No.
2735 +
2736 +dddd:address value
2737 +
2738 +Address value is a multiple of 2
2739 +)))
2740 +|DB0.DB-DB99.DB|DBxDBD|DBxDBDnndddd|(((
2741 +nn:0-9999
2742 +
2743 +dddd:0-9999
2744 +)))|(((
2745 +nn:DB No.
2746 +
2747 +dddd:address value
2748 +
2749 +Address value is a multiple of 4
2750 +)))
2751 +
2752 +**Communication Settings**
2753 +
2754 +Enable HMI Ethernet in [Project Settings];
2755 +
2756 +(% style="text-align:center" %)
2757 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-rounded img-thumbnail"]]
2758 +
2759 +Set PLC IP in [Device IP] settings;
2760 +
2761 +(% style="text-align:center" %)
2762 +[[image:12.PLC Protocol_html_f7b3eb9abda33833.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2763 +
2764 +**✎Note:**
2765 +
2766 +* The S7-1200 supports simultaneous connection of three devices, so the driver supports simultaneous access to PLC by three touch screens.
2767 +* HMI access PLC, use S7 protocol, access PLC TSAP 02.01 (s7-1200 PROFINET interface only supports three connections, the default support), detailed reference to the system manual of S7-1200.
2768 +
2769 +**Cable Wiring**
2770 +
2771 +{{id name="OLE_LINK8"/}}
2772 +
2773 +(% style="text-align:center" %)
2774 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2775 +
2273 2273  = **User Defined Protocol** =
2274 2274  
2275 2275  If the device does not support MODBUS standard, and the protocol is not list in PIStudio, then user can define the protocol by following instruction to realize simply communication functions like sending and receiving commands.
image-20220829151746-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -53.1 KB
Content
image-20220829151848-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -15.0 KB
Content
image-20220829152016-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -51.2 KB
Content
image-20220829152042-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -17.0 KB
Content
image-20220829152102-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -16.3 KB
Content
image-20220829152327-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -42.5 KB
Content
image-20220829152610-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ben
Size
... ... @@ -1,1 +1,0 @@
1 -55.5 KB
Content