Returning From The Interrupt Program - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Returning from the interrupt program

IRET
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
This instruction indicates the end of the processing of an interrupt program.
Ladder
FBD/LD
Not supported
■Execution condition
Instruction
IRET
Processing details
• 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.
Operation error
Error code
Description
(SD0)
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.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Every scan
ST
Not supported
7 APPLICATION INSTRUCTIONS
7.3 Program Execution Control Instructions
7
553

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents