CNC Machinist Calculator Ultra

Home › G-codes › LinuxCNC Tormach › G18

G18 XZ plane select

LinuxCNC Tormach G-code · Mill and lathe

Selects the XZ plane. Required on lathes for arcs, nose radius compensation and lathe cycles.

Format

G18

Addresses

AddressWhat it does
noneNo words

How it works

Modal, plane group.

Example program

G20 G18 G7 G40 G80 G90 G94 (INCH, XZ PLANE, DIAMETER MODE)
T1 M6 G43 (TURNING TOOL)
G97 S1200 M3
G0 X0.8 Z0.1
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G17 · G19 · G7

G18 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucZX plane select
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
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 LinuxCNC Tormach 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 LinuxCNC Tormach G-codes

App Store Google Play