Basic Instructions
2 − 91
Outline INT: Indicates the start of the interrupt program.
IRET: Indicates the end of the interrupt program.
Program example
Boolean
Ladder Diagram
Address Instruction
Interrupt program number
20
21
26
(INT 0 )
(ED )
(IRET )
20
21
26
....
ED
INT 0
IRET
....
Description
When an interrupt is input, the interrupt program of the number specified is executed starting from the INT
instruction.
When the interrupt program reaches the IRET instruction, the program returns to the address where the
interrupt occurred and the main program resumes.
ED
INT n
IRET
DF
X0
Interrupt
program n
ICTL, S1, S2
Main program
Interrupting
1
2
3
When the interrupt occurs, the program is executed in the order
1
−
2
−
3
shown above.
FP0/FP0R/FP−e/FPΣ/FP−X
INT
IRET
Interrupt
Interrupt return
Availability
FP0/FP0R/FP−e/
FPΣ/FP−X