Справочник Пользователя для Mitsubishi Electronics QD64D2

Скачать
Страница из 154
5
 - 24
5.3 Using the Counter Value Comparison Function
5.3.4 Coincidence detection interrupt function
5
FUNCTIONS
5.3.4
Coincidence detection interrupt function
Use the coincidence detection interrupt function to request an interrupt to the 
programmable controller CPU when a coincidence is detected, and start up the interrupt 
program.
(a) Up to 16-point interrupt factors (SI) are allowed for a single MELSEC-Q series 
intelligent function module.
As shown in Table 5.9, the QD64D2 has 4-point interrupt factors (SI) for 
coincidence detection.
Figure 5.10 Timing of interrupt signal generation
(b) It takes approximately 150 s from when the QD64D2 detects a coincidence until 
it requests an interrupt to the programmable controller CPU.
(c) Select [PLC parameter] - [PLC system] - [Intelligent function module setting] - 
[Interrupt pointer settings] to set the interrupt factors (SI) of the QD64D2 and 
interrupt pointers of the programmable controller CPU.
1) [PLC side] [Interrupt pointer start No.]
Set the start interrupt pointer number of the programmable controller CPU. 
Setting range: 50 to 255
Table 5.9 List of interrupt factors
SI No.
Interrupt factor
0
Channel 1: Coincidence detection of coincidence output No.1 point setting or continuous 
comparison No.1 point m setting
1
Channel 1: Coincidence detection of coincidence output No.2 point setting or continuous 
comparison No.2 point m setting
2
Channel 2: Coincidence detection of coincidence output No.1 point setting or continuous 
comparison No.1 point m setting
3
Channel 2: Coincidence detection of coincidence output No.2 point setting or continuous 
comparison No.2 point m setting
4 to 15
Reserved
*1
Timing of interrupt signal generation
I/O signals
Counter value 
coincidence No.1 
(X02)
Coincidence signal 
No.1 reset command 
(Y01)
Internal processing
 of the programmable
 controller CPU
Interrupt request
Interrupt request clear
Program processing in the 
programmable controller CPU
Interrupt program processing
*1 The coincidence signal No.1 reset command (Y01) is only used for the coincidence output function. 
For the continuous comparison function, the counter value coincidence No.1 (X02) automatically 
turns OFF after elapsing the set time of the continuous comparison No.1 ON time setting (Un\G52).