CNC Machinist Calculator Ultra

Home › M-codes › LinuxCNC Tormach › M61

M61 Set current tool number

LinuxCNC Tormach M-code · Mill and lathe

Tells LinuxCNC which tool is in the spindle without doing a tool change.

Format

M61 Q

Addresses

AddressWhat it does
QTool number, 0 or higher

How it works

Non modal.

Example program

M61 Q3 (TOOL 3 IS IN THE SPINDLE)
G43 (APPLY ITS LENGTH)
G0 Z1

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M6 · G43

M61 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCBuilt in M code relay 1 off
Doosan (Fanuc)Left spindle winding change low speed
DMG Mori MAPPS (Fanuc)APC start command
Hurco WinMax (NC)Chip conveyor stop
FadalA axis brake off

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 M61 in the app All LinuxCNC Tormach M-codes

App Store Google Play