Home › G-codes › Haas NGC › G171
G171 Radius programming override
Haas NGC G-code · Lathe
Makes all X values radius instead of diameter until G170 or program end.
Format
G171
How it works
Modal, group 20. Cancel with G170, M02 or M30.
Example program
G171 (RADIUS PROGRAMMING)
G00 X1.05 Z.1 (2.1 DIAMETER)
G170 (CANCEL)
G00 X1.05 Z.1 (2.1 DIAMETER)
G170 (CANCEL)
Example is in inch. Check offsets and clearances first.
Watch out for
- Every X value is half of what you are used to. Check the first move carefully.
- M00 and M01 do not cancel it.
Related codes
Every G-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G171 in the app All Haas NGC G-codes