Home › G-codes › Okuma OSP › G17
G17 Plane select XY
Okuma OSP G-code · Mill
Selects the XY plane for arcs and cutter radius compensation. Normal plane on a vertical mill.
Format
G17
How it works
Modal, plane group. Usually active at power on.
Example program
O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 G17 (SELECT XY PLANE)
N3 G56 Z1. H1 (LENGTH OFFSET)
…
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 G17 (SELECT XY PLANE)
N3 G56 Z1. H1 (LENGTH OFFSET)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Cutter compensation and arcs use the active plane. Cancel G41 or G42 before changing plane.
- Put the plane code in the safe start line of every program.
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 |
| 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 Okuma OSP 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 Okuma OSP G-codes