The leader in industrial automation and control solutions

Instruction Parameters

Supported PLC Series

PLC-AESPLC-FBPLC-ES

Supported Data Registers

MXYKLFTCSZRQD@DConstant

Supported Flags

FlagBitSupport
ErrorF11.0
ZeroF11.1
CarryF11.2

Number of Steps

Steps
1

Notice

Instruction Behavior

The IRET instruction behaves as follows:

  • The IRET instruction ends the periodic interrupt program.
  • After executing the IRET instruction, the process returns to the scan program.
  • The IRET instruction can only be used in the periodic interrupt programs.
    • A compile error is thrown if the IRET instruction is used in other programs.

Ladder Diagram Examples

IRET

The IRET instruction defines the end of a periodic interrupt program.

The IRET instruction defines the end of a periodic interrupt program.