CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G18

G18 Plane select ZX

Okuma OSP G-code · Mill

Selects the ZX plane for arcs and cutter radius compensation. Used for arcs in the side view.

Format

G18

How it works

Modal, plane group. Return to G17 when done.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 G18 (SELECT ZX 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

Related codes

G17 · G19

G18 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucZX plane select
Haas NGCXZ plane selection
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 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 G18 in the app All Okuma OSP G-codes

App Store Google Play