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

X20<br />

X21<br />

X0<br />

count up<br />

X1<br />

count down<br />

C247<br />

present<br />

value<br />

3<br />

0<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

6<br />

5<br />

4<br />

Y0, C247 contact<br />

AB-phase input high-speed counter:<br />

Example:<br />

LD<br />

MOV<br />

M1002<br />

K2 D1022<br />

M1002<br />

MOV<br />

K2<br />

D1022<br />

LD<br />

RST<br />

LD<br />

DCNT<br />

LD<br />

X20<br />

C251<br />

X21<br />

C251 K5<br />

C251<br />

X20<br />

X21<br />

C251<br />

RST<br />

DCNT<br />

Y0<br />

C251<br />

C251<br />

K5<br />

OUT<br />

Y0<br />

1. When X20 is ON, RST instsruction executes and the current value in C251 will be cleared.<br />

Contact C251 will be OFF.<br />

2. When X21 is ON, C251 receives A phase counting signal of X0 input terminal and B<br />

phase counting signal of X1 input terminal and executes count up or count down<br />

3. When counter C251 reaches K5, contact C251 will be ON. If there is still input signal from<br />

X0 or X1, C251 will keep on counting<br />

4. Counting mode can be specified as double frequency or 4-times frequency by D1022.<br />

Default: quadruple frequency.<br />

2-38

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

Saved successfully!

Ooh no, something went wrong!