2 Instructions
DI
Instruction
DISABLE INTERRUPTS
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Flags
Name
Error Flag
Function
DI(693) is executed from the main program to temporarily disable all interrupt tasks (I/O interrupts,
scheduled interrupts).
Precautions
All interrupt tasks will remain disabled until EI(694) is executed.
DI(693) cannot be executed from an interrupt task.
Sample program
0.00
DI
2-306
Mnemonic
Variations
DI
@DI
Label
P_ER
• ON if DI(693) is executed from an interrupt task.
• OFF in all other cases.
Disables execution of
all interrupt tasks
Function
code
Disables execution of all interrupt tasks except the
693
power OFF interrupt.
DI
DI(693)
Subroutines
OK
Operation
When CIO 0.00 is ON in the following example,
DI(693) disables all interrupt tasks.
CP1E CPU Unit Instructions Reference Manual(W483)
Function
Interrupt tasks
Not allowed