Enable 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 EI instruction behaves as follows:
- The Interrupt Program with the ID, n, will be enabled.
- The EI instruction enables execution of the interrupt programs that were disabled by the DI instruction.
- Once the EI instruction is executed, the enabled status is maintained.