Program Execution Control Instructions; Interrupt Disable/Enable Instructions, Interrupt Program Mask (Di, Ei Imask) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS

6.6 Program Execution Control Instructions

6.6.1 Interrupt disable/enable instructions, interrupt program mask
(DI, EI, IMASK)
(1) When Basic model QCPU is used
Internal Devices
Set
(System, User)
Data
Bit
Word
S
[Instruction Symbol] [Execution Condition]
DI
IMASK
EI
[Set Data]
Set Data
S
[Functions]
DI
(1) Disables the execution of an interrupt program until the EI instruction has been executed, even
if a start cause for the interrupt program occurs.
(2) A DI state is entered when power is turned ON or when the system has been reset.
EI
(1) 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.
(2) Be sure to execute the EI instruction before executing a periodic program.
In
6 - 100
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Interrupt mask data or head number of device where interrupt mask data
is being stored
Sequence program
DI
Sequence program
EI
FEND
Interrupt program
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
Sequence program
Meaning
Even though an interrupt condition might
be generated between the DI and EI
instructions, the interrupt program will be
held until the entire cycle from DI to EI
has been processed.
MELSEC-Q/QnA
QnA
Process CPU
Index
Constant
Register
Other
K, H
Zn
DI
IMASK
S
EI
Data Type
BIN 16 bits
6 - 100
Q4AR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents