Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set 6. 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. 7. For ES2/EX2 before V0.92: when X0, X2, X6 and X7 are used, they will be detected as 1-phase 8. For SS2/SA2/SX2/SE and ES2/EX2 V1.00 or later: when X0, X2, X4 and X6 are used, they will input. When X1 is used, X0(A) and X1(B) will be applied together as AB-phase input. 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. 9.

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=     rpm nt D 3 10 0 60  N : Rotation speed n : The number of pulses produced per rotation t : Detecting time specified by S 2 (ms) Program Example: 1. When X7 = ON, D2 stores the high-speed pulses at X0 for 1,000ms and stops automatically. The results are stored in D0, D1. 2. When the 1000ms of counting is completed, D2 will be reset. When X7 turns ON again, D2 starts counting again. X7 D2: Present value D0: Detected value Content in D2 1,000ms 1,000ms 1,000 Content in D4 D4:

Remaining time (ms) 3-139 SPD X0 K1000 D0 X7 X1