System information
SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES)
comment is on the M6 block, it will be displayed to prompt the operator. The control shuts off
the spindle and coolant, and then it waits until it receives a tool-change-complete signal. The
spindle cannot be turned on until the tool change is completed. After the tool-change-complete
signal, the program will resume running. If the tool change parameters are set to manual tool
change, pressing the Cycle Start button is required after the tool-change-complete signal is
received to resume program operation. For safety reasons a manual tool change should never be
attempted unless the machine is in an M06 tool change command.
If the machine is equipped with an automatic tool changer, an F3 (Power) parameter, M6 (Tool
Change) MACRO exists to automatically change the tools. The tool change macro points to a
program that executes the tool change. These programs are specific to the tool changer and its
inputs and outputs. If an error exists in the program or the program is not present in the specified
directory, an error will appear upon power-up of the machine
.
Coolants on/off (M07, M08, M09)
These codes turn the coolants on (M07 mist, M08 flood) before an axis command is executed.
The coolant off command (M09) will be executed after an axis command.
Clamp for rotary table (M10)
This energizes the clamp or brake for the optional rotary table.
Release clamp on rotary table (M11)
This releases the brake for rotary table option.
Note: There is an F9 (Ctrl) “auto rotary brake” parameter that turns the brake on and off
automatically.
Tool changer codes (M19-M28)
These functions are used with the optional automatic tool changer. An M19 will orient the
spindle. The tool drum is controlled by M20 (tool drum home), M21 (tool drum CW) and M22
(tool drum CCW). The tool arm is controlled by M23 (Arm in) and M24 (Arm out). The drawbar
is controlled by M25 (drawbar on) and M26 (drawbar off). The orient roller is controlled by M27
(orient roller in) and M28 (orient roller out).
Disable Drives (M31)
It may be desirable to disable the drives (emergency stop) after running a long program when the
machine is unattended. The M31 will shut off the drives (emergency stop the machine).
306










