Skip to main content

Enable Scan Program

Instruction Parameters​

Supported PLC Series​

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

Supported Data Registers​

MXYKLFTCSZRQD@DConstant
n--------------✓

Supported Flags​

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

Number of Steps​

Steps
2

Operands​

OperandDescription
nThe only operand.
Entries are only constants.
This is the Scan Program ID number.

The value range is 0 ~ 111.

Notice​

Instruction Behavior

The EPGM instruction behaves as follows:

  • The EPGM instruction enables the scan program ID, n.
  • The EPGM instruction is used when a scan program is disabled by the DPGM instruction.
    • To enable a scan program disabled by the DPGM instruction, the EPGM instruction must be executed in a scan program with a different ID than the one that has been disabled.

Examples​