Tool nose radius compensation on a lathe: G41, G42 and G40
Your diameters and faces measure perfectly, but the chamfers are short and the radii are wrong. The cause is almost always the round tip of the insert. Nose radius compensation (G41/G42) fixes it.
Why the error happens
A turning insert has a round nose, for example R0.8. The program, though, drives an imaginary sharp point: the corner where the X and Z touch-off lines meet. On straight Z moves (diameters) and straight X moves (faces) that point and the real nose cut the same line, so there is no error.
On a taper, a chamfer or an arc, the real nose does not touch the programmed line where the sharp point would:

- On a 45° chamfer at the front of a shaft, the nose stays 0.414 × r away from the line. With an R0.8 insert that is about 0.33 mm of material left, measured square to the chamfer.
- On a taper or arc going the other way (getting smaller towards the chuck), the nose cuts too deep instead.
- Arcs come out with the wrong radius.
What the control needs: R and T
In the tool offset page, each tool has two more columns:
- R: the nose radius of the insert, for example 0.8 or 0.4.
- T: the tip direction, a number that tells the control where the imaginary point is relative to the nose centre. On the common slant-bed lathe with the turret behind the spindle, an OD turning tool is usually 3 and a boring bar 2. Check the picture in your control manual, because the numbers depend on how the machine is built.
G41 or G42?
Look along the direction the tool is moving. If the tool is on the right of the material, use G42; if it is on the left, use G41. For the usual case:
| Operation | Code |
|---|---|
| OD turning towards the chuck | G42 |
| ID boring towards the chuck | G41 |
| Cancel | G40 |
Example: finishing with G42
T0202 G96 S220 M03 G42 G00 X16. Z3. (COMP ON, IN AIR) G01 Z0 F0.12 X20. X24. Z-2. (CHAMFER) Z-25. X30. G40 G00 X60. Z5. (COMP OFF, AWAY)
Rules that avoid gouges and alarms
- Turn it on in the air. Put G41/G42 on a G00 or G01 move towards the part that is longer than the nose radius, not on the first cutting move.
- Turn it off away from the part. Cancel with G40 on a move that leaves the finished surface.
- No long gaps without movement. Several blocks in a row without X or Z movement while compensation is on can make the control lose track of the path. Keep M codes and dwells short.
- Roughing cycles: on Fanuc, the G71 rough passes are not compensated. Put G42 before G70 so the finish pass is.
- Fill in R and T for every tool. Compensation with R0 does nothing; a wrong T moves the path the wrong way.
On Okuma OSP
OSP uses the same G41 and G42. The tool call T010101 has three parts: nose radius compensation number, tool number and offset number. The first pair selects the nose radius data.
If a chamfer or radius measures wrong while the diameters are right, check R and T first. Then simulate and run the finish pass in single block.
Calculators, process sheet to program, simulation, codes and lessons. Free to start, no sign-in, on phone and laptop.
Open the app

