DVP - ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

7. C243 and C244 support count-up mode only and occupy the associate input points X1 and X3 as reset (“R”) function. If users do not need to apply reset function, set ON the associated special M relays (M1243 and M1244) to disable the reset function.

8. “Dir” refers to direction control function. OFF indicates counting up; ON indicates counting down.

9. When X1, X3, X4 and X5 is applied for reset function and associated external interrupts are disabled, users can define the reset function as Rising/Falling-edge triggered by special M relays

Reset Function

X1

X3

X4

X5

R/F

M1271

M1273

M1274

M1275

 

 

 

 

 

10. When X1, X3, X4 and X5 is applied for reset function and external interrupts are applied, the interrupt instructions have the priority in using the input points. In addition, PLC will move the current data in the counters to the associated data registers below then reset the counters.

Special D

 

D1241, D1240

 

D1243, D1242

 

Counter

C243

C246

C248

C252

C244

C250

 

C254

External Interrupt

X1

X4(I400/I401)

X3

X5(I500/I501)

(I100/I101)

(I300/I301)

 

Example:

I101

EI

M1000

DCNT C243 K100

FEND

M1000

DMOV D1240 D0

IRET

END

When C243 is counting and external interrupt is triggerred from X1(I101), counted value in C243 will be move to (D1241, D1240) immediately then C243 is reset. After this interrupt I101 executes.

1-phase 1 input high-speed counter:

Example:

 

LD

X20

RST

C235

LD

X21

OUT

M1235

LD

X22

DCNT

C235 K5

LD

C235

OUT

Y0

X20

RST C235 X21

M1235 X22

DCNT C235 K5 C235

Y0

2 - 36

Page 68
Image 68
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Phase 1 input high-speed counter Example, Rst, Dcnt