Instruction 87- disable interrupt – Maple Systems MAPware-7000 User Manual

Page 142

Advertising
background image

MAPware-7000 Ladder Logic Guide

134

1010-1041 rev. 00

Instruction 87- Disable Interrupt

Expression:

Space Requirement: 1 line x 1 column Location Requirement: Middle, Right rail

Function:

When the input is ON, this instruction disables the execution of user designated interrupt
operation, i.e. timer interrupt program and I/O interrupt programs.

Execution Condition:

Input

Operation

Output

OFF

No execution

OFF

ON

Execution

ON

Operand:

No operand is required.

Example:

In the above example, the interrupt is disabled when B000 is ON, and it is enabled when B000 is
OFF.

Note

-

Refer to the Enable Interrupt (EI) 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 Disable Interrupt (DI) instruction can be used only in the main program.

Advertising