7 APPLICATION INSTRUCTIONS
7.3 Program Execution Control Instructions
553
7
Returning from the interrupt program
IRET
This instruction indicates the end of the processing of an interrupt program.
■Execution condition
• This instruction indicates the end of the processing of the interrupt program specified by the interrupt pointer (I).
• The instruction returns control to the sequence program after execution.
Ladder ST
Not supported
FBD/LD
Not supported
Instruction Execution condition
IRET Every scan
Error code
(SD0)
Description
33A0H There is no pointer corresponding to the interrupt number.
33A1H After an interrupt occurs, the END, FEND, GOEND, or STOP instruction is executed before the IRET instruction.
33A2H The IRET instruction is executed before the interrupt program specified by the interrupt pointer (I) is executed.
33A3H The IRET instruction is executed in a fixed scan execution type program.
33A4H The IRET instruction is executed in an event execution type program.
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)