Mitsubishi — Chapter 7 Application Instructions API 50-88

7 Application Instructions API 50-99 f) Counting modes: Special D1225 ~ D1228 are for setting up different counting modes of the hardware high speed counters (HHSC0 ~ 3) in EH/EH2/SV/EH3/SV2 series MPU. There are normal ~ 4 times frequency for the counting and the default setting is double frequency. g) Special registers for relevant flags and settings of high speed counters:

DVP-PLC APPLICATION MANUAL 7-13 Counting modes Wave pattern Set value in Type 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 2-phase 2 inputs 1 (Normal frequency) A B 2 (Double frequency) A B 3 (Triple frequency) A B 4 (4 times frequency) A B Flag Function M1150 DHSZ instruction in multiple set values comparison mode M1151 The execution of DHSZ multiple set values comparison mode is completed. M1152 Set DHSZ instruction as frequency control mode M1153 DHSZ frequency control mode has been executed.

M1235 ~ M1245 Designating the counting direction of high speed counters C235 ~ C245 When M12□□ = Off, C2□□ will perform a counting up. When M12□□ = On, C2□□ will perform a counting down. M1246 ~ M1255 Monitor the counting direction of high speed counters C246 ~ C255 When M12□□ = Off, C2□□ will perform a counting up. When M12□□ = On, C2□□ will perform a counting down. M1260 X5 as the reset input signal of all high speed counters M1261 High-speed comparison flag for DHSCR instruction M1264 Disable the external control signal input point of HHSC0 reset signal point (R)