6. BASIC INSTRUCTIONS
6
−
65
MELSEC-A
6.5.3 Interrupt enable, disable, return
(EI, DI, IRET)
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:
Link refresh enable/disable
(See Section 6.7.2 for details.)
When M9053 is OFF:
Interrupt enable/disable
Available Device
Bit device
Word (16-bit) device
Constant
Pointer Level
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1 Z V K H P I N
D
igit specification
In
d
e
x
M9012 (M9010, M9011)
Functions 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
AnSH
An A1FX
A3H
A3M
A3V AnA
AnU, A2AS
A2USH-S1
A2USH board
QCPU-A
(A Mode)
A0J2H
A2C
A52G
A73
A3N
board
Applicable
CPU
O O X O
O
X
Remark
* EI and DI instructions are valid only when special relay M9053 is OFF.
EI Program
execution continues
IRET Interrupt
program
Required to the AnN, AnS,
AnSH, A1FX, A0J2H, A73
and A3N board
Interrupt pointer (10 to 31)
(Label)
M9036
RST
M9053
RST
M9053
DI
EI
IRET
M9036
I**
*
*
* *
*
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......