Fanuc PS0203 rigid tapping alarm (M29): a G-code checker guide
A G-code checker catches Fanuc alarm PS0203 on its line: an S word between M29 and G84 stops a rigid tapping cycle. It catches the other rigid tapping mistake, PS0204, too.


How rigid tapping is set up on a Fanuc
On a Fanuc 0i-MF, rigid tapping is switched on with M29 S… just before the G84 (or G74 for left-hand) block. Between M29 and the cycle:
- No other S word (PS0203).
- No axis move.
- No second M29 while a tapping cycle is still active, before G80 (PS0204).
The feed F is the spindle speed times the pitch: 600 rpm × 1/20 in = 30 in/min for a 1/4-20 tap.
The fix
M29 S500
S600 (wrong: S between M29 and G84)
G99 G84 Z-0.5 R0.2 F30.
M29 S600 (right)
G99 G84 Z-0.5 R0.2 F30.
The full program after the fix:
%
O01101 (RIGID TAPPING - FANUC MILL)
(FANUC 0I-MF)
(STOCK 4.0 X 3.0 X 1.0 - X0 Y0 TOP LEFT FRONT CORNER)
(T3 #7 DRILL - DIA 0.201)
(T4 1/4-20 TAP)
G20 G17 G40 G49 G80 G90
T3 M06
G54 G00 X1. Y1.5 S2500 M03
G43 H03 Z1. M08
G99 G81 Z-0.6 R0.1 F12.
X2.
X3.
G80 G00 Z1. M09
T4 M06
G54 G00 X1. Y1.5
G43 H04 Z1. M08
M29 S600
G99 G84 Z-0.5 R0.2 F30.
X2.
X3.
G80 G00 Z1. M09
M05
G91 G28 Z0.
G90
M30
%
Haas mills tap rigidly with G84 and no M29; NC Proof checks each control by its own rules.

How the G-code checker finds it
NC Proof follows M29 through the program on Fanuc machines and flags an S word or a second M29 in the wrong place with its alarm number. It also checks tapping feeds against the pitch it reads from the tool description, such as 1/4-20 TAP.
Rigid tapping FAQ
What does Fanuc PS0203 mean?
An S word was given between M29 and the G84 or G74 tapping block. Put the speed on the M29 line: M29 S600.
What does Fanuc PS0204 mean?
M29 was given again while a tapping cycle was still active. Cancel the cycle with G80 first.
Does Haas need M29 for rigid tapping?
No. On Haas mills G84 is rigid tapping without M29.
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).