CNC Machinist Calculator Ultra

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

G42 Cutter radius compensation right / Tool nose radius compensation right

Siemens 808D ISO G-code · Mill, Lathe

On mills: Cutter radius compensation right

Offsets the tool path to the right of the contour, looking in the direction of travel, by the radius in offset D. The plane comes from G17, G18 or G19.

Format

G42 G01 X Y D F

Addresses

AddressWhat it does
X YFirst move with compensation, in the active plane
DOffset number holding the radius. D00 is radius 0

How it works

Modal, group 7. Cancel with G40.

Example program

G17 G90 G54 G00 X-20. Y-20. (START OUTSIDE CORNER)
G43 Z5. H01 (LENGTH OFFSET)
G01 Z-5. F200. (DEPTH)
G42 G01 X0. Y0. D01 F500. (COMP RIGHT 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 right

Offsets the tool by the nose radius to the right of the path, seen in the cut direction. The usual choice for OD turning toward the chuck on a rear turret lathe.

Format

G42 G01 X(U) Z(W) F

How it works

Modal, G group 07. Cancel with G40.

Example program

T0101 (OD FINISH TOOL)
G00 X26.0 Z2.0 (START)
G42 G01 X30.0 Z0.0 F0.1 (COMP ON)
G01 Z-25.0 (FINISH TURN 30 DIA)
…

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

Watch out for

Related codes

G40 · G41 · G17

G42 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCutter compensation right
Haas NGCCutter compensation right
Mazak (EIA)Cutter radius compensation right
Okuma OSPCutter radius compensation right
Mitsubishi M70 M80Cutter radius comp right
Brother SpeedioCutter compensation right
Siemens 840D 828DTool radius compensation right
Siemens 808DTool radius compensation right
Heidenhain TNC (ISO)Radius compensation right
Fagor 8055 8065Tool radius compensation right
LinuxCNC TormachCutter compensation right
Mach3 Mach4Cutter comp right
Centroid CNC12 AcornCutter compensation right
Hurco WinMax (NC)Cutter compensation right
FadalCutter radius compensation right, conventional
Swiss (Citizen Star)Nose radius compensation right

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 G42 in the app All Siemens 808D ISO G-codes

App Store Google Play