17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

Max frequency<br />

<strong>SA2</strong>/SE/<strong>SX2</strong>:<br />

100kHz<br />

<strong>SS2</strong>: 20kHz<br />

5KHz.<br />

X1(X0/X1) of <strong>SA2</strong>/SE: 30kHz<br />

10KHz<br />

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

D +3 and D + 2 store the current accumulated number of pulses; D + 4 store the current time<br />

remaining (max. 32,767ms).<br />

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

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

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

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

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

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

together as AB-phase input.<br />

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

proportion to the rotation speed. Rotation speed N can be calculated by the following equation<br />

N=<br />

( 0)<br />

60<br />

nt<br />

D 3<br />

× 10<br />

( rpm)<br />

N: Rotation speed<br />

n: The number of pulses produced per rotation<br />

t: Detecting time specified by S 2 (ms)<br />

Program Example:<br />

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

The results are stored in D0, D1.<br />

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

starts counting again.<br />

X7<br />

SPD X0 K1000 D0<br />

X7<br />

X1<br />

D2: Present value<br />

D0: Detected value<br />

Content in D2<br />

1,000ms<br />

1,000ms<br />

1,000<br />

Content in D4 D4: Remaining time (ms)<br />

3-136

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!