Skip to main content

Enable General Interrupt Programs

Instruction Parameters

Supported PLC Series

XPnA/1RXPnBXPnEXPnFCP3A/B/P/U
CP4A~D/U
CPnECPnFBPPLC-S

Supported Data Registers

MXYKLFTCSZRQD@DConstant
---------------

Supported Flags

FlagBitSupport
ErrorF11.0-
ZeroF11.1-
CarryF11.2-

Number of Steps

Steps
1

Notice

Instruction Behavior

The GEI instruction behaves as follows:

  • The GEI instruction enables execution of general periodic interrupt programs.
  • Once the GEI instruction is executed, the enabled status is maintained.
  • Interrupts set by a parameter can be executed after the GEI instruction.
  • When the CPU switches from STOP to RUN mode, all interrupt programs
  • When the CPU has switched from STOP to RUN mode, all interrupt programs are disabled by the DI instruction.
    • To use general interrupt programs, execute the GEI instruction.
Automatic Enable

Interrupt programs of CPU types such as the XPnB/E, CP3E, CP4E/F, and PLC-S are enabled with the GEI instruction as a default.
These CPUs do NOT need to execute the GEI instruction when the RUN/STOP key switch is changed from STOP to RUN.

Examples