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

7. C243 and C244 support count-up mode only and occupy the associate input points X1 and<br />

X3 as reset (“R”) function. If users do not need to apply reset function, set ON the associated<br />

special M relays (M1243 and M1244) to disable the reset function.<br />

8. “Dir” refers to direction control function. OFF indicates counting up; ON indicates counting<br />

down.<br />

9. When X1, X3, X4 and X5 is applied for reset function and associated external interrupts are<br />

disabled, users can define the reset function as Rising/Falling-edge triggered by special M<br />

relays<br />

Reset Function X1 X3 X4 X5<br />

R/F M1271 M1273 M1274 M1275<br />

10. When X1, X3, X4 and X5 is applied for reset function and external interrupts are applied, the<br />

interrupt instructions have the priority in using the input points. In addition, PLC will move the<br />

current data in the counters to the associated data registers below then reset the counters.<br />

Example:<br />

Special D D1241, D1240 D1243, D1242<br />

Counter C243 C246 C248 C252 C244 C250 C254<br />

X1<br />

X3<br />

External Interrupt<br />

X4(I400/I401)<br />

X5(I500/I501)<br />

(I100/I101)<br />

(I300/I301)<br />

M1000<br />

DCNT C243 K100<br />

EI<br />

I101<br />

M1000<br />

DMOV D1240 D0<br />

FEND<br />

IRET<br />

END<br />

When C243 is counting and external interrupt is triggerred from X1(I101), counted value in C243<br />

will be move to (D1241, D1240) immediately then C243 is reset. After this interrupt I101 executes.<br />

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

Example:<br />

LD<br />

RST<br />

LD<br />

OUT<br />

LD<br />

DCNT<br />

LD<br />

OUT<br />

X20<br />

C235<br />

X21<br />

M1235<br />

X22<br />

C235 K5<br />

C235<br />

Y0<br />

X20<br />

X21<br />

X22<br />

C235<br />

RST<br />

M1235<br />

DCNT<br />

Y0<br />

C235<br />

C235<br />

K5<br />

2-36

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

Saved successfully!

Ooh no, something went wrong!