859
Interrupt Control Instructions Section 3-20
Precautions EI(694) does not require an execution condition. It is always executed with an
ON execution condition. EI(694) enables the interrupt tasks that were disabled
by DI(693).
It cannot unmask I/O interrupts that have not been unmasked by MSKS(690)
or set scheduled interrupts that have not been set by MSKS(690).
EI(694) cannot be executed in an interrupt task.
Examples In the following example, EI(694) enables all interrupt tasks that were disabled
by DI(693).
Note When the power OFF interrupt task is disabled for a CS1-H, CJ1-H, CJ1M
CPU Unit, or CS1D CPU Unit for Single-CPU System, power OFF processing
will also be enabled at the same time.
3-20-6 Summary of Interrupt Control
The interrupt control instructions control or read settings for I/O interrupts and
scheduled interrupts. (DI(693) and EI(694) control the operation of external
interrupts as well as I/O interrupts and scheduled interrupts.)
000000
Disables execution of all interrupt tasks
(except the power OFF interrupt).
Enables execution of all disabled
interrupt tasks.
DI
END
EI
END
All interrupt
tasks disabled.
Power OFF
processing
disabled.
Task No. 0
Task No. 1