Home › G-codes › Okuma OSP › G16
G16 Work coordinate system select, one block
Okuma OSP G-code · Mill
Uses a work coordinate system for this block only, then goes back to the G15 system.
Format
G16 H X Y Z
Addresses
| Address | What it does |
|---|---|
H | Work coordinate system number |
X Y Z | Position in that system |
How it works
One shot. Active only in its own block.
Example program
O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X1. Y1. (POSITION IN SYSTEM 1)
N3 G16 H5 X0 Y0 (ONE MOVE IN SYSTEM 5)
…
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X1. Y1. (POSITION IN SYSTEM 1)
N3 G16 H5 X0 Y0 (ONE MOVE IN SYSTEM 5)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Good for one move in another system, such as a probe or a clamp clearance point.
- The next block returns to the G15 system without a command.
Related codes
G16 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Polar coordinate command |
| Mazak (EIA) | Polar coordinate input on |
| Brother Speedio | Polar coordinate command |
| Heidenhain TNC (ISO) | Tangential arc, polar |
| Fagor 8055 8065 | Main plane by two axes |
| Mach3 Mach4 | Polar coordinates on |
| Hurco WinMax (NC) | Polar coordinates |
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 G16 in the app All Okuma OSP G-codes