Skip to main content

Periodic Interrupt Program

Periodic Interrupt Program​

The periodic interrupt program is executed at intervals specified by the interrupt period.

Configuration​

  1. To configure the periodic interrupt program, specify the interrupt ID.
    • The number must be unique between 1 ~ 15.

  1. Periodic interrupt program will appear in the PLC parameter. To open, left-click Parameter and left-click PLC Parameter.

  1. Periodic interrupt programs can be configured under the Interrupt section.
    • The lowest priority number has the highest priority.

To run the periodic interrupt program, use the GEI instruction. To execute the periodic interrupt program, use the EI instruction.

For CM1-XPnB CPU types, the periodic interrupt program is executed automatically if it was registered previously.

If the interrupt feature is disabled using the DI instruction on a CM1-XPnB CPU, the GEI instruction must be used to enable the interrupt feature again.

The periodic interrupt program must end with the IRET instruction.