Delta DVP-ES2 User Manual
Page 165
3 . I n s t r u c t i o n S e t
3 - 4 9
API Mnemonic
Function
03
IRET Interrupt
Return
Controllers
ES2/EX2 SS2
SA2
SE
SX2
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 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
API Mnemonic
Function
04
EI Enable
Interrupt
Controllers
ES2/EX2 SS2
SA2
SE
SX2
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 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
API Mnemonic
Function
05
DI Disable
Interrupt
Controllers
ES2/EX2 SS2
SA2
SE
SX2
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 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
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.