Mitsubishi Electronics QD64D2 Drums User Manual


 
7 - 17
7.5 Program Example when the Coincidence Detection Interrupt Function is Used
7
PROGRAMMING
7.5 Program Example when the Coincidence Detection Interrupt
Function is Used
This section describes a program example to start an interrupt program upon detecting
coincidence of comparison point of channel 1.
(1) System configuration
Figure 7.6 System configuration when the coincidence detection interrupt function is used
(2) Program conditions
(a) Interrupt pointer setting
Set the values at [PLC parameter] - [PLC system] - [Intelligent function module
setting] - [Interrupt pointer setting] in the [Project data list] on GX Developer.
Set the values for this program example as shown below.
Figure 7.7 Intelligent function module interrupt pointer setting
(b) Devices used by users
Table 7.6 Devices used by users
Description Setting value
Interrupt enabled flag storage for the IMASK instruction D20 to D35
QD64D2
(X/Y00 to X/Y1F)