Interrupt Enable, Disable, Return (Ei, Di, Iret) - Mitsubishi MELSEC-A Series Programming Manual

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

6. BASIC INSTRUCTIONS
6.5.3 Interrupt enable, disable, return
(EI, DI, IRET)
Bit device
X
Y
M
L
S
B
Required to the AnN, AnS,
AnSH, A1FX, A0J2H, A73
and A3N board
Interrupt pointer (10 to 31)
(Label)
Functions
The EI and DI instructions used with the AnN, AnS, AnSH, A1FX, A0J2H, A73 and
A3N vary in function with status of special relay M9053, as mentioned below.
When M9053 is ON:
When M9053 is OFF:
Available Device
Word (16-bit) device
F
T
C
D
W
R
M9036
M9036
I**
DI
(1) Disables the interrupt program until the EI instruction is executed so that
interrupt signals are ignored.
(2) When the PC CPU is RESET, interrupt program execution is disabled.
AnS
AnN
An
A1FX
Applicable
AnSH
CPU
*
*
O
Remark
* EI and DI instructions are valid only when special relay M9053 is OFF.
Link refresh enable/disable
(See Section 6.7.2 for details.)
Interrupt enable/disable
Constant
A0
A1
Z
V
K
H
RST
DI
RST
EI
IRET
6 − 65
MELSEC-A
AnU, A2AS
A2USH-S1
A3H
A2USH board
A3V
AnA
A0J2H
A3M
QCPU-A
(A Mode)
O
X
O
O
Pointer Level
P
I
N
M9012 (M9010, M9011)
M9053
EI Program
execution continues
M9053
IRET Interrupt
A2C
A3N
A73
A52G
board
*
*
*
X
program

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents