Changes for page 12 PLC Protocol OLD

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

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

Summary

Details

Page properties
Content
... ... @@ -922,9 +922,100 @@
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 -== ==
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 +
927 927  (% 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" %)
928 928  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
929 929  
930 930  == **S7-XXX Ethernet** ==
... ... @@ -1053,100 +1053,6 @@
1053 1053  
1054 1054  [[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"]]
1055 1055  
1056 -== (% id="cke_bm_25456S" style="display:none" %)** **(%%)**LOGO Ethernet** ==
1057 -
1058 -Supported Series: Siemens Logo 0BA0 series
1059 -
1060 -**HMI Settings**
1061 -
1062 -(% class="table-bordered" %)
1063 -|**Items**|**Settings**|**Note**
1064 -|Protocol|Siemens LOGO|
1065 -|Connection|Ethernet|
1066 -|Port No.|102|
1067 -|PLC station No.|2|
1068 -
1069 -**Address List**
1070 -
1071 -(% class="table-bordered" %)
1072 -|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
1073 -|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
1074 -|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
1075 -|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
1076 -|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
1077 -|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
1078 -|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
1079 -|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
1080 -|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
1081 -|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
1082 -|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
1083 -|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
1084 -|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
1085 -|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
1086 -|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
1087 -|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
1088 -
1089 -**PLC Settings in LOGO Software:**
1090 -
1091 -Click [Tools]~-~-[Ethernet Connections],shown as below.
1092 -
1093 -(% style="text-align:center" %)
1094 -[[image:12.PLC Protocol_html_8b9d2322edf89519.png||data-xwiki-image-style-alignment="center" height="641" width="423" class="img-thumbnail"]]
1095 -
1096 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
1097 -
1098 -(% style="text-align:center" %)
1099 -[[image:12.PLC Protocol_html_6c4dd041b26cd8a1.png||data-xwiki-image-style-alignment="center" height="481" width="363" class="img-thumbnail"]]
1100 -
1101 -**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.
1102 -
1103 -(% style="text-align:center" %)
1104 -[[image:12.PLC Protocol_html_7af2611d3790a77d.png||data-xwiki-image-style-alignment="center" height="359" width="426" class="img-thumbnail"]]
1105 -
1106 -**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.
1107 -
1108 -(% style="text-align:center" %)
1109 -[[image:12.PLC Protocol_html_3243e4cd600595cc.png||data-xwiki-image-style-alignment="center" height="368" width="554" class="img-thumbnail"]]
1110 -
1111 -
1112 -(% style="text-align:center" %)
1113 -[[image:12.PLC Protocol_html_cb1d92e2cc91a8db.png||data-xwiki-image-style-alignment="center" height="320" width="553" class="img-thumbnail"]]
1114 -
1115 -
1116 -**HMI Communication Settings**
1117 -
1118 -Set PLC IP in [Device IP] settings;
1119 -
1120 -(% style="text-align:center" %)
1121 -[[image:SiemensLOGODeviceIP.png]]
1122 -
1123 -Enable HMI Ethernet in [Project Settings];
1124 -
1125 -(% style="text-align:center" %)
1126 -[[image:12.PLC Protocol_html_95917a3d92068467.png||data-xwiki-image-style-alignment="center" height="311" width="553" class="img-thumbnail"]]
1127 -
1128 -TSAP setting
1129 -
1130 -* 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.
1131 -* HSW10118 = local TSAP of HMI, this is remote TSAP of PLC.
1132 -* HSW10119 = Remote TSAP of HMI, this is local TSAP of PLC.
1133 -
1134 -**✎Note:**
1135 -
1136 -* 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.
1137 -
1138 -(% style="text-align:center" %)
1139 -[[image:12.PLC Protocol_html_5c6374b21f46e01e.png||data-xwiki-image-style-alignment="center" height="139" width="498" class="img-thumbnail"]]
1140 -
1141 -
1142 -* AI word address and Ibit address are read-only and cannot be written on HMI.
1143 -* VW address should be even number.such as VW0, VW2, VW4...
1144 -* VD address it takes two VW addresses.such as VD0,VD4,VD8...
1145 -* Written value of RTC cannot exceed 255.
1146 -
1147 -**Cable Wiring**
1148 -
1149 -
1150 1150  = Create communication with **Mitsubishi** =
1151 1151  
1152 1152  == **FX1S, 1N, 2N Series** ==