Delta DVP-ES2/EX2/SS2/SA2/SX2/SE Two-Way Radio User Manual


 
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-136
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
060
×
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