Home › G-codes › Haas NGC › G112
G112 XY to XC interpolation
Haas NGC G-code · Lathe
Lets you program a live tool on the face in Cartesian X and Y. The control converts the moves to X and C. Used for flats, slots and pockets on a lathe with C axis.
Format
G112
How it works
Modal, group 04. Cancel with G113.
Example program
T1111 (.5 END MILL, LIVE TOOL)
G17 G98 (XY PLANE, FEED PER MINUTE)
M133 P1500 (LIVE TOOL FORWARD 1500 RPM)
G00 G54 X2.35 C0 Z.1 (START POSITION)
…
G17 G98 (XY PLANE, FEED PER MINUTE)
M133 P1500 (LIVE TOOL FORWARD 1500 RPM)
G00 G54 X2.35 C0 Z.1 (START POSITION)
…
The full 10-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- All X values are radius while G112 is on.
- G98 feed per minute must be used. C cannot be programmed while G112 is on.
- Program the tool center. Do not cross spindle center in one move; cut on each side instead.
- G41 and G42 cutter comp are available with G112.
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 G112 in the app All Haas NGC G-codes