EasyManua.ls Logo

Mitsubishi MELSEC Q Series - Page 345

Mitsubishi MELSEC Q Series
1296 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-143
IRET
1
2
3
4
4
6
7
8
6.6 Program Execution Control Instructions
6.6.2 Recovery from interrupt programs (IRET)
6.6.2 Recovery from interrupt programs (IRET)
IRET
Function
(1) Indicates the completion of interrupt program processing.
(2) Returns to sequence program processing following the execution of the IRET instruction.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• There is no pointer corresponding to the interrupt number. (Error code: 4220)
• The IRET instruction was executed before the interrupt program is executed.
(Error code: 4223)
• The END, FEND, GOEND, or STOP instruction has been executed after the generation of
an interrupt and prior to the execution of the IRET instruction. (Error code: 4221)
• The IRET instruction was executed during the fixed scan execution type program.
(For the Universal model QCPU, LCPU) (Error code: 4223)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– ––
Basic
Process
High
performance
Redundant
Universal
LCPU
IRET
I
IRET
**

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals