CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G40

G40 Cutter comp cancel

Mach3 Mach4 G-code · Mill

Turns off cutter radius compensation. The tool center runs on the programmed path again.

Format

G40

Addresses

AddressWhat it does
G40No address words

How it works

Modal, cutter comp group. Default.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S8000 M3 (SPINDLE ON)
G43 H1 Z0.1 (LENGTH OFFSET)
…

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

Watch out for

Related codes

G41 · G42

G40 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCutter compensation cancel
Haas NGCCutter compensation cancel
Mazak (EIA)Cutter radius compensation cancel
Okuma OSPCutter radius compensation cancel
Mitsubishi M70 M80Cutter radius comp cancel
Brother SpeedioCutter compensation cancel
Siemens 840D 828DCancel tool radius compensation
Heidenhain TNC (ISO)Cancel radius compensation
Fagor 8055 8065Cancel tool radius compensation
LinuxCNC TormachCutter compensation off
Centroid CNC12 AcornCutter compensation cancel
Hurco WinMax (NC)Cutter compensation cancel
FadalCutter radius compensation cancel
Swiss (Citizen Star)Nose radius compensation cancel

Every G-code for Mach3 Mach4 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 G40 in the app All Mach3 Mach4 G-codes

App Store Google Play