Omron CS1G/H-CPUxxH Instructions Manual page 784

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Interrupt Control Instructions
Description
Flags
Related Flags and Words
Precautions
Examples
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
EI(694) doesn't 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 haven't been unmasked by MSKS(690) or
set scheduled interrupts that haven't been set by MSKS(690).
EI(694) cannot be executed in an interrupt task.
In the following example, EI(694) enables all interrupt tasks that were disabled
by DI(693).
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
Contents
763

Advertisement

Table of Contents
loading

Table of Contents