
PROGRAMMING
B–63844EN/02
15. CUSTOM MACRO
353
When the interrupt signal (UINT) is input and an interrupt program is
called, the custom macro modal call is canceled (G67). However, when
G66 is specified in the interrupt program, the custom macro modal call
becomes valid. When control is returned from the interrupt program by
M99, the modal call is restored to the state it was in before the interrupt
was generated. When control is returned by M99Pxxxx;, the modal call
in the interrupt program remains valid.
When the interrupt signal (UINT) is input while a return operation is being
performed in the dry run mode after the search operation for program
restart, the interrupt program is called after restart operation terminates
for all axes. This means that interrupt type II is used regardless of the
parameter setting.
“Interruption type custom macro” cannot be done during DNC operation
or executing a program with an external input–output device.
D Custom macro interrupt
and custom macro
modal call
D Custom macro interrupt
and program restart
D DNC operation and
Interruption type custom
macro