Fanuc PS0055 chamfer and corner R errors: a G-code checker guide

A G-code checker shows the corner behind Fanuc alarm PS0055 before the control alarms. The alarm comes from the optional chamfer and corner R words, ,C and ,R: the chamfer or radius is longer than the move before or after the corner, so the control has no room to insert it.

G-code checker on a Fanuc mill: ,C0.6 chamfer is longer than the move before or after the corner, PS0055, line 14
NC Proof Mill · Fanuc 0i-MF: a ,C0.6 chamfer before a 0.5 in move
NC Proof G-code checker on a Fanuc 0i-MF mill: the error on line 14 marked in the code, in the Errors & warnings list and in the 3D view
The whole app: line 14 lit in the code, the message under it, the 3D view at that moment

How ,C and ,R work

On a Fanuc 0i-MF, ,C at the end of a G01 block cuts a chamfer of that length at the corner with the next block, and ,R a corner radius. Fanuc lathes have the same words. The control shortens both moves to fit it in, so:

  • The chamfer or radius must be shorter than both moves. Longer, and it alarms PS0055.
  • The next block must be a cutting move in the same plane (G01, G02 or G03 on Fanuc; PS0051 / PS0052 otherwise).
  • No chamfer or radius in a threading block (PS0050).

The fix

X3.6 ,C0.6
Y2.5        (wrong: 0.5 in move, 0.6 in chamfer)
X4.

X4. ,C0.25  (right: one corner, chamfer shorter than both moves)

The full program after the fix:

%
O01100 (CHAMFER AND CORNER R - FANUC MILL)
(FANUC 0I-MF)
(STOCK 4.0 X 3.0 X 1.0 - X0 Y0 TOP LEFT FRONT CORNER)
(T1 1/2 FLAT END MILL - FLUTE 1.0 - STICK OUT 1.5)
G20 G17 G40 G49 G80 G90
T1 M06
G54 G00 X-0.5 Y-0.5 S3000 M03
G43 H01 Z1. M08
Z0.1
G01 Z-0.25 F10.
G41 D01 X0. Y0. F20.
Y3. ,R0.5
X4. ,C0.25
Y0.
X0.
G40 G01 X-0.5 Y-0.5
G00 Z1. M09
M05
G91 G28 Z0.
G90
M30
%
The fixed program on a Fanuc 0i-MF mill 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 inserts each ,C and ,R corner the way the control does and checks the moves on both sides. A corner it cannot insert is an error with the Fanuc alarm number. Haas mills read ,C and ,R too, and get the same check.

Fanuc ,C ,R FAQ

What does Fanuc PS0055 mean?

The chamfer (,C) or corner radius (,R) is longer than the move before or after the corner, so the control cannot insert it.

What must follow a ,C or ,R block?

A cutting move in the same plane: G01, G02 or G03 on Fanuc. Anything else alarms PS0051 or PS0052.

Can a G-code checker check ,C and ,R corners?

Yes. NC Proof inserts them as the control does and flags a chamfer or radius that does not fit, on its line.

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