6 Application Instructions API 00-49
DVP-PLC Application Manual
6-8
API Mnemonic Function
03
IRET Interrupt Return
Controllers
ES/EX/SS SA/SX/SC EH/SV
OP Descriptions Program Steps
N/A
IRET ends the processing of an interruption subroutine and
returns to the execution of the main program.
IRET: 1 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Explanations:
1. No operand. No contact to drive the instruction is required.
2. Interruption return refers to interrupt the subroutine.
3. After the interruption is over, returning to the main program from IRET to execute the next instruction where the
program was interrupted.
API Mnemonic Function
04
EI Enable Interrupts
Controllers
ES/EX/SS SA/SX/SC EH/SV
OP Descriptions Program Steps
N/A
See more details of the explanation on this instruction in DI
(Disable Interruption) instruction.
EI: 1 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Explanations:
1. No operand. No contact to drive the instruction is required.
2. The pulse width of the interruption signal should be >200us.
3. See DI instruction for the range of the No. of I for all models.
4. See DI instruction for more details about M1050 ~ M1059, M1280 ~ M1299.
API Mnemonic Function
05
DI Disable Interrupts
Controllers
ES/EX/SS SA/SX/SC EH/SV
OP Descriptions Program Steps
N/A
When the special auxiliary relay M1050 ~ M1059, M1280 ~
M1299 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
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Explanations:
1. No operand. No contact to drive the instruction is required.
2. EI instruction allows interrupting subroutine in the program, e.g. external interruption, timed interruption, and
high-speed counter interruption.