858
Interrupt Control Instructions Section 3-20
3-20-5 ENABLE INTERRUPTS: EI(694)
Purpose Enables execution of all interrupt tasks that were disabled with DI(693).
When a CS1D CPU Unit for Single-CPU System or a CS1-H, CJ1-H, or CJ1M
CPU Unit is being used and the power OFF interrupt task is disabled, EI(694)
simultaneously releases the disabled power OFF interrupt processing.
Ladder Symbol
Variations
Applicable Program Areas
Description EI(694) is executed from the main program to temporarily enable all interrupt
tasks that were disabled by DI(693). DI(693) disables all interrupts except the
power OFF interrupt (I/O interrupts, scheduled interrupts, and external inter-
rupts).
CS1-H, CJ1-H, and CJ1M CPU Units and Power OFF Interrupts
When a CS1-H, CJ1-H, and CJ1M CPU Unit is being used and power OFF
interrupt processing has been disabled with DI(693), EI(694) will also release
the hold on power OFF interrupt processing. After DI(593) has been executed,
the CPU Unit will not be reset even if a power interruption is detected. The
CPU Unit will be reset after all of the instruction s between DI(693) and
EI(694) have been executed. Refer to
3-20-4 DISABLE INTERRUPTS:
DI(693)
for details on using DI(693) to disable power OFF interrupt process-
ing.
Flags
Related Flags and Words The following word is in the Auxiliary Area.
EI(694)
Variations Executed Each Cycle for Normally ON
Condition
EI(694)
Executed Once for Upward Differentiation Not supported
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK Not allowed
Name Label Operation
Error Flag ER ON if EI(694) is executed from an interrupt task.
OFF in all other cases.
Name Address Contents
Disable Setting for Power
OFF Interrupts
A530 A5A5 hex:
Enables the Disable Setting for Power
OFF Interrupts. Power OFF processing
(excluding execution of the Power OFF
interrupt task) is masked between the
DI(694) and EI(694) instructions, so
instructions up to EI(694) are exe-
cuted.
Any other value:
Disables the Power OFF Processing
mask.