Disable Scan Program
Instruction Parameters
Supported PLC Series
| XPnA/1R | XPnB | XPnE | XPnF | CP3A/B/P/U CP4A~D/U | CPnE | CPnF | BP | PLC-S |
|---|---|---|---|---|---|---|---|---|
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Supported Data Registers
| M | X | Y | K | L | F | T | C | S | Z | R | Q | D | @D | Constant | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ✓ |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | - |
| Zero | F11.1 | - |
| Carry | F11.2 | - |
Number of Steps
| Steps |
|---|
| 2 |
Operands
| Operand | Description |
|---|---|
| n | The only operand. Entries are only constants. This is the Scan Program ID number. The value range is 0 ~ 111. |
Notice
Instruction Behavior
The DPGM instruction behaves as follows:
- The DPGM instruction disables the scan program ID, n.
- 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.
- When the DPGM instruction is executed, the specified scan program ID, n, is disabled after the END instruction is executed.
- The DPGM instruction can only disable normal scan programs, periodic interrupt programs, and sequential function chart (SFC) programs.