EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Program Execution Control Instructions; Interrupt Disable, Interrupt Enable, Interrupt Program Mask

Mitsubishi Electric MELSEC-Q/L
1084 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
Loading...
6 BASIC INSTRUCTIONS
6.6 Program Execution Control Instructions
325
6
6.6 Program Execution Control Instructions
Interrupt disable, interrupt enable, interrupt program mask
DI, EI, IMASK
When the Basic model QCPU is used
Processing details
DI
Disables the execution of an interrupt program until the EI instruction has been executed, even if a start cause for the
interrupt program occurs.
A DI state is entered when power is turned ON or when the CPU module is reset.
EI
The EI instruction is used to clear the interrupt disable state resulting from the execution of the DI instruction, and to create
a state in which the interrupt program designated by the interrupt pointer number certified by the IMASK instruction can be
executed.
When the IMASK instruction is not executed, I32 to I47 are disabled.
(S): Interrupt mask data or head number of the devices where the interrupt mask data is stored (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
Bit Word Bit Word
(S) 
Basic
Process
High
performance
Redundant
Universal
LCPU
IMASK
DI
EI
Sequence program
SIMASK
DI
EI
Sequence program
DI
Sequence program
EI
In
FEND
Interrupt programs
Even if a cause of interrupt occurs during
the execution of the sequence program
between the DI and EI instructions, execution
of the interrupt program is suspended until
the processing of the sequence program
is completed.

Table of Contents

Related product manuals