183
Interrupt Tasks Section 4-3
4-3 Interrupt Tasks
4-3-1 Types of Interrupt Tasks
Interrupt tasks can be executed at any time in the cycle if any of the following
conditions are in effect.
The built-in interrupt inputs and high-speed counter inputs on a CJ1M CPU
Unit can be used to activate interrupt tasks. Refer to the CJ Series Built-in I/O
Operation Manual for details.
Note The CS1D CPU Units for Duplex-CPU Systems do not support interrupts.
With the CS1D CPU Units, interrupt tasks can be used only as extra cyclic
tasks.
I/O Interrupts (CS Series
Only)
The I/O interrupt task will be executed when input to the Interrupt Input Unit is
ON.
Scheduled Interrupts A scheduled interrupt task will be executed at fixed intervals.
Power OFF Interrupt The power OFF interrupt task will be executed when power is turned OFF.
GSBN
n
GSBS
n
GSBS
n
GRET
END
Cyclic task (including
extra cyclic task)
Call
Interrupt task 0
n = 0 to 1,023
Global subroutine
(shared subroutine
used for standard
programming)
Multiple tasks
Return
Call
Cyclic task (including
extra cyclic task)
Return
Exe-
cution
Interrupt
Input Unit
CPU Unit
Interrupt
Pro-
gram
CPU Unit
Fixed interval
Pro-
gram
Interrupt