Disable Interrupt 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 Interrupt Program ID number. The value range is 0 ~ 14. |
Notice
Instruction Behavior
The DI instruction behaves as follows:
- The Interrupt Program with the ID, n, will be disabled until the EI instruction is executed again.
- Once the EI instruction is executed after the execution of the DI instruction, the status changes from disabled to enabled.
- After the execution of the DI instruction, the disabled interrupt program, n, is ignored, including in the event of an interrupt.
- 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.