
18. CUSTOM MACRO
B–64112EN/01
NC FUNCTION
198
The range of common variables can be used to #100 to #199, and #500
to #999.
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 implementation of an application of detecting a
broken tool, entering a custom macro interrupt signal, executing a tool
change cycle using the custom macro, and then restarting machining after
the tool change.
18.2
ADDITION OF
CUSTOM MACRO
COMMON
VARIABLES
18.3
INTERRUPTION TYPE
CUSTOM MACRO