Haas alarm 605 and Fanuc G76 decimal points: a G-code checker
A G-code checker catches Haas alarm 605, Invalid Tool Nose Angle, and the Fanuc G76 decimal point errors on their line, and both are the same mistake: a decimal point on a word the control reads as a whole number.


Haas: A60. in G76
On a Haas lathe the G76 thread angle A is a whole number of degrees, with no decimal point. A60. raises alarm 605:
G76 X0.6274 Z-1. K0.0613 D0.015 F0.1 A60. (wrong: alarm 605)
G76 X0.6274 Z-1. K0.0613 D0.015 F0.1 A60 (right)
Fanuc: P and Q in the second G76 line
On a Fanuc 0i lathe, P (thread height) and Q (first depth of cut) in the second G76 line are in the least input increment, 0.0001 in, with no decimal point:

G76 X0.6274 Z-1. P0.0613 Q0.015 F0.1 (wrong)
G76 X0.6274 Z-1. P613 Q150 F0.1 (right: 0.0613 in, 0.015 in)
The full Fanuc program after the fix:
%
O01097 (THREAD 3/4-10 - FANUC LATHE)
(FANUC 0I-TF)
(STOCK 0.750 DIA - STICK OUT 2.0)
(T0707 60 DEG OD THREADING TOOL)
G20 G18 G40 G99
G28 U0. W0.
T0707
G97 S600 M03
G00 X0.85 Z0.3 M08
G76 P010060 Q20 R0.001
G76 X0.6274 Z-1. P613 Q150 F0.1
G00 X3. Z3. M09
G28 U0. W0.
M30
%
The other way round
Leaving a decimal point off is just as dangerous. On a Fanuc set up as delivered, X1 is 0.0001 in, not 1 in, because a number with no decimal point counts in least increments. The control does not alarm; the tool simply goes somewhere else. Write lengths with a decimal point (X1.), and keep the whole numbers for the words that need them.

How the G-code checker finds it
NC Proof reads each word by the rules of the control you pick, and a decimal point the control would reject is an error naming the word. More on threading: G76 threading explained.
Decimal point FAQ
What is Haas alarm 605?
Invalid Tool Nose Angle: the A word of G76 is not a whole number of degrees, typically A60. with a decimal point. Write A60.
Why does Fanuc G76 want P613 instead of P0.0613?
In the second G76 line P and Q are in least input increments (0.0001 in), so 0.0613 in is written P613 and 0.015 in is Q150.
What does X1 mean on a Fanuc?
With the factory setting, 0.0001 in (or 0.001 mm). Write X1. for one inch.
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).