G-code reference

G41 G-Code: Cutter Radius Compensation Left

Cutter Radius Compensation Left — Offsets the tool path to the left of the programmed contour (looking in the direction of travel) by the value in the D register. With a right-hand cutter this…

By cnccode · Updated
PropertyValue
CodeG41
FunctionCutter Radius Compensation Left
Modal group07
TypeModal — stays active until replaced by another code of the same group
Used onMills and lathes
SyntaxG41 D_ G01 X_ Y_

What does G41 do?

Offsets the tool path to the left of the programmed contour (looking in the direction of travel) by the value in the D register. With a right-hand cutter this gives climb milling on outside contours.

G41 is modal: once programmed it remains in effect for the following blocks until another code from modal group 07 replaces it or the control is reset.

Syntax and parameters

Format
G41 D_ G01 X_ Y_
AddressMeaning
DOffset register holding the cutter radius (or wear only, with CAM "in control" output)

G41 example program

Example
G00 X-15.0 Y-15.0
G41 D01 G01 X0 Y-5.0 F600. (lead-in)
G01 Y50.0
X80.0

▶ Open this example in the G-code viewer

Tips and common mistakes

  • The lead-in move must be longer than the tool radius.
  • "Interference" alarms happen when an inside corner is smaller than the tool radius.
  • On lathes G41/G42 is tool-nose radius compensation and uses the tip direction (T) code.

Controller compatibility

G41 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G41 modal?
Yes. G41 belongs to modal group 07 and stays active until another code of that group is programmed.
What does G41 mean in CNC?
G41 means Cutter Radius Compensation Left. Offsets the tool path to the left of the programmed contour (looking in the direction of travel) by the value in the D register. With a right-hand cutter this gives climb milling on outside contours.
What is the difference between G41 and G42?
G41 is Cutter Radius Compensation Left, while G42 is Cutter Radius Compensation Right. See the G42 page for its syntax and examples.
Can I use G41 on a lathe?
Yes, G41 is used on both mills and lathes, although some parameters differ between them.