10 Interrupts
10-10
CP2E CPU Unit Software User’s Manual(W614)
10-3 Scheduled Interrupts
Scheduled interrupts can be used with any model of CP2E CPU Unit.
Scheduled interrupts can be used to execute interrupt tasks at fixed time intervals measured by the
CPU Unit’s internal timer.
10-3-1 Overview
END
END
Cycle
Cyclic tasks
(ladder programs)
I/O refresh
Interrupt occurs
Interrupt task
Ladder program
Specified interval
Minimum interval: 1 ms
1ms 1ms 1ms
Condition for
accepting interrupts
Internal timer
Cyclic task execution
MSKS instruction executed
to set the scheduled
interrupt interval
Scheduled Interrupt Interval =
0.5 ms (example)
Execution
interrupted
Execution
interrupted
Execution
interrupted
Cyclic task
execution
Cyclic task
execution
Executing
scheduled
interrupt
task 1
Executing
scheduled
interrupt
task 1
Executing
scheduled
interrupt
task 1