EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #766 background imageLoading...
Page #766 background image
3. Instructions
728
CS/CJ/NSJ Series Instructions Reference Manual (W474)
EI
Applicable Program Areas
Flags
Related Auxiliary Area Words and Bits
Function
• 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 interrupts).
• When a CJ2, CS1-H, CJ1-H, CJ1M and CS1D CPU Unit for Single-CPU System 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 instructions
between DI(693) and EI(694) have been executed. Refer to 3-21-4 DISABLE INTERRUPTS: DI(693)
for details on using DI(693) to disable power OFF interrupt processing.
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.
Instruction Mnemonic Variations
Function
code
Function
ENABLE INTERRUPTS EI --- 694
Enables execution of all interrupt tasks that were
disabled with DI(693).
Symbol
EI
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK Not allowed OK
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 executed.
Any other value:
Disables the Power OFF Processing mask.
EI(694)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals