EasyManuals Logo

Omron SYSMAC CP Series Instruction & Reference Manual

Omron SYSMAC CP Series
467 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 #343 background imageLoading...
Page #343 background image
2-307
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Interrupt Control Instructions
2
EI
EI
Applicable Program Areas
Flags
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 (I/O interrupts, scheduled interrupts).
Precautions
• EI(694) does not require an execution condition. It is always executed with an ON execution condi-
tion.
• 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.
Sample program
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 Step program areas Subroutines Interrupt tasks
Usage OK OK Not allowed
Name Label Operation
Error Flag P_ER • ON if EI(694) is executed from an interrupt task.
• OFF in all other cases.
EI(694)
Disables execution of all interrupt tasks.
Enables execution of all disabled interrupt
tasks.
0.00
EI
DI

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals