2-1
Section
CPM2A/CPM2C Interrupt Functions
37
Programming
ON for 1 cycle at beginning
of operation
Clears Increment Area (DM 0000).
Permits interrupt for interrupt input 0 (input 00003).
Always ON
Executed when input 00003 turns from OFF to ON.
(89)
E
2-1-3 Interval Timer Interrupts
One interval timer (precision: 0.1 ms) is supported and it can be set from 0.5 ms
to 319,968 ms. There are two interrupt modes: the one-shot mode, in which a
single interrupt is executed when the time is up, and the scheduled-interrupt
mode, in which interrupts are executed at regular intervals.
Interval timer interrupt
Normal
program
Interrupt
program
Subroutine
One-shot mode
Scheduled-interrupt mode
Operation
Interrupt is executed once
when time has elapsed.
Interrupts are executed at
regular intervals.
Set time
0.5 to 316,968 ms (Unit: 0.1 ms)
Interrupt
response time
0.3 ms (from when time has elapsed until execution of interrupt
program)