Home › G-codes › Haas NGC › G170
G170 Cancel radius or diameter override
Haas NGC G-code · Lathe
Cancels G171 and G172 so X goes back to the mode in Setting 285.
Format
G170
How it works
Modal, group 20.
Example program
G171 (X IS RADIUS)
G01 X.5 F.006 (1.0 DIAMETER)
G170 (BACK TO SETTING 285)
G01 X.5 F.006 (1.0 DIAMETER)
G170 (BACK TO SETTING 285)
Example is in inch. Check offsets and clearances first.
Watch out for
- M02 and M30 also reset G171 and G172.
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 G170 in the app All Haas NGC G-codes