Home › G-codes › Heidenhain TNC (ISO) › G17
G17 Working plane XY, tool axis Z
Heidenhain TNC (ISO) G-code · Mill
Selects the XY plane with Z as tool axis. On the TNC it is written in the tool call block. G18 is ZX with Y axis and G19 is YZ with X axis. Klartext: TOOL CALL 1 Z.
Format
T G17 S
Addresses
| Address | What it does |
|---|---|
T | Tool number |
S | Spindle speed in rpm |
How it works
Modal. Set with each tool call.
Example program
N10 G30 G17 X+0 Y+0 Z-20 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 T1 G17 S4000 *
N40 G00 G40 G90 Z+250 *
N20 G31 G90 X+100 Y+100 Z+0 *
N30 T1 G17 S4000 *
N40 G00 G40 G90 Z+250 *
Example is in inch. Check offsets and clearances first.
Watch out for
- G18 and G19 select the other planes. Cycles and radius compensation work in the selected plane.
- The blank form G30 also carries the plane code.
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 |
| 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 Heidenhain TNC (ISO) 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 Heidenhain TNC G-codes