Returning From The Interrupt Program - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Returning from the interrupt program

IRET
This instruction indicates an end of the processing of an interrupt program.
Ladder diagram
Processing details
When an interrupt (input or timer) is generated while the main program is executing, the program execution jumps to an
interrupt (I) routine. The IRET instruction returns the program execution to the main routine.
The table below shows two types of jump to an interrupt routine.
Function
Interrupt from inputs (including
counter)
Internal timer interrupt
Operation error
Error code
Description
(SD0/SD8067)
33E6
The IRET instruction is executed in the main program.
7 APPLICATION INSTRUCTION
338
7.3 Program execution control instruction
Interrupt No.
Description
I0 to I23
Interrupt pointer used for the CPU built-in functions (such as input interrupt, high-speed comparison
match interrupt)
I28 to I31
Interrupt pointer used for fixed-cycle interrupts of the internal timer
Structured text
Not supported

Advertisement

Table of Contents
loading

Table of Contents