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
X3
(I300/I301)
X1 X5(I500/I501)
X4(I400/I401)
External Interrupt (I100/I101)
Example:
M1000 DCNT C243 K100
EI
FEND
I101 M1000
IRET
END
DMOV D1240 D0
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
C235
Y0
X22
C235 K5DCNT
X21
C235RST
X20
M1235
RST C235
LD X21
OUT M1235
LD X22
DCNT C23 5 K5
LD C235
OUT Y0
2-36