CNC Machinist Calculator Ultra

Home › M-codes › LinuxCNC Tormach › M6

M6 Tool change

LinuxCNC Tormach M-code · Mill and lathe

Changes to the tool picked by the last T word and stops the spindle. It does not apply the length offset.

Format

T M6

Addresses

AddressWhat it does
TTool number to load

How it works

Non modal.

Example program

G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
G91 G30 Z0 (Z UP)
G90
T2 M6 (CHANGE TO TOOL 2)
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M61 · G43 · G30

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
Heidenhain TNC (ISO)Tool change
Fagor 8055 8065Tool 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 LinuxCNC Tormach 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 LinuxCNC Tormach M-codes

App Store Google Play