35 Interrupt Function and Pulse Catch Function
793
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction List
35.2 Common items
35.2 Common items
35.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.
Set an interrupt pointer