Home › G-codes › Siemens 808D ISO › G18
G18 Z-X plane select / ZX plane selection
Siemens 808D ISO G-code · Mill, Lathe
On mills: Z-X plane select
Selects the Z-X plane for arcs, cutter radius compensation and rotation. Arc center words are K and I. The fixed drilling cycles then drill along Y.
Format
How it works
Modal, group 2.
Example program
G18 (ZX PLANE)
G01 Z0. F200. (TO START OF ARC)
G02 Z-20. X20. R20. F300. (ARC IN ZX)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Turn off G68 rotation before changing plane. The angle carries over into the new plane.
- Program G18 in the same block as G41 or G42 or before it, never while compensation is on.
On lathes: ZX plane selection
Selects the ZX plane, the normal turning plane. G02, G03 and tool nose radius compensation work in this plane.
Format
How it works
Modal, G group 16, with G17 and G19.
Example program
G00 X150.0 Z100.0 (SAFE POINT)
G02 X30.0 Z-15.0 R5.0 F0.15 (ARC IN ZX PLANE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Put G18 in the safe start line so a plane left over from face work cannot make arcs go wrong.
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 |
| Siemens 808D | ZX working plane |
| Fagor 8055 8065 | ZX plane select |
| 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 Siemens 808D 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 G18 in the app All Siemens 808D ISO G-codes