CNC Machinist Calculator Ultra

Home › M-codes › Heidenhain TNC (ISO) › M6

M6 Tool change

Heidenhain TNC (ISO) M-code · Mill

Tool change and spindle stop. Whether it stops the program depends on machine parameters. On most TNC machines the tool change happens with the tool call block.

Format

M6

Addresses

AddressWhat it does
M6No addresses

How it works

Non-modal. Acts at end of block.

Example program

N70 G00 Z+250 M6 *
N80 T2 G17 S4000 *
N90 G01 G40 Z+10 F5000 *

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M3

M6 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucTool change
Haas NGCTool change
Doosan (Fanuc)Atc tool change command
DMG Mori MAPPS (Fanuc)Tool change
Mazak (EIA)Chuck unclamp (releasing workpiece)
Okuma OSPTool Change
Mitsubishi M70 M80Tool change
Brother SpeedioTool change
Siemens 840D 828DTool change
Fagor 8055 8065Tool change
LinuxCNC TormachTool change
Mach3 Mach4Tool change
Centroid CNC12 AcornTool change
Hurco WinMax (NC)Tool change
FadalTool change
Swiss (Citizen Star)Main chuck close (Citizen)

Every M-code for Heidenhain TNC (ISO) in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open M6 in the app All Heidenhain TNC M-codes

App Store Google Play