
B–63682EN/01
18. CUSTOM MACRO
NC FUNCTION
127
The range of common variables can be enlarged to #100 to #199, and #500
to #999 by the option.
When custom macro interruption signal is input during automatic
operation, the block currently under execution is interrupted and the
specified custom macro is activated. After execution of this custom
macro, it returns to the interrupted block and continues execution of the
remaining commands.
:
M96P_ ;
: When custom macro interruption signal is input between M96
block and M97 block, custom macro specified by P is activated.
M97;
:
This function enables an application like: Detect a broken tool, input a
custom macro interrupt signal, execute a custom macro for a tool
exchange cycle, and resume machining after tool exchange.
18.2
INCREASED
CUSTOM MACRO
COMMON
VARIABLES
18.3
INTERRUPTION TYPE
CUSTOM MACRO