CNC Macro

CNC Macro is the program language built into numerical command (NC) equipment.
It uses variables and sub-pro calls.
Many cases of machining involve similar shapes of slightly varying dimensions, and  modifying the NC program each time is both inefficient and the cause of error.
This is when NC macros are the operator’s biggest ally.
Just set the dimensions to a macro variable to enable machining of shapes in different dimensions.

Features like IF, arithmetic, trigonometric functions, and G65 sub pro calls can also be used in NC macros to allow machining in complex plate cam shapes, too.

If there is a sequence always instructed in the same way before and after tool replacement, a tool replacement macro is often created to avoid mistakes in entering these sequences.
For example, set M66 as the macro call of the M code to be used similarly to TxxM66.

In addition to these, macros for routine indexing of the machining surface, and macros for the purpose of operating a probe to confirm position are also used.