CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G18

G18 ZX plane select

Fanuc G-code · Mill, Lathe

On mills: ZX plane select

Selects the ZX plane for arcs and cutter compensation. Used for side profiles with a ball end mill or for arcs cut in XZ.

Format

G18

How it works

Modal, group 02.

Example program

G18 (ZX PLANE)
G01 X0. Z0. F20. (START OF ARC)
G02 X.5 Z-.5 I0. K-.5 (QUARTER ARC IN XZ)
G17 (BACK TO XY PLANE)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: ZX plane select

Selects the ZX plane, the normal turning plane. Arcs and tool nose radius compensation work in this plane.

Format

G18

How it works

Modal, group 16. Power on default on a lathe.

Example program

G18 G40 G99 (ZX PLANE, COMP OFF, FEED PER REV)
T0101 (OD TURNING TOOL)
G96 S500 M03 (CSS)
G00 X2.1 Z.1 M08 (APPROACH)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G17 · G19 · G02 · G03

G18 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCXZ plane selection
Okuma OSPPlane select ZX
Mitsubishi M70 M80ZX plane select
Brother SpeedioZX plane select
Siemens 840D 828DZX working plane
Fagor 8055 8065ZX plane select
LinuxCNC TormachXZ plane select
Mach3 Mach4XZ plane
Centroid CNC12 AcornZX plane select
Hurco WinMax (NC)ZX plane select
FadalZX plane select
Swiss (Citizen Star)XZ plane select

Every G-code for Fanuc 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 Fanuc G-codes

App Store Google Play