Home › G-codes › Mach3 Mach4 › G17
G17 XY plane
Mach3 Mach4 G-code · Mill
Selects the XY plane for arcs, cutter comp and canned cycles. Z is the drilling axis. This is the default.
Format
G17
Addresses
| Address | What it does |
|---|---|
G17 | No address words |
How it works
Modal, plane group. Default.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
G17 G2 X1.0 Y0 I0.5 J0 F20.0 (ARC IN XY)
G0 Z1.0 (RETRACT)
G17 G2 X1.0 Y0 I0.5 J0 F20.0 (ARC IN XY)
G0 Z1.0 (RETRACT)
Example is in inch. Check offsets and clearances first.
Watch out for
- Mach3 cutter comp and G68 rotation work only in G17.
- Keep G17 in the safe start line.
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 |
| 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 |
| 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 Mach3 Mach4 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 Mach3 Mach4 G-codes