Instruction 86- enable interrupt – Maple Systems MAPware-7000 User Manual
Page 141

133
MAPware-7000 Ladder Logic Guide
1010-1041 rev. 00
Instruction 86- Enable Interrupt
Expression:
Space Requirement: 1 line x 1 column Location Requirement: Middle, Right rail
Function:
When the input is ON, this instruction allows the execution of user designated interrupt
operations (i.e. timer interrupt and I/O interrupt programs) that may have been temporarily
disabled using the Disable Interrupt function.
Execution Condition:
Input
Operation
Output
OFF
No execution
OFF
ON
Execution
ON
Operand:
No operand is required.
Example:
In the above example, the DI instruction disables all Timer and I/O interrupts. Then the EI
instruction enables the interrupts again. As a result, Rung 2 instructions are executed without
possible interrupts disrupting the process.
Note
-
Refer to the Disable Interrupt (DI) instruction.
-
If an interrupt request occurs when the interrupt is disabled, the interrupt is kept
waiting and it will be executed just after the EI instruction is executed.
-
The Enable Interrupt (EI) instruction can be used only in the main program