8 Interrupt Function and Pulse Catch Function
8.2 Common items
806
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
8.2 Common items
8.2.1 Interrupt function
Three types of interrupt, namely, input interrupt, timer interrupt and counter interrupt, are available.
Observe the following in creating an interrupt program.
1) Create a task for interrupt and main program.
2) Set an interrupt pointer in the event box for the interrupt program.
For the interrupt pointers set in the event box, refer to their respective explanations.
3) The IRET instruction does not need to be programmed because, at the time of compilation, it is
automatically added to the end of the program registered for the interrupt program task.