CNC Machinist Calculator Ultra

Home › G-codes › Centroid CNC12 Acorn › G42

G42 Cutter compensation right / Nose radius compensation right

Centroid CNC12 Acorn G-code · Mill, Lathe

On mills: Cutter compensation right

Offsets the tool path to the right of the direction of travel by half the tool diameter stored in the D offset.

Format

G42 D

Addresses

AddressWhat it does
DTool diameter offset number

How it works

Modal. Cancel with G40.

Example program

G20 G17 G40 G49 G80 G90 ; INCH, SAFE START
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3
…

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

Watch out for

On lathes: Nose radius compensation right

Offsets the path right of travel by the tool nose radius stored for the active T offset. Used for most OD turning toward the chuck.

Format

G42

Addresses

AddressWhat it does
noneNo words

How it works

Modal. Cancel with G40.

Example program

G20 G99 G40 G97 ; INCH, FEED PER REV, RPM MODE
T0101 ; TOOL 1 WITH OFFSET 1
G50 S3000
G96 S500 M3
…

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

Watch out for

Related codes

G40 · G41

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
Heidenhain TNC (ISO)Radius compensation right
Fagor 8055 8065Tool radius compensation right
LinuxCNC TormachCutter compensation right
Mach3 Mach4Cutter comp right
Hurco WinMax (NC)Cutter compensation right
FadalCutter radius compensation right, conventional
Swiss (Citizen Star)Nose radius compensation right

Every G-code for Centroid CNC12 Acorn 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 Centroid CNC12 Acorn G-codes

App Store Google Play