Home › G-codes › Fagor 8055 8065 › G18
G18 ZX plane select
Fagor 8055 8065 G-code · Mill and lathe
Selects the ZX plane for arcs and radius comp. Usual plane on Fagor lathes. On mills Y becomes the length comp axis.
Format
G18
Addresses
| Address | What it does |
|---|---|
None | No addresses |
How it works
Modal. Replaced by G16, G17 or G19.
Example program
G18 G90 G00 X2.0 Z0.1 (ZX PLANE)
G01 Z-1.0 F0.008 (TURN)
G02 X2.5 Z-1.25 R0.25 (ARC IN ZX)
G01 Z-1.0 F0.008 (TURN)
G02 X2.5 Z-1.25 R0.25 (ARC IN ZX)
Example is in inch. Check offsets and clearances first.
Watch out for
- Lathe programs normally run in G18.
- On a mill, G18 moves tool length comp to Y unless G15 changes it.
Related codes
G18 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | ZX plane select |
| Haas NGC | XZ plane selection |
| Okuma OSP | Plane select ZX |
| Mitsubishi M70 M80 | ZX plane select |
| Brother Speedio | ZX plane select |
| Siemens 840D 828D | ZX working plane |
| LinuxCNC Tormach | XZ plane select |
| Mach3 Mach4 | XZ plane |
| Centroid CNC12 Acorn | ZX plane select |
| Hurco WinMax (NC) | ZX plane select |
| Fadal | ZX plane select |
| Swiss (Citizen Star) | XZ plane select |
Every G-code for Fagor 8055 8065 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 G18 in the app All Fagor 8055 8065 G-codes