Enable Interrupts: Ei(694) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Interrupt Control Instructions

3-20-5 ENABLE INTERRUPTS: EI(694)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Description
Flags
Related Flags and Words
858
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.
EI(694)
Variations
Executed Each Cycle for Normally ON
Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
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.
Name
Label
Error Flag
ER
The following word is in the Auxiliary Area.
Name
Disable Setting for Power
OFF Interrupts
Step program areas
Subroutines
OK
Operation
ON if EI(694) is executed from an interrupt task.
OFF in all other cases.
Address
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.
Section 3-20
EI(694)
Not supported
Not supported
Interrupt tasks
Not allowed
Contents

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents