Special Functions
《Limitation of interruption’s bound》
FEND
I4010
IRET
DI
EI
《Disable Interruption》
EI
M8056
FEND
I4020
IRET
END
M0
z Normally time interruption is in the status of enable.
z Use EI、DI instructions can set enable interruption/ disable interruption bound.
See the preceding graph, in DI~EI section, all time interruption are disabled,
while beyond DI~EI section, all time interruption are enabled.
Enable interruption
Enable interruption
Disable interruption
Interrupt subroutine
Enable interruption
Interrupt Subroutine
z For the first 3 routes’ time interruption,
special relay of disable interruption is
given. (M8056~M8059)
z In the left example program, if use M0
to make M8056 “ON”, then disable the
time interruption of route 0.
22