CNC Machinist Calculator Ultra

Home › G-codes › Mitsubishi M70 M80 › G42

G42 Cutter radius comp right / Tool nose radius comp right

Mitsubishi M70 M80 G-code · Mill, Lathe

On mills: Cutter radius comp right

Offsets the tool to the right of the path by the radius in the D offset. Conventional milling on an outside profile.

Format

G42 D X Y

Addresses

AddressWhat it does
DRadius offset number
X YLead in move

How it works

Modal, group 07. Cancel with G40.

Example program

G00 X3. Y-1. (START OFF PART)
G42 D02 G01 Y0. F20. (COMP ON)
X0. (PROFILE)
G40 G00 Y-1. (COMP OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Tool nose radius comp right

Offsets the tool nose to the right of the path. Usually used for OD turning toward the chuck.

Format

G42 G01 X Z

Addresses

AddressWhat it does
X ZLead in move

How it works

Modal, group 07. Cancel with G40.

Example program

G00 X2.2 Z.1 (APPROACH)
G42 G01 Z0. F.008 (COMP ON)
X1.5 (FACE)
Z-1. (TURN)
…

The full 5-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
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
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 Mitsubishi M70 M80 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 Mitsubishi M70 M80 G-codes

App Store Google Play