Mitsubishi Electronics QD64D2 ユーザーズマニュアル

ページ / 154
7
PROGRAMMING
7.5 Program Example when the Coincidence Detection Interrupt Function is Used
7
 - 18
1
O
V
ER
VI
E
W
2
S
YST
EM
 
CONF
IGURA
T
ION
3
S
P
E
C
IF
ICA
T
IONS
4
P
R
O
C
EDURES
 AND 
S
E
T
T
INGS
 B
E
F
O
RE
 
OP
E
R
A
T
ION
5
F
UNCT
IONS
6
UT
IL
IT
Y
 P
A
CK
A
G
E
 (
G
X
 
C
onfi
gurato
r-C
T
)
7
P
R
OGRA
M
MING
8
TR
O
U
BL
ESHO
O
T
IN
G
(3) Program example
An interrupt must be enabled using the IMASK instruction before using an interrupt 
pointer.
POINT
 • When the above described program is executed, only I50 interrupt 
program is execution-enabled and other interrupt programs are 
execution-disabled. 
When executing interrupt programs other than I50, set the corresponding 
bit for interrupt program to be executed to 1 (enabled).
 • For details of the IMASK instruction, refer to the following manual.
MELSEC-Q/L Programming Manual (Common Instruction)
QD64D2 program
Interrupt program