Changes for page 12 Clock operation
Last modified by Mora Zhou on 2023/11/21 17:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -919,7 +919,7 @@ 919 919 920 920 • The measurement stops when the current value reaches the 16-bit maximum. To continue the measurement, clear the current value of (d1) to (d1)+1. 921 921 922 -✎**Note :**922 +✎**Note** 923 923 924 924 • The device specified in (d1) occupies 2 points. Be careful not to overlap with the device used for machine control. 925 925 ... ... @@ -932,14 +932,15 @@ 932 932 |4086H|When writing the specified device range exceeds the corresponding device range 933 933 |4084H|When the value of (s) is negative 934 934 935 + 936 + 935 935 **Example** 936 936 937 -(% style="text-align:center" %) 938 -[[image:07-5 Basic instructions_html_7570f8c392470a9f.png||height="45" width="320"]] 939 +[[image:07-5 Basic instructions_html_7570f8c392470a9f.png]] 939 939 940 940 When M0 = ON, the duration of the state is accumulated, the time is recorded in D0, and the seconds less than 1 hour are recorded in D1. When the accumulated time of D0 reaches 98 hours, the Y0 output state is ON. When the timing conditions are met, after reaching the specified value (K98), the accumulated timing will continue and the reading will continue to increase; the current time value D0 reaches the maximum value of 32767 hours and D1 reaches 3599 seconds, the timing measurement will stop. The current time values D0 and D1 are cleared to 0. 941 941 942 -== **DHOUR/Hour measuring 32 bits** ==943 +{{id name="_Toc8523"/}}{{id name="_Toc9364"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DHOUR/Hour measuring 32 bits** 943 943 944 944 **DHOUR(P)** 945 945 ... ... @@ -951,7 +951,9 @@ 951 951 952 952 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 953 953 |(s)|((( 954 -The time when the alarm (d2) is turned ON (set by one hour) 955 +The time when the alarm (d2) is turned ON 956 + 957 +(set by one hour) 955 955 )))|0 to 2147483647|Signed BIN 32 bit|ANY32 956 956 |(d1)|Device that stores the current value of measurement (specified data register for power failure retention)|-|Unsigned BIN 32 bit|((( 957 957 ANY32_ARRAY ... ... @@ -962,15 +962,19 @@ 962 962 963 963 **Device used** 964 964 965 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="18" %)**Devices**|((( 966 -**Offset modification** 968 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 969 +**Offset** 970 + 971 +**modification** 967 967 )))|((( 968 -**Pulse extension** 973 +**Pulse** 974 + 975 +**extension** 969 969 ))) 970 -|**Y**|**M**|**S**|**SM**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 971 -|(% rowspan="3" %)DHOUR|Parameter 1| | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 972 -|Parameter 2| | | | | | | | | | | |●|●|●| | | | |●|● 973 -|Parameter 3|●|●|●|●|●| | | | | | | | | | | | | |●|● 977 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 978 +|(% rowspan="3" %)DHOUR|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 979 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 980 +|Parameter 3| |●|●|●|●| | | | |●| | | | | | | | | | | | | | |●|● 974 974 975 975 **Features** 976 976 ... ... @@ -992,7 +992,7 @@ 992 992 993 993 • The measurement stops when the current value reaches the 32-bit maximum. To continue the measurement, clear the current value of (d1) to (d1)+2. 994 994 995 -✎**Note :**1002 +✎**Note** 996 996 997 997 • The device specified in (d1) occupies 3 points. Be careful not to overlap with the device used for machine control. 998 998 ... ... @@ -1005,16 +1005,17 @@ 1005 1005 |4086H|When writing the specified device range exceeds the corresponding device range 1006 1006 |4084H|When the value of (s) is negative 1007 1007 1015 + 1016 + 1008 1008 **Example** 1009 1009 1010 -(% style="text-align:center" %) 1011 -[[image:07-5 Basic instructions_html_3f1ef5ecc835de30.png||height="43" width="448"]] 1019 +[[image:07-5 Basic instructions_html_3f1ef5ecc835de30.png]] 1012 1012 1013 1013 When M0=ON, the duration of this state is accumulated, the time is recorded in D1, D0, and the seconds less than 1 hour are recorded in D2. When the accumulated time of D1, D0 reaches 1000 hours, the Y0 output state is ON. When the timing conditions are met, after reaching the specified value (K1000), the accumulated timing will continue, and the reading will continue to increase; the current time values D1 and D0 reach the maximum value of 2147483647 hours, and when D2 reaches 3599 seconds, the timing measurement will stop and the timing should be restarted. The current time values D0, D1, and D2 must be cleared to 0. 1014 1014 1015 - ==**STOH/16-bit data conversion of time data (second → hour, minute, second)**==1023 +**{{id name="_Toc11629"/}}STOH/16-bit data conversion of time data (second → hour, minute, second)** 1016 1016 1017 -**STOH(P)** 1025 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **STOH(P)** 1018 1018 1019 1019 Convert the second 16-bit data stored in the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1020 1020 ... ... @@ -1023,35 +1023,39 @@ 1023 1023 **Content, range and data type** 1024 1024 1025 1025 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1026 -|(s)|The device start number that stores the clock data before conversion|0 to 32767|Signed BIN 16 bit|ANY16 1034 +|(s)|{{id name="OLE_LINK353"/}}The device start number that stores the clock data before conversion|0 to 32767|Signed BIN 16 bit|ANY16 1027 1027 |(d)|The device start number that stores the converted clock data|-|Signed BIN 16 bit|((( 1028 -ANY16_ARRAY (number of elements: 3) 1036 +ANY16_ARRAY 1037 + 1038 +(number of elements: 3) 1029 1029 ))) 1030 1030 1031 1031 **Device used** 1032 1032 1033 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 1034 -**Offset modification** 1043 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1044 +**Offset** 1045 + 1046 +**modification** 1035 1035 )))|((( 1036 -**Pulse extension** 1048 +**Pulse** 1049 + 1050 +**extension** 1037 1037 ))) 1038 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1039 -|(% rowspan="2" %)STOH|Parameter 1|●|●|●|●|●|●|●|●|●|●|● 1040 -|Parameter 2| |●|●|●|●|●|●|●|●|●|● 1052 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1053 +|(% rowspan="2" %)STOH|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 1054 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1041 1041 1042 1042 **Features** 1043 1043 1044 1044 Convert the second data stored after the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1045 1045 1046 -(% style="text-align:center" %) 1047 -[[image:07-5 Basic instructions_html_1f5f3f1d80af2a34.png||height="110" width="550"]] 1060 +[[image:07-5 Basic instructions_html_1f5f3f1d80af2a34.png]] 1048 1048 1049 1049 **Example** 1050 1050 1051 1051 When 29,011 seconds are specified in (s) 1052 1052 1053 -(% style="text-align:center" %) 1054 -[[image:07-5 Basic instructions_html_682516cbf773f515.png||height="163" width="550"]] 1066 +[[image:07-5 Basic instructions_html_682516cbf773f515.png]] 1055 1055 1056 1056 **Error code** 1057 1057 ... ... @@ -1062,19 +1062,17 @@ 1062 1062 1063 1063 **Example** 1064 1064 1065 -(% style="text-align:center" %) 1066 -[[image:07-5 Basic instructions_html_e783349d57adf7d2.png||height="47" width="350"]] 1077 +[[image:07-5 Basic instructions_html_e783349d57adf7d2.png]] 1067 1067 1068 1068 Set D0 seconds to 12537 1069 1069 1070 1070 The hour, minute and second of D10 after the M0 coil is turned on are 1071 1071 1072 -(% style="text-align:center" %) 1073 -[[image:07-5 Basic instructions_html_d3c33949e8684891.png||height="52" width="645"]] 1083 +[[image:07-5 Basic instructions_html_d3c33949e8684891.png]] 1074 1074 1075 -= =**DSTOH/32-bit data conversion of time data (second → hour, minute, second)**==1085 +{{id name="_Toc10764"/}}{{id name="_Toc30243"/}}**DSTOH/32-bit data conversion of time data (second → hour, minute, second)** 1076 1076 1077 -**DSTOH(P)** 1087 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DSTOH(P)** 1078 1078 1079 1079 Convert the second 32-bit data of second stored in the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1080 1080 ... ... @@ -1085,33 +1085,37 @@ 1085 1085 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1086 1086 |(s)|The device start number that stores the clock data before conversion|0 to 117964799|Signed BIN 32 bit|ANY32 1087 1087 |(d)|The device start number that stores the converted clock data|-|Signed BIN 16 bit|((( 1088 -ANY16_ARRAY (number of elements: 3) 1098 +ANY16_ARRAY 1099 + 1100 +(number of elements: 3) 1089 1089 ))) 1090 1090 1091 1091 **Device used** 1092 1092 1093 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="9" %)**Devices**|((( 1094 -**Offset modification** 1105 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1106 +**Offset** 1107 + 1108 +**modification** 1095 1095 )))|((( 1096 -**Pulse extension** 1110 +**Pulse** 1111 + 1112 +**extension** 1097 1097 ))) 1098 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1099 -|(% rowspan="2" %)DSTOH|Parameter 1|●|●|●|●|●|●|●|●|●|●|● 1100 -|Parameter 2| |●|●|●|●|●|●|●|●|●|● 1114 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1115 +|(% rowspan="2" %)DSTOH|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 1116 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1101 1101 1102 1102 **Features** 1103 1103 1104 1104 Convert the second data stored after the device number specified in (s) into hour, minute, and second, and store the conversion result in the device specified in (d) and later. 1105 1105 1106 -(% style="text-align:center" %) 1107 -[[image:07-5 Basic instructions_html_cbf13fc3d10fbe61.png||height="99" width="600"]] 1122 +[[image:07-5 Basic instructions_html_cbf13fc3d10fbe61.png]] 1108 1108 1109 1109 **Example** 1110 1110 1111 1111 When 45,325 seconds is specified in (s) 1112 1112 1113 -(% style="text-align:center" %) 1114 -[[image:07-5 Basic instructions_html_d6045506b13275a0.png||height="135" width="600"]] 1128 +[[image:07-5 Basic instructions_html_d6045506b13275a0.png]] 1115 1115 1116 1116 **Error code** 1117 1117 ... ... @@ -1122,17 +1122,15 @@ 1122 1122 1123 1123 **Example** 1124 1124 1125 -(% style="text-align:center" %) 1126 -[[image:07-5 Basic instructions_html_e7dd49d953db6da4.png||height="39" width="316"]] 1139 +[[image:07-5 Basic instructions_html_e7dd49d953db6da4.png]] 1127 1127 1128 1128 Set D0 seconds to 2152537 1129 1129 1130 1130 The hour, minute and second of D10 after the M0 coil is turned on are 1131 1131 1132 -(% style="text-align:center" %) 1133 -[[image:07-5 Basic instructions_html_10d57bde1ac0a218.png||height="52" width="661"]] 1145 +[[image:07-5 Basic instructions_html_10d57bde1ac0a218.png]] 1134 1134 1135 -== **TCMP/Clock data comparison** ==1147 +{{id name="_Toc2937"/}}{{id name="_Toc24209"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **TCMP/Clock data comparison** 1136 1136 1137 1137 **TCMP(P)** 1138 1138 ... ... @@ -1151,26 +1151,29 @@ 1151 1151 1152 1152 **Device used** 1153 1153 1154 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="17" %)**Devices**|((( 1155 -**Offset modification** 1166 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1167 +**Offset** 1168 + 1169 +**modification** 1156 1156 )))|((( 1157 -**Pulse extension** 1171 +**Pulse** 1172 + 1173 +**extension** 1158 1158 ))) 1159 -|**Y**|**M**|**S**|**SM**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**E**|**[D]**|**XXP** 1160 -|(% rowspan="5" %)TCMP|Parameter 1| | | | | |●|●|●|●|●|●|●|●|●|●|●| |●|● 1161 -|Parameter 2| | | | | |●|●|●|●|●|●|●|●|●|●|●| |●|● 1162 -|Parameter 3| | | | | |●|●|●|●|●|●|●|●|●|●|●| |●|● 1163 -|Parameter 4| | | | | | | | | |●|●|●|●|●| | | |●|● 1164 -|Parameter 5|●|●|●|●|●| | | | | | | | | | | | |●|● 1175 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1176 +|(% rowspan="5" %)TCMP|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1177 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1178 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1179 +|Parameter 4| | | | | | | | | | | | | | |●|●|●|●|●| | | | | |●|● 1180 +|Parameter 5| |●|●|●|●| | | | |●| | | | | | | | | | | | | | |●|● 1165 1165 1166 1166 **Features** 1167 1167 1168 1168 Compare the time of the reference time (hour, minute, second) [(s1), (s2), (s3)] with the time data (hour, minute, second) [(s4), (s4)+1, (s4) +2] Compare the size and turn on/off the 3 points from (d) according to the result of the same size. 1169 1169 1170 -(% style="text-align:center" %) 1171 -[[image:07-5 Basic instructions_html_5df7ad3057fada12.png||height="385" width="750"]] 1186 +[[image:07-5 Basic instructions_html_5df7ad3057fada12.png]] 1172 1172 1173 -✎**Note :**1188 +✎**Note** 1174 1174 1175 1175 The device specified in (s4) and (d) occupies 3 points. Be careful not to overlap with the device used for machine control. 1176 1176 ... ... @@ -1184,29 +1184,26 @@ 1184 1184 |4084H|((( 1185 1185 When the value specified in (s) and (s4) is not in the range of 0 to 23 1186 1186 1187 -When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 59 1202 +{{id name="OLE_LINK355"/}}When the value specified in (s2),(s3) (s4)+1 and (s4)+2 is not in the range of 0 to 59 1188 1188 ))) 1189 1189 1190 1190 **Example** 1191 1191 1192 -(% style="text-align:center" %) 1193 -[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png||height="68" width="359"]] 1207 +[[image:07-5 Basic instructions_html_fcc16317cf7c0700.png]] 1194 1194 1195 1195 Set D10 to 1, D11 to 30, D12 to 0 1196 1196 1197 1197 When M0 is turned on, the time that D23 will come is 0:31:27 1198 1198 1199 -(% style="text-align:center" %) 1200 -[[image:07-5 Basic instructions_html_de97dd7a612b2323.png||height="50" width="653"]] 1213 +[[image:07-5 Basic instructions_html_de97dd7a612b2323.png]] 1201 1201 1202 1202 M10 is turned ON 1203 1203 1204 -(% style="text-align:center" %) 1205 -[[image:07-5 Basic instructions_html_56e2d606adc09fd.png||height="52" width="239"]] 1217 +[[image:07-5 Basic instructions_html_56e2d606adc09fd.png]] 1206 1206 1207 -= =**TZCP/Clock data bandwidth comparison**==1219 +{{id name="_Toc29031"/}}{{id name="_Toc22923"/}}**TZCP/Clock data bandwidth comparison** 1208 1208 1209 -**TZCP(P)** 1221 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **TZCP(P)** 1210 1210 1211 1211 Compare the comparison time of the high and low points specified in (s1) and (s2) with the time data specified in (s3), and turn the bit device specified in (d) ON/OFF according to its size and bandwidth. 1212 1212 ... ... @@ -1216,37 +1216,46 @@ 1216 1216 1217 1217 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1218 1218 |(s1)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 1219 -ANY16_ARRAY (number of elements: 3) 1231 +ANY16_ARRAY 1232 + 1233 +(number of elements: 3) 1220 1220 ))) 1221 1221 |(s2)|Specify the "hour" of the lower limit time (hour, minute, second)|-|Signed BIN 16 bit|((( 1222 -ANY16_ARRAY (number of elements: 3) 1236 +ANY16_ARRAY 1237 + 1238 +(number of elements: 3) 1223 1223 ))) 1224 1224 |(s3)|Specify "hour" of time data (hour, minute, second)|-|Signed BIN 16 bit|((( 1225 -ANY16_ARRAY (number of elements: 3) 1241 +ANY16_ARRAY 1242 + 1243 +(number of elements: 3) 1226 1226 ))) 1227 1227 |(d)|The bit device is turned ON/OFF according to the comparison result.|-|Bit|((( 1228 -ANY16_ARRAY (number of elements: 3) 1246 +ANY16_ARRAY 1247 + 1248 +(number of elements: 3) 1229 1229 ))) 1230 1230 1231 1231 **Device used** 1232 1232 1233 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1234 -**Pulse extension** 1253 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1254 +**Pulse** 1255 + 1256 +**extension** 1235 1235 ))) 1236 -|**Y**|**M**|**S**|**SM**|**D.b**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1237 -|(% rowspan="4" %)TZCP|Parameter 1| | | | | |●|●|●|●|●|●|● 1238 -|Parameter 2| | | | | |●|●|●|●|●|●|● 1239 -|Parameter 3| | | | | |●|●|●|●|●|●|● 1240 -|Parameter 4|●|●|●|●|●| | | | | |●|● 1258 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1259 +|(% rowspan="4" %)TZCP|Parameter 1| | | | | | | | | | | | | | |●|●|●|●|●| | | | | |●|● 1260 +|Parameter 2| | | | | | | | | | | | | | |●|●|●|●|●| | | | | |●|● 1261 +|Parameter 3| | | | | | | | | | | | | | |●|●|●|●|●| | | | | |●|● 1262 +|Parameter 4| |●|●|●|●| | | | |●| | | | | | | | | | | | | | |●|● 1241 1241 1242 1242 **Features** 1243 1243 1244 1244 Compare the comparison time of the high and low points specified in (s1) and (s2) with the time data specified in (s3), and turn the bit device specified in (d) ON/OFF according to its size and bandwidth. 1245 1245 1246 -(% style="text-align:center" %) 1247 -[[image:07-5 Basic instructions_html_844291270080313d.png||height="339" width="750"]] 1268 +[[image:07-5 Basic instructions_html_844291270080313d.png]] 1248 1248 1249 -✎**Note :**1270 +✎**Note** 1250 1250 1251 1251 • The devices specified in (s1), (s2), (s3), (d) occupy 3 points. Be careful not to overlap with the device used for machine control. 1252 1252 ... ... @@ -1267,32 +1267,27 @@ 1267 1267 1268 1268 **Example** 1269 1269 1270 -(% style="text-align:center" %) 1271 -[[image:07-5 Basic instructions_html_30027a2387c26c2e.png||height="46" width="439"]] 1291 +[[image:07-5 Basic instructions_html_30027a2387c26c2e.png]] 1272 1272 1273 1273 Set D0 time to 16:30:00 and D10 time to 4:30:0 1274 1274 1275 -(% style="text-align:center" %) 1276 -[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png||height="49" width="626"]] 1295 +[[image:07-5 Basic instructions_html_c64e0faf2af172f8.png]] 1277 1277 1278 -(% style="text-align:center" %) 1279 -[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png||height="50" width="625"]] 1297 +[[image:07-5 Basic instructions_html_66e3a2eadeb2ecbb.png]] 1280 1280 1281 1281 After the coil is turned on, the reading time to D20 time is 8:30:00 1282 1282 1283 -(% style="text-align:center" %) 1284 -[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png||height="49" width="625"]] 1301 +[[image:07-5 Basic instructions_html_75c44dad07eaf80a.png]] 1285 1285 1286 1286 M0/M12 is ON 1287 1287 1288 -(% style="text-align:center" %) 1289 -[[image:07-5 Basic instructions_html_f512f36261705953.png||height="48" width="218"]] 1305 +[[image:07-5 Basic instructions_html_f512f36261705953.png]] 1290 1290 1291 -= **Data control instructions** =1307 +{{id name="_Toc6129"/}}[[image:07-5 Basic instructions_html_a2e3294e01b2f206.gif]] **7.13 Data control instructions** 1292 1292 1293 -== **BAND/BIN 16-bit data dead zone control** ==1309 +{{id name="_Toc3339"/}}{{id name="_Toc27829"/}}{{id name="_Toc9204"/}}**BAND/BIN 16-bit data dead zone control** 1294 1294 1295 -**BAND(P)** 1311 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **BAND(P)** 1296 1296 1297 1297 The input value (BIN 16-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limits of the dead zone specified in (s1) and (s2). 1298 1298 ... ... @@ -1308,16 +1308,20 @@ 1308 1308 1309 1309 **Device used** 1310 1310 1311 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|((( 1312 -**Offset modification** 1327 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1328 +**Offset** 1329 + 1330 +**modification** 1313 1313 )))|((( 1314 -**Pulse extension** 1332 +**Pulse** 1333 + 1334 +**extension** 1315 1315 ))) 1316 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1317 -|(% rowspan="4" %)BAND|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1318 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|● 1319 -|Parameter 3|●|●|●|●|●|●|●|●|●| | |●|● 1320 -|Parameter 4| |●|●|●|●|●|●|●|●| | |●|● 1336 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1337 +|(% rowspan="4" %)BAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1338 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1339 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 1340 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1321 1321 1322 1322 **Features** 1323 1323 ... ... @@ -1328,6 +1328,7 @@ 1328 1328 |When dead zone high limit (s1) <input value (s3)|Input value (s3)- Dead zone high limit (s2) 1329 1329 |When dead zone low limit (s1) ≤ input value (s3) ≤ dead zone low limit (s2)|0 1330 1330 1351 + 1331 1331 ((( 1332 1332 •When the output value stored in (d) is a signed BIN 16-bit value, and the operation result exceeds the range of -32768 to 32767, the situation is shown in the following example. 1333 1333 ... ... @@ -1335,8 +1335,7 @@ 1335 1335 1336 1336 the output value = -32768-10=8000H-000AH=7FFFH=32758. 1337 1337 1338 -(% style="text-align:center" %) 1339 -[[image:07-5 Basic instructions_html_6850e21a76b813c0.png||height="295" width="550"]] 1359 +[[image:07-5 Basic instructions_html_6850e21a76b813c0.png]] 1340 1340 ))) 1341 1341 1342 1342 **Error code** ... ... @@ -1346,10 +1346,9 @@ 1346 1346 |4086H|When the specified device range for writing exceeds the range of the corresponding device. 1347 1347 |4084H|When the low limit specified in (s1) is greater than the high limit specified in (s2). 1348 1348 1349 -**Example** 1369 +**Example ** 1350 1350 1351 -(% style="text-align:center" %) 1352 -[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png||height="49" width="450"]] 1371 +[[image:07-5 Basic instructions_html_c0e65cfeed403ecf.png]] 1353 1353 1354 1354 When X000 is ON, when D0<(-1,000), the value of ( D0)-(-1,000) is stored in (D1). 1355 1355 ... ... @@ -1357,7 +1357,7 @@ 1357 1357 1358 1358 • When D0<1,000, the value of (D0)-1,000 is stored in D1. 1359 1359 1360 -== **DBAND/BIN 32-bit data dead zone control** ==1379 +{{id name="_Toc1180"/}}{{id name="_Toc21657"/}}{{id name="_Toc27323"/}}[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DBAND/BIN 32-bit data dead zone control** 1361 1361 1362 1362 **DBAND(P)** 1363 1363 ... ... @@ -1375,14 +1375,16 @@ 1375 1375 1376 1376 **Device used** 1377 1377 1378 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|**Offset modification**|((( 1379 -**Pulse extension** 1397 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1398 +**Pulse** 1399 + 1400 +**extension** 1380 1380 ))) 1381 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1382 -|(% rowspan="4" %)DBAND|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1383 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1384 -|Parameter 3|●|●|●|●|●|●|●|●|●|●|●| | |●|● 1385 -|Parameter 4| |●|●|●|●|●|●|●|●|●|●| | |●|● 1402 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1403 +|(% rowspan="4" %)DBAND|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1404 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1405 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●| | | |●|● 1406 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1386 1386 1387 1387 **Features** 1388 1388 ... ... @@ -1389,17 +1389,20 @@ 1389 1389 The input value (BIN 32-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limits of the dead zone specified in (s1) and (s2). The output value is controlled as follows. 1390 1390 1391 1391 |**Condition**|**The value stored in the output value** 1392 -|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1) 1393 -|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)|Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1) 1413 +|When dead zone low limit ((s1), (s1)+1)> input value ((s3), (s3)+1)|{{id name="OLE_LINK42"/}}Input value ((s3), (s3)+1)-dead zone low limit ((s1), (s1)+1) 1414 +|When dead zone high limit ((s1), (s1)+1) <input value ((s3), (s3)+1)|{{id name="OLE_LINK357"/}}Input value ((s3), (s3)+1)-dead zone high limit ((s2), (s2)+1) 1394 1394 |When dead zone low limit ((s1), (s1)+1) ≤ input value ((s3), (s3)+1) ≤ dead zone high limit ((s2), (s2)+1)|0 1395 1395 1417 + 1396 1396 ((( 1397 -• When the output value stored in (d) is a signed BIN 32-bit value, and the operation result exceeds the range of -2,147,483,648 to 2,147,483,647, the situation is as the following example. For example,** 1419 +• When the output value stored in (d) is a signed BIN 32-bit value, and the operation result exceeds the range of -2,147,483,648 to 2,147,483,647, the situation is as the following example. For example,** **When (s1) and (s1)+1 are 1000, (s3) and (s3)+1 are -2,147,483,648, then the output value= 1398 1398 1399 1399 -2,147,483,648-1000=80000000H-000003E8H=7FFFFC18H=2,147,482,648. 1400 1400 1401 -(% style="text-align:center" %) 1402 -[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png||height="243" width="550"]] 1423 +[[image:07-5 Basic instructions_html_e0144674dad3e8fd.png]] 1424 + 1425 + 1426 + 1403 1403 ))) 1404 1404 1405 1405 **Error code** ... ... @@ -1411,8 +1411,7 @@ 1411 1411 1412 1412 **Example** 1413 1413 1414 -(% style="text-align:center" %) 1415 -[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png||height="42" width="453"]] 1438 +[[image:07-5 Basic instructions_html_88f3fe0fb4841bab.png]] 1416 1416 1417 1417 • When (D1, D0)<(-10,000), the value of (D1, D0)-(-10,000) is stored in (D11, D10). 1418 1418 ... ... @@ -1420,9 +1420,9 @@ 1420 1420 1421 1421 • When 10,000< (D1, D0), the value of (D1, D0)-10,000 is stored in D1. 1422 1422 1423 -== **BINDA/BIN 16-bit data → Decimal ASCII conversion** ==1446 +{{id name="_Toc21668"/}}{{id name="_Toc25056"/}}{{id name="_Toc17582"/}}{{id name="OLE_LINK165"/}}**BINDA/BIN 16-bit data → Decimal ASCII conversion** 1424 1424 1425 -**BINDA(P)** 1448 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **BINDA(P)** 1426 1426 1427 1427 Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1428 1428 ... ... @@ -1436,28 +1436,30 @@ 1436 1436 1437 1437 **Device used** 1438 1438 1439 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|**Offset modification**|((( 1440 -**Pulse extension** 1462 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1463 +**Pulse** 1464 + 1465 +**extension** 1441 1441 ))) 1442 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP** 1443 -|(% rowspan="2" %)BINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|● 1444 -|Parameter 2| | | | | | |●|●|●| | |●|● 1467 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1468 +|(% rowspan="2" %)BINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1469 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1445 1445 1446 1446 **Features** 1447 1447 1448 1448 Convert the BIN 16-bit data specified in (s) and the value of each digit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1449 1449 1450 -((( 1451 -(% style="text-align:center" %) 1452 -[[image:07-5 Basic instructions_html_57bda5f08026449d.png]] 1453 1453 1476 + 1477 +((( 1454 1454 ←Only store 0 when SM191 is OFF 1479 + 1480 +[[image:07-5 Basic instructions_html_57bda5f08026449d.png]] 1455 1455 ))) 1456 1456 1457 1457 For example, when -12,345 is specified in (s) (in the case of specifying signed) 1458 1458 1459 -(% style="text-align:center" %) 1460 -[[image:07-5 Basic instructions_html_f346102467b9bef9.png||height="169" width="850"]] 1485 +[[image:07-5 Basic instructions_html_f346102467b9bef9.png]] 1461 1461 1462 1462 The calculation result stored in (d) will be as below. 1463 1463 ... ... @@ -1477,20 +1477,19 @@ 1477 1477 1478 1478 **Example** 1479 1479 1480 -(% style="text-align:center" %) 1481 -[[image:07-5 Basic instructions_html_c598806a42484ed.png||height="76" width="300"]] 1482 1482 1506 + 1483 1483 ((( 1484 1484 When X000 is ON, convert the value of 16-bit data (BIN) D1000 into decimal ASCII code, and then use PR instruction to output the 1485 1485 1486 1486 converted ASCII code character by character to the program of Y040 to Y057. 1487 1487 1488 - 1512 +[[image:07-5 Basic instructions_html_c598806a42484ed.png]] 1489 1489 ))) 1490 1490 1491 -== **DBINDA/BIN 32-bit data → Decimal ASCII conversion** ==1515 +{{id name="_Toc12255"/}}{{id name="_Toc8216"/}}{{id name="_Toc470"/}}**DBINDA/BIN 32-bit data → Decimal ASCII conversion** 1492 1492 1493 -**DBINDA(P)** 1517 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DBINDA(P)** 1494 1494 1495 1495 Convert the BIN 32-bit data specified in (s) and the value of each bit in decimal numbers into ASCII codes and store them after the device number specified in (d). 1496 1496 ... ... @@ -1500,18 +1500,22 @@ 1500 1500 1501 1501 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 1502 1502 |(s)|BIN data for ASCII conversion|-2,147483648 to 2147483647|Signed BIN 32 bit|ANY32_S 1503 -|(d)|The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE 1527 +|(d)|{{id name="OLE_LINK2"/}}The start number of the device storing the conversion result|-|String|ANYSTRING_SINGLE 1504 1504 1505 1505 **Device used** 1506 1506 1507 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="13" %)**Devices**|((( 1508 -**Offset modification** 1531 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|((( 1532 +**Offset** 1533 + 1534 +**modification** 1509 1509 )))|((( 1510 -**Pulse extension** 1536 +**Pulse** 1537 + 1538 +**extension** 1511 1511 ))) 1512 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**[D]**|**XXP** 1513 -|(% rowspan="2" %)DBINDA|Parameter 1|●|●|●|●|●|●|●|●|●|●|●|●|●|●|● 1514 -|Parameter 2| | | | | | |●|●|●| | | | |●|● 1540 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1541 +|(% rowspan="2" %)DBINDA|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●|●|●|●|●| |●|● 1542 +|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1515 1515 1516 1516 **Features** 1517 1517 ... ... @@ -1519,11 +1519,8 @@ 1519 1519 1520 1520 For example, when -12345678 is specified in (s). (in the case of specifying signed) 1521 1521 1522 -(% style="text-align:center" %) 1523 -[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] 1550 +[[image:07-5 Basic instructions_html_4d939462838cf09b.gif]] The calculation result stored in (d) will be as below. 1524 1524 1525 - The calculation result stored in (d) will be as below. 1526 - 1527 1527 • In "Sign", 20H is stored when the BIN data is positive, and 2DH is stored when it is negative. 1528 1528 1529 1529 • 20H is stored at 0 to the left of the effective number of digits. (Suppress 0.) For example, in the case of "0012034560", "00" becomes 20H, and "12034560" becomes effective digits. ... ... @@ -1540,14 +1540,13 @@ 1540 1540 1541 1541 **Example** 1542 1542 1543 -(% style="text-align:center" %) 1544 -[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png||height="59" width="300"]] 1568 +[[image:07-5 Basic instructions_html_ec8ac32d748a991c.png]] 1545 1545 1546 1546 When X000 is ON, convert the value of 32-bit data (BIN) D1000 into decimal ASCII code, and then use PR (FNC 77) instruction to output the converted ASCII code character by character to the program in Y040 to Y051 in time and time division. 1547 1547 1548 -== **DABIN/Decimal ASCII → BIN conversion** ==1572 +{{id name="_Toc19693"/}}{{id name="_Toc18078"/}}{{id name="_Toc5726"/}}**DABIN/Decimal ASCII → BIN conversion** 1549 1549 1550 -**DABIN(P)** 1574 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DABIN(P)** 1551 1551 1552 1552 Digital ASCII code (30H to 39H) is a instruction to convert real data into BIN data. 1553 1553 ... ... @@ -1561,23 +1561,24 @@ 1561 1561 1562 1562 **Device used** 1563 1563 1564 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|**Offset modification**|((( 1565 -**Pulse extension** 1588 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1589 +**Pulse** 1590 + 1591 +**extension** 1566 1566 ))) 1567 -|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**[D]**|**XXP** 1568 -|(% rowspan="2" %)DABIN|Parameter 1| | | | | |●|●|●|●|● 1569 -|Parameter 2|●|●|●|●|●|●|●|●|●|● 1593 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1594 +|(% rowspan="2" %)DABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1595 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1570 1570 1571 1571 **Features** 1572 1572 1573 1573 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 16-bit data and stored in the device specified in (d). 1574 1574 1575 -(% style="text-align:center" %) 1576 -[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png||height="273" width="750"]] 1601 +[[image:07-5 Basic instructions_html_22c5cb32a0a32214.png]] 1577 1577 1578 1578 |**ASCII S**|**ASCII 10^^0^^**|**ASCII 10^^1^^**|**ASCII 10^^2^^**|**ASCII 10^^3^^**|**ASCII 10^^4^^** 1579 1579 |**ASCII code**|((( 1580 -Units of 1605 +{{id name="OLE_LINK36"/}}Units of 1581 1581 1582 1582 ASCII code 1583 1583 )))|((( ... ... @@ -1600,8 +1600,7 @@ 1600 1600 1601 1601 For example, When -25,108 is specified in (s) 1602 1602 1603 -(% style="text-align:center" %) 1604 -[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png||height="123" width="750"]] 1628 +[[image:07-5 Basic instructions_html_10fb2792e37dbf23.png]] 1605 1605 1606 1606 • The ASCII data specified in (s) to (s)+2 is within the range of -32,768 to +32,767. 1607 1607 ... ... @@ -1631,12 +1631,11 @@ 1631 1631 **Example** 1632 1632 ))) 1633 1633 1634 -(% style="text-align:center" %) 1635 -[[image:07-5 Basic instructions_html_bec2bea131b58c03.png||height="55" width="300"]] 1658 +[[image:07-5 Basic instructions_html_bec2bea131b58c03.png]] 1636 1636 1637 -== **DDABIN/Decimal ASCII → BIN32-bit data conversion** ==1660 +{{id name="_Toc3351"/}}{{id name="_Toc26383"/}}{{id name="_Toc26233"/}}**DDABIN/Decimal ASCII → BIN32-bit data conversion** 1638 1638 1639 -**DDABIN(P)** 1662 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **DDABIN(P)** 1640 1640 1641 1641 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 32-bit data and stored in the device number specified in (d). 1642 1642 ... ... @@ -1650,31 +1650,31 @@ 1650 1650 1651 1651 **Device used** 1652 1652 1653 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="10" %)**Devices**|**Offset modification**|((( 1654 -**Pulse extension** 1676 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1677 +**Pulse** 1678 + 1679 +**extension** 1655 1655 ))) 1656 -|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**[D]**|**XXP** 1657 -|(% rowspan="2" %)DDABIN|Parameter 1| | | | | |●|●|●| | |●|● 1658 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●|● 1681 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1682 +|(% rowspan="2" %)DDABIN|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | | | | |●|● 1683 +|Parameter 2| | | | | | | | | | | |●|●|●|●|●|●|●|●|●|●| | | |●|● 1659 1659 1660 1660 **Features** 1661 1661 1662 1662 The decimal ASCII data stored after the device number specified in (s) is converted into BIN 32-bit data and stored in the device specified in (d). 1663 1663 1664 -(% style="text-align:center" %) 1665 -[[image:07-5 Basic instructions_html_c444110b273f33b7.gif||height="193" width="800"]] 1689 +[[image:07-5 Basic instructions_html_c444110b273f33b7.gif]] 1666 1666 1667 1667 |**ASCII S**|**ASCII code**|**ASCII S**|**ASCII code** 1668 -|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|Hundred thousands of ASCII code 1692 +|ASCII 10^^0^^|Units of ASCII code|ASCII 10^^5^^|{{id name="OLE_LINK38"/}}Hundred thousands of ASCII code 1669 1669 |ASCII 10^^1^^|Tens of ASCII code|ASCII 10^^6^^|Millions of ASCII code 1670 1670 |ASCII 10^^2^^|Hundreds of ASCII code|ASCII 10^^7^^|Ten millions of ASCII code 1671 -|ASCII 10^^3^^|Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1695 +|ASCII 10^^3^^|{{id name="OLE_LINK37"/}}Thousands of ASCII code|ASCII 10^^8^^|Hundred millions of ASCII code 1672 1672 |ASCII 10^^4^^|Tens thousands of ASCII code|ASCII 10^^9^^|billions of ASCII code 1673 1673 1674 1674 When -1234543210 is specified in (s) (When signed is specified) 1675 1675 1676 -(% style="text-align:center" %) 1677 -[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png||height="230" width="800"]] 1700 +[[image:07-5 Basic instructions_html_1b4c7e1c663a4399.png]] 1678 1678 1679 1679 • The ASCII data specified in (s) to (s)+5 is within the range of -2,147,483,648 to +2,147,483,647. In addition, the data stored in the high byte of (s)+5 will be ignored. 1680 1680 ... ... @@ -1690,7 +1690,7 @@ 1690 1690 |4084H|((( 1691 1691 When the Sign data exceeds the range of 30H to 39H, 20H, 00H and 2DH; 1692 1692 1693 -When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H; 1716 +{{id name="OLE_LINK39"/}}When the ASCII code of each bit specified in (s) to (s)+5 exceeds the range of 30H to 39H, 20H and 00H; 1694 1694 1695 1695 When the ASCII data specified in (s) to (s)+5 exceeds the range of -2,147,483,648 to +2,147,483,647 1696 1696 ))) ... ... @@ -1699,14 +1699,13 @@ 1699 1699 1700 1700 **Example** 1701 1701 1702 -(% style="text-align:center" %) 1703 -[[image:07-5 Basic instructions_html_feea438c943ea9dd.png||height="34" width="300"]] 1725 +[[image:07-5 Basic instructions_html_feea438c943ea9dd.png]] 1704 1704 1705 1705 When X000 is ON, the Signs set in to D20 to D25 and the ASCII code data of 10-digit decimal numbers are converted into BIN values and then saved to the program in D0 to D1. 1706 1706 1707 -== **LIMIT/ BIN 16-bit data high and low limit control** ==1729 +{{id name="_Toc26556"/}}{{id name="_Toc12799"/}}{{id name="_Toc23863"/}}**LIMIT/ BIN 16-bit data high and low limit control** 1708 1708 1709 -**LIMIT(P)** 1731 +[[image:07-5 Basic instructions_html_11b3991e89e21efc.gif]] **LIMIT(P)** 1710 1710 1711 1711 The input value (BIN 16-bit value) specified in (s3) controls the output value stored in the device specified in (d) according to the upper and lower limit value ranges specified in (s1) and (s2). 1712 1712 ... ... @@ -1722,16 +1722,16 @@ 1722 1722 1723 1723 **Device used** 1724 1724 1725 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan=" 12" %)**Devices**|**Offset modification**|(((1747 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="24" %)**Devices**|**Offset modification**|((( 1726 1726 **Pulse** 1727 1727 1728 1728 **extension** 1729 1729 ))) 1730 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**E**|**[D]**|**XXP** 1731 -|(% rowspan="4" %)LIMIT|Parameter 1|●|●|●|●|●|●|●|●|●|●|●| |●|● 1732 -|Parameter 2|●|●|●|●|●|●|●|●|●|●|●| |●|● 1733 -|Parameter 3|●|●|●|●|●|●|●|●|●| | | |●|● 1734 -|Parameter 4| |●|●|●|●|●|●|●|●| | | |●|● 1752 +|**X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 1753 +|(% rowspan="4" %)LIMIT|Parameter 1| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1754 +|Parameter 2| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | |●|●| |●|● 1755 +|Parameter 3| | | | | | | | | | |●|●|●|●|●|●|●|●|●| | | | | |●|● 1756 +|Parameter 4| | | | | | | | | | | |●|●|●|●|●|●|●|●| | | | | |●|● 1735 1735 1736 1736 **Features** 1737 1737