Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 736

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Interrupt Control Instructions
Examples
3-19-5 ENABLE INTERRUPTS: EI(694)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Description
Flags
Task No. 0
DI
END
Task No. 1
DI
END
When CIO 0.,00 is ON in the following example, DI(693) disables all interrupt
tasks.
0.00
Enables execution of all interrupt tasks that were disabled with DI(693).
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 (input inter-
rupts, scheduled interrupts, high-speed counter interrupts, and external inter-
rupts).
Name
Label
Error Flag
ER
DI instruction is valid.
Interrupt tasks are executed
under registered conditions.
DI instruction is valid.
Disables execution of all interrupt tasks.
Step program areas
Subroutines
OK
Operation
ON if EI(694) is executed from an interrupt task.
OFF in all other cases.
Section 3-19
EI(694)
Not supported
Not supported
Interrupt tasks
Not allowed
703

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents