Changes for page 12 PLC Protocol OLD

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

From version 84.1
edited by Ben
on 2022/08/29 14:34
Change comment: There is no comment for this version
To version 87.1
edited by Ben
on 2022/08/29 14:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -922,102 +922,6 @@
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 -== **LOGO Ethernet** ==
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 1021  == **S7-XXX Ethernet** ==
1022 1022  
1023 1023  Supported Series: Siemens S7-400, S7-1200 and S7-1500
... ... @@ -1144,6 +1144,101 @@
1144 1144  
1145 1145  [[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"]]
1146 1146  
1051 +== (% id="cke_bm_25456S" style="display:none" %)** **(%%)**LOGO Ethernet** ==
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 +
1147 1147  = Create communication with **Mitsubishi** =
1148 1148  
1149 1149  == **FX1S, 1N, 2N Series** ==