CNC Machinist Calculator Ultra

Home › G-codes › Siemens 808D ISO › G40

G40 Cutter radius compensation off / Tool nose radius compensation cancel

Siemens 808D ISO G-code · Mill, Lathe

On mills: Cutter radius compensation off

Cancels G41 or G42. The tool center goes back onto the programmed path, on a straight G00 or G01 move.

Format

G40 G01 X Y

Addresses

AddressWhat it does
X YMove in the plane that takes the offset off

How it works

Modal, group 7. Default after power on.

Example program

G17 G90 G54 G00 X-20. Y-20. (START OUTSIDE CORNER)
G43 Z5. H01 (LENGTH OFFSET)
G01 Z-5. F200. (DEPTH)
G41 G01 X0. Y0. D01 F500. (COMP LEFT ON)
…

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

Watch out for

On lathes: Tool nose radius compensation cancel

Cancels tool nose radius compensation. The tool tip point then follows the programmed path. Active after power on and NC reset.

Format

G40

How it works

Modal, G group 07. Default at power on and reset.

Example program

G42 G01 X30.0 Z0.0 F0.1 (COMP ON, MOVE TO FACE)
G01 Z-25.0 (FINISH TURN)
G01 X52.0 (FACE OUT)
G40 G00 X150.0 Z100.0 (COMP OFF ON RETRACT)

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
Siemens 808DCancel tool radius compensation
Heidenhain TNC (ISO)Cancel radius compensation
Fagor 8055 8065Cancel tool radius compensation
LinuxCNC TormachCutter compensation off
Mach3 Mach4Cutter comp cancel
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 Siemens 808D 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 G40 in the app All Siemens 808D ISO G-codes

App Store Google Play