
13. Program Support Functions
13.12 Macro Interrupt; ION, IOF
384
Outline of operation
(1) When a user macro interrupt signal (UIT) is input after an ION a1
; command is issued by the
current program, interrupt program La1 is executed. When an G23; command is issued by the
interrupt program, control returns to the main program.
(2) If G23 Hh1 ; is specified, the blocks from the one next to the interrupted block to the last one
are searched for the block with sequence number Nh1;. Control thus returns to the block with
sequence number Nh1 that is found first in the above search.
Current program
User macro
interrupt signal
(UIT)
Interrupt program
ION a1;
Nh1 ;
IOF
La1 ;
G23(Hh1) ;
Interrupt signal
(UIT) not
acceptable within
a user macro
program
(If Hh1 is specified)
Nh1 ;
"User macro
interruption"
signal is
acceptable
.
"User macro
interruption"
signal is
not acceptable
.
M30 ;