8 PROGRAMMING
8.3 Example of a Program Using the Coincidence Detection Interrupt Function
8 - 9
The following describes an example of a program that starts an interrupt program upon
detection of coincidence with the channel 1 coincidence output point No. 1.
(1) Interrupt point setting
Set the interrupt pointer by selecting "PLC parameter" - " PLC system" –
"Intelligent functional module setting" – "Interrupt point settings" in the project
data list of GX Developer.
(2) Program example
Before using an interrupt pointer, an interrupt must be enabled using the IMASK
instruction.
QD62(E/D) program
Interrupt program
MELSEC-Q
8 - 9