FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

PROGRAMMING
16. CUSTOM MACRO
B–62764EN/01
416
(iii) If there are no NC statements in the interrupt program, control is
returned to the interrupted program by M99, then the program is
restarted from the command in the interrupted block.
Execution in
progress
Normal program
Interrupted by macro interrupt
Execution in
progress
Interrupt signal (UINT) input
CNC command restart;
when there are no NC state-
ments in the interrupt pro-
gram
Custom macro
interrupt
(i) If the block being executed is not a block that consists of several cycle
operations such as a drilling canned cycle and automatic reference
position return (G28), an interrupt is performed as follows:
When an interrupt signal (UINT) is input, macro statements in the
interrupt program are executed immediately unless an NC statement
is encountered in the interrupt program. NC statements are not
executed until the current block is completed.
(ii) If the block being executed consists of several cycle operations, an
interrupt is performed as follows:
When the last movement in the cycle operations is started, macro
statements in the interrupt program are executed unless an NC
statement is encountered. NC statements are executed after all cycle
operations are completed.
Execution in
progress
Normal program
Execution in
progress
Interrupt signal (UINT) input
Custom macro
interrupt
NC statement in the
interrupt program
Type II
(when an interrupt is
performed at the end of
the block)

Leave a Reply

Your email address will not be published. Required fields are marked *