392
Enable Interruption [EI], Disable Interruption [DI], Interruption Return [IRET]
Note: In interrupt subroutine, only simple instructions such as set, reset, transmission and
operation can be written, which can be executed in a scanning cycle. Other instructions such
as sending pulses, timing (except for precise timing), communication and other instructions
that need to be continuously executed are not supported.
If use EI instruction to allow
interruption, then when scanning the
program, if interruption input
changes from OFF to ON, then
execute subroutine
① 、 ②
. Return
to the original main program.
Interruption pointer (I****) should
be behind FEND instruction;
PLC is usually on the status that
allows interruption.
By programming DI instruction, can
set interruption disabled area;
Allow interruption input between
EI~DI
If interruption forbidden is not
required, please program only with EI,
and program with DI is not required.
Interruption’s Range Limitation
tudonghoatoancau.com