7 Application Instructions API 50-99 high-speed comparison, CMP should not used M80~M120 to set a comparison. e) System structure of the hardware high speed counters: i) HHSC0 ~ 3 have reset signals and start signals from external inputs. Settings in M1272, M1274, M1276 and M1278 are reset signals of HHSC0, HHSC1, HHSC2 and HHSC3. Settings in M1273, M1275, M1277 and M1279 are start signals of HHSC0, HHSC1, HHSC2 and HHSC3. ii) If the external control signal inputs of R and S are not in use, you can set M1264/M1266/M1268/M1270 and M1265/M1267/M1269/M1271 as True and disable the input signals. The corresponding external inputs can be used again as general input points (see the figure below).
iii) When special M is used as a high speed counter, the inputs controlled by START and RESET will be affected by the scan time.
Counting pulses U/D U Present value in counter HHSC0 Counting reaches set value A HHSC1 Comparator 8 set values D Counting pulses B HHSC2 HHSC3 HHSC0 HHSC1 HHSC2 HHSC3 Output reaches comparative value for outputs Counting up/down monitoring flag DHSCS occupies 1 group of set values DHSCR occupies 1 group of set values DHSCZ occupies 2 groups of set values Select counting modes U/D mode setup flag DHSCS DHSCR SET/RESET 010 ~ 060 clear the present value I I AND OR Reset signal R HHSC3 M1249 M1254 Interruption forbidden flag DHSCZ I 060 M1294 M1294 AND OR Start signal S DVP-PLC APPLICATION MANUAL 7-12 HHSC0 HHSC1 HHSC2 HHSC3 X0 X4 X10 X14 HHSC0 HHSC1 HHSC2 HHSC3 X1 X5 X11 X15 D1225 D1226 D1227 D1228 Set values 1 ~ 4 indicate Mode 1 ~ 4 (1 ~ 4 times frequency) High-speed comparative instruction Output reaches comparative value HHSC0 HHSC1 HHSC2 HHSC3 C241 C242 C243 C244 M1241 M1242 M1243 M1244 HHSC0 M1246 M1251 HHSC1 M1247 M1252 HHSC2 M1248 M1253 HHSC0 HHSC1 HHSC2 HHSC3 X2 M1264 X6 M1266 X12 M1268 X16 M1270 M1272 M1274 M1276 M1278 I 010 I 020 M1289 M1290 I 030 M1291 I 040 M1292 I 050 M1293 HHSC0 HHSC1 HHSC2 HHSC3 X3 M1265 X7 M1267 X13 M1269 X17 M1271 M1273 M1275 M1277 M1279