User`s manual

139
CHAPTER 4 FUNCTION
4
4.9 Periodic Pulse Counter Function
4.9.1 Periodic interrupt function
4.9.1 Periodic interrupt function
The periodic interrupt function conducts the interrupt request to the CPU module by the cycle time of the periodic pulse
counter function and starts an interrupt program.
(1) List of the interrupt factors
The QD65PD2 has total 10 points of interrupt factors (SI) as shown below, and 2 of them are corresponding to
the periodic pulse counter function.
(2) Setting for the interrupt request
To conduct the interrupt request with the interrupt factor SI No.8 or 9, set CH1 Periodic interrupt setting
(Un\G1001) to 1
H
: Interrupt.
Page 71, Section 3.4.2 (16)
(3) Setting of the interrupt pointer
Set and assign the interrupt factor (SI) of the QD65PD2 and the interrupt pointer of the programmable controller
CPU in the Intelligent Function Module Interrupt Pointer Setting of the programming tool.
Page 250, Section 7.3
The following figure shows an example of the setting to assign the interrupt factor SI No.8 or 9 to the
interrupt pointer I58 or 59, given that the QD65PD2 is mounted on the I/O slot No.20 of the main base unit.
SI No. Interrupt factor Reference
0 Coincidence detection at coincidence output 1
Page 122, Section 4.3.5
•••
•••
7 Coincidence detection at coincidence output 8
8 At the end of the cycle time of CH1 periodic pulse counter function
9 At the end of the cycle time of CH2 periodic pulse counter function
Ex.