DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
-140
 When X2 (counter input) and X5 (external Interrupt I500/I501) work with C244, C250, C254,
the count value will be moved to D1242 and D1243 when interrupt occurs and then the
counter will be reset.
Program Example 4:
M1000
DCNT
C243 K1
00
EI
FEND
I101
M1000
IRET
END
DMOV
D1240 D0
 If interrupt I101 is triggered from input point X1 while C243 is counting, I101 interrupt
subroutine executes immediately and the count value in C243 will be moved to D0. After
this, C243 is reset.