beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 291

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 - 7

Remarks:

1.

The output contact of the high speed counter and the comparative outputs of API 53 DHSCS, API 34 DHSCR

and API 55 DHSZ instructions only perform comparison and contact outputs when there is a counting input.

When using data operation instructions, e.g. DADD, DMOV, for changing the present value in the high speed

counter or making the present value equals the set value, there will not be comparisons or comparative

outputs because there is no counting inputs.

2.

High speed counters supported by ES/EX/SS series MPU (total bandwidth: 20KHz):

1-phase 1 input

1-phase 2 inputs

2-phase 2 inputs

Type

I n p u t

C235 C236 C237 C238 C241 C242 C244 C246 C247 C249 C251 C252 C254

X0

U/D

U/D

U/D

U

U

U

A

A

A

X1 U/D R R D D D B B B

X2 U/D U/D

R R R R

X3

U/D

R

S S S

U: Progressively increasing input

A: A phase input

S: Input started

D: Progressively

decreasing

input

B: B phase input

R: Input cleared

a) Input points X0 and X1 can be planned as counters of higher speed (1 phase input can reach 20KHz).

However, the total counting frequency of the two input points has to be smaller or equal 20KHz. Provided

the input is a 2-phas input signal, the counting frequency will be approximately 4KHz. The frequency of

the input points X2 and X3 (1-phase) can reach 10KHz.

b) For ES/EX/SS series MPU, the uses of DHSCS instructio with DHSCR instruction cannot be more than 4

times.

3.

High speed counters supported by SA/SX series MPU (total bandwidth: 40KHz):

1-phase 1 input

1-phase 2 inputs

2-phase 2 inputs

Type

I n p u t

C235 C236 C237 C238 C239 C240 C241 C242 C244 C246 C247 C249 C251 C252 C253 C254

X0

U/D

U/D

U/D

U

U

U

A

A

B

A

X1 U/D R R D D D B B A B

X2 U/D U/D

R R R R

X3

U/D

R

S S S

X4

U/D

X5

U/D

U: Progressively increasing input

A: A phase input

S: Input started

D: Progressively decreasing input

B: B phase input

R: Input cleared

a) Input points X0 and X1 for 1-phase input can reach a frequency of 20KHz and X2 ~ X5 can reach 10KHz.

2-phase input (X0, X1) C251, C252 and C254 can reach a frequency of 4KHz and C253 reach 25KHz

(only supports 4 times frequency counting).

b) Functions of the input point X5:

i) When M1260 = Off, C240 is the general U/D high speed counuter.

ii) When M1260 = On and C240 is enabled by DCNT instruction, X5 will be the shared reset signal for

C235 ~ C239. The counter C240 will still receive the counting input signals from X5.