CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G15

G15 Work coordinate system select, modal

Okuma OSP G-code · Mill

Selects a work coordinate system by number with H. This is how Okuma picks the work zero instead of Fanuc G54 to G59.

Format

G15 H

Addresses

AddressWhat it does
HWork coordinate system number

How it works

Modal. Stays on until another G15 H.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 T1 M06 (.500 DRILL)
N3 G00 G90 X1. Y1. S1500 M03 (FIRST HOLE)
…

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

Watch out for

Related codes

G16 · G56 · G54 · G92

G15 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucPolar coordinate command cancel
Haas NGCSecondary spindle swap cancel
Mazak (EIA)Polar coordinate input off
Brother SpeedioPolar coordinate cancel
Fagor 8055 8065Longitudinal axis selection
Mach3 Mach4Polar coordinates off
Hurco WinMax (NC)Polar coordinates cancel
FadalYZ circular interpolation with A axis

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 G15 in the app All Okuma OSP G-codes

App Store Google Play