Fanuc PS0041 interference in cutter compensation: G-code checker

A G-code checker can find Fanuc alarm PS0041, interference in cutter compensation, before the control stops your lathe program with it. The alarm means the nose radius cannot follow the profile: a move between two corners is too short for the radius, so the compensated path would run backwards and cut into the part.

G-code checker on a Fanuc lathe: Fanuc PS0041 interference in cutter compensation on line 19, move 0.05 in long with a 0.031 in nose radius
NC Proof Turn · Fanuc 0i-TF: a groove 0.05 in wide, finished with a 0.031 in nose radius
NC Proof G-code checker on a Fanuc 0i-TF lathe: the error on line 19 marked in the code, in the Errors & warnings list and in the 3D view
The whole app: line 19 lit in the code, the message under it, the 3D view at that moment

What causes PS0041

With G41 / G42 on, the control moves the nose centre one radius away from the programmed line. Between two square inside corners, a move must be more than twice the nose radius long. Shorter, and the offset path runs against the programmed one, so the control stops with PS0041.

Typical causes:

  • A narrow groove in the finishing profile, cut with the finishing insert.
  • A small step or land in the profile, shorter than the nose radius allows.
  • A larger nose radius than the profile was written for.

The fix

Cut the groove with a grooving tool, outside the compensated profile:

X1.
Z-0.7
X0.9     (wrong: a 0.05 in groove in the
Z-0.75    finish pass, nose radius 0.031)
X1.

The full program after the fix (the groove is cut by T0505):

%
O01094 (NOSE RADIUS COMP CHECK - FANUC LATHE)
(FANUC 0I-TF)
(STOCK 1.250 DIA - STICK OUT 2.0)
(T0303 VNMG 332 OD FINISH - TNR 0.031)
(T0505 GROOVING TOOL 0.050 WIDE)
G20 G18 G40 G99
G28 U0. W0.
T0303
G50 S3500
G96 S600 M03
G00 G42 X0.7 Z0.1 M08
G01 Z0. F0.004
X0.8
Z-0.5
X1.
Z-1.
X1.3
G40 G00 X3. Z3. M09
T0505
G97 S800 M03
G00 X1.1 Z-0.75 M08
G01 X0.9 F0.002
G04 X0.2
G00 X1.1
X3. Z3. M09
G28 U0. W0.
M30
%
The fixed program on a Fanuc 0i-TF lathe in NC Proof: No errors, the part cut to the end
After the fix: the same program runs to the end with No errors

How the G-code checker finds it

NC Proof applies nose radius compensation with the radius and tip of each tool, and checks every compensated move. A move that would run backwards gets the Fanuc PS0041 text on its line. On this program it also marks line 18, where the nose cannot reach into the groove.

Fanuc PS0041 FAQ

What does Fanuc PS0041 mean?

Interference in cutter compensation: with the nose or cutter radius applied, a move would run against the programmed direction and cut into the part.

How short is too short?

Between two square inside corners, a move must be longer than twice the tool radius. With a 1/32 in nose radius that is 0.0625 in.

How do I avoid PS0041?

Use a smaller nose radius, widen the feature, or cut narrow grooves with a grooving tool outside the compensated profile. A G-code checker such as NC Proof shows the line first.

See every error the app checks on Errors & warnings. Paste your own program into NC Proof Turn or NC Proof Mill during the 4-day free trial (no card needed).

More from the blog