13. Program Support Functions
13.12 Macro Interrupt; ION, IOF
386
[Type 1]
Interrupt program
If the interrupt program contains a move or
miscellaneous function command, the reset
block (2) is lost.
If the interrupted program contains no move
and miscellaneous commands, it resumes
operation from where it left in block (2), that is,
all the reset commands.
block(2)
block(2)
block(2)
block(2)
Main program
block(1)
block(3)
block(1)
block(3)
block(1)
block(3)
User macro interrupt
Interrupt program
User macro interrupt
Executing
[Type 2]
block(2)
block(2)
block(2)
Main program
block(1)
block(3)
block(1)
block(3)
block(1)
block(3)
If the interrupted program contains no move
and miscellaneous commands, the
interrupted program is kept executed in
parallel to execution of the interrupt
program block (3).
The move or miscellaneous command
in the interrupt program is executed
after completion of the current block.
Interrupt program
User macro interrupt signal
Interrupt program
User macro interrupt