beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 294

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7-10

ii) Multiplied frequency mode (qr indicates the occurrence of counting)

Counting mode

Counting wave pattern

1

(Normal

frequency)

A-phase

B-phase

Counting up

Counting down

2

(Dou

ble

freque

ncy)

A-phase

B-phase

Counting up

Counting down

2-ph

ase 2 inp

uts

4

(4 times

freque

ncy)

A-phase

B-phase

Counting up

Counting down

5.

EH/EH2/SV series MPU supports high speed counters. C235 ~ C240 are program-interruption 1-phase high

speed counter with a total bandwidth of 20KHz, can be used alone with a counting frequency of up to 10KHz.

C241 ~ C254 are hardware high speed counter (HHSC). There are four HHSC in EH/EH2/SV series MPU,

HHSC0 ~ 3. The pulse input frequency of HHSC0 and HHSC1 can reach 200KHz and that of HHSC2 and

HHSC3 can reach 20KHz (1 phase or A-B phase). The pulse input frequency of HHSC0 ~ 3 of 40EH2 series

MPU can reach 200KHz, among which:

C241, C246 and C251 share HHSC0

C242, C247 and C252 share HHSC1

C243, C248 and C253 share HHSC2

C244, C249 and C254 share HHSC3

a) Every HHSC can only be designated to one counter by DCNT instruction.

b) There are three counting modes in every HHSC (see the table below):

i) 1-phase 1 input refers to “pulse/direction” mode.

ii) 1-phase 2 inputs refers to “clockwise/counterclockwise (CW/CCW)” mode.

iii) 2-phase 2 inputs refers to “A-B phase” mode.