Mitsubishi — 2.7 Numbering and Functions of Counters [C]

2 Functions of Devices in DVP-PLC M1279 are start signals of HHSC0, HHSC1, HHSC2 and HHSC3. b) 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). c) When special M is used as a high speed counter, the inputs controlled by START and RESET will be affected by the scan time.

U/D Present value in counter Counting reaches set value Counting pulses U A HHSC0 HHSC1 HHSC2 Comparator D Counting pulses B 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 SET/RESET 010 ~ 060 clear the present value I I HHSC3 M1249 M1254 DHSCR DHSCZ AND OR Reset signal R Interruption forbidden flag I 060 M1294 M1294 AND OR Start signal S 4. Counting modes: The counting modes of the hardware high-speed counters in EH2/SV/EH3/SV2 series MPU can be set in D1225 ~ D1228.

DVP-PLC Application Manual 2-25 HHSC0 HHSC1 HHSC2 HHSC3 X0 X4 X10 X14 HHSC0 HHSC1 HHSC2 HHSC3 X1 X5 X11 X15 8 set values HHSC0 HHSC1 HHSC2 HHSC3 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 Counting modes Wave pattern Type Set value in Counting up(+1) Counting down(-1) special D 1-phase 1 input 1 (Normal frequency) U/D U/D FLAG 2 (Double frequency) U/D U/D FLAG 1-phase 2 inputs 1 (Normal frequency) U D 2 (Double frequency) U D