Home › G-codes › Mazak (EIA) › G17
G17 XY plane selection
Mazak (EIA) G-code · Mill
Selects the XY plane for arcs, cutter compensation and drilling cycles. This is the normal plane on a vertical machining center. G18 is ZX and G19 is YZ.
Format
G17
Addresses
| Address | What it does |
|---|---|
G17 | No addresses |
How it works
Modal, group 02. Usually the power on state.
Example program
G20 G17 G40 G49 G80 G90 (SAFETY LINE)
G54 G00 X0. Y0. (WORK OFFSET)
G43 H01 Z1. (LENGTH OFFSET)
G54 G00 X0. Y0. (WORK OFFSET)
G43 H01 Z1. (LENGTH OFFSET)
Example is in inch. Check offsets and clearances first.
Watch out for
- Put G17 in the safety line. A program left in G18 or G19 cuts arcs in the wrong plane.
- Drilling cycles drill along the axis normal to the plane, Z for G17.
Related codes
G17 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | XY plane select |
| Haas NGC | 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 Mazak (EIA) 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 Mazak G-codes