Home › G-codes › Haas NGC › G17
G17 XY plane selection
Haas NGC G-code · Mill, Lathe
On mills: XY plane selection
Selects the XY plane for arcs, cutter compensation and canned cycles. This is the normal plane on a vertical mill and the default at power on.
Format
How it works
Modal, plane group 02.
Example program
G00 X0. Y0. (ARC START)
G01 Z-.1 F10. (FEED DOWN)
G02 X1. Y0. I.5 J0. F15. (ARC IN THE XY PLANE)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Put G17 in the safe start line so an old G18 or G19 does not carry over.
On lathes: XY plane selection
Selects the XY plane for arcs and cutter comp. Used for face milling with live tools and with G112.
Format
How it works
Modal, group 02.
Example program
G17 (XY PLANE FOR FACE MILLING)
G98 (FEED PER MINUTE)
G112 (XY TO XC INTERPOLATION)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Plane codes are modal. Go back to G18 after live tool work in G17 or G19.
- Tool nose comp applies in the active plane.
Related codes
G17 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | XY plane select |
| Mazak (EIA) | XY plane selection |
| Okuma OSP | Plane select XY |
| Mitsubishi M70 M80 | XY plane select |
| Brother Speedio | XY plane select |
| Siemens 840D 828D | XY working plane |
| Heidenhain TNC (ISO) | Working plane XY, tool axis Z |
| Fagor 8055 8065 | XY plane select |
| LinuxCNC Tormach | XY plane select |
| Mach3 Mach4 | XY plane |
| Centroid CNC12 Acorn | XY plane select |
| Hurco WinMax (NC) | XY plane select |
| Fadal | XY plane select |
| Swiss (Citizen Star) | XY plane select |
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 G17 in the app All Haas NGC G-codes