CPM2A/CPM2C Interrupt Functions
Programming
2-1-3 Interval Timer Interrupts
ON for 1 cycle at beginning
of operation
(89)
Always ON
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.
Operation
Interrupt is executed once
when time has elapsed.
Set time
0.5 to 316,968 ms (Unit: 0.1 ms)
Interrupt
0.3 ms (from when time has elapsed until execution of interrupt
response time
program)
Clears Increment Area (DM 0000).
Permits interrupt for interrupt input 0 (input 00003).
E
Executed when input 00003 turns from OFF to ON.
Interval timer interrupt
Normal
program
Interrupt
Subroutine
program
One-shot mode
Interrupts are executed at
regular intervals.
Section
2-1
Scheduled-interrupt mode
37
Need help?
Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?
Questions and answers