beautypg.com

Delta DVP-ES2 User Manual

Page 252

background image

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g

3 - 1 3 6

Max frequency

SA2/SE/SX2:

100kHz

SS2: 20kHz

5KHz.

X1(X0/X1) of SA2/SE: 30kHz

10KHz

14. D occupies 5 consecutive registers, D + 1 and D store the results of previous pulse detection;

D +3 and D + 2 store the current accumulated number of pulses; D + 4 store the current time

remaining (max. 32,767ms).

15. If X0, X1, X2, X6 or X7 are used in a SPD instruction, their associated high-speed counters or

external interrupts I000/I001, I100/I101, I200/I201, I600/I601 or I700/I701 can not be used.

16. For ES2/EX2 before V0.92: when X0, X2, X6 and X7 are used, they will be detected as

1-phase input. When X1 is used, X0(A) and X1(B) will be applied together as AB-phase input.

17. For SS2/SA2/SX2/SE and ES2/EX2 V1.00 or later: when X0, X2, X4 and X6 are used, they will

be detected as 1-phase input. When X1, X3, x5, X7 are used, X0, X2, X4, X6 will be applied

together as AB-phase input.

18. This instruction is mainly used to obtain the value of rotation speed and the results in D are in

proportion to the rotation speed. Rotation speed N can be calculated by the following equation

N:

Rotation speed

n:

The number of pulses produced per rotation

N=

( )

(

)

rpm

nt

D

3

10

0

60

×

t:

Detecting time specified by S

2

(ms)

Program Example:

19. When X7 = ON, D2 stores the high-speed pulses at X0 for 1,000ms and stops automatically.

The results are stored in D0, D1.

20. When the 1000ms of counting is completed, D2 will be reset. When X7 turns ON again, D2

starts counting again.

X7

SPD

X0

K1000

D0

X7

X1

1,000

1,000ms

1,000ms

D2: Present value

Content in D2

Content in D4 D4: Remaining time (ms)

D0: Detected value

This manual is related to the following products: