Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming API 03 API 04 API 05 Explanations: 1. EI instruction allows interrupting subroutine in the program, e.g. external interruption, timer interruption, and high-speed counter interruption. 2. In the program, interruption subroutines are enabled between EI and DI instructions. If there is no section requires to be interrupt-disabled, DI instruction can be omitted. 3-48 Mnemonic Function Controllers SA2 ES2/EX2 SS2 SX2 SE IRET Interrupt Return Controllers SA2 ES2/EX2 SS2 SX2 SE OP Descriptions Program Steps N/A No contact to drive the instruction is required.

IRET ends the processing of an interrupt subroutine and returns execution back to the main program IRET: 1 step PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 SE Mnemonic Function Controllers SA2 ES2/EX2 SS2 SX2 SE EI Enable Interrupt Controllers SA2 ES2/EX2 SS2 SX2 SE OP Descriptions Program Steps N/A No contact to drive the instruction is required. Enables Interrupts, explanation of this instruction also coincides with the explanation of the DI (disable interrupts instruction), see the DI instruction for more information. M1050~M1059 EI:

1 step PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 SE Mnemonic Function Controllers SA2 ES2/EX2 SS2 SX2 SE DI Disable Interrupt Controllers SA2 ES2/EX2 SS2 SX2 SE OP Descriptions Program Steps N/A No contact to drive the instruction is required. DI instruction disables PLC to accept interrupts. When the special auxiliary relay M1050 ~ M1059 for disabling interruption is driven, the corresponding interruption request will not be executed even in the range allowed for interruptions. DI: 1 step PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 SE