Home › G-codes › Okuma OSP › G90
G90 Absolute programming
Okuma OSP G-code · Mill, Lathe
On mills: Absolute programming
All positions are measured from the work zero of the active G15 system.
Format
G90
How it works
Modal. Can be the power on default by parameter.
Example program
O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X1. Y1. (ABSOLUTE POSITION)
N3 G91 X.5 (INCREMENTAL MOVE)
…
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X1. Y1. (ABSOLUTE POSITION)
N3 G91 X.5 (INCREMENTAL MOVE)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Put G90 in the safe start line of every program.
On lathes: Absolute programming
X and Z are positions from the work zero. X is a diameter.
Format
G90
How it works
Modal.
Example program
O2000 (OKUMA LATHE SAMPLE)
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G90 G00 X2. Z.1 T010101 (ABSOLUTE)
N3 G91 G01 Z-.5 F.01 (INCREMENTAL .5)
…
N1 G50 S3000 (MAX SPINDLE 3000 RPM)
N2 G90 G00 X2. Z.1 T010101 (ABSOLUTE)
N3 G91 G01 Z-.5 F.01 (INCREMENTAL .5)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Okuma lathes use G90 and G91, not U and W, for incremental. U and W are used inside some cycles.
Related codes
G90 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Absolute programming |
| Haas NGC | Absolute positioning |
| Mazak (EIA) | Absolute programming |
| Mitsubishi M70 M80 | Absolute programming |
| Brother Speedio | Absolute programming |
| Siemens 840D 828D | Absolute dimensions |
| Heidenhain TNC (ISO) | Absolute dimensions |
| Fagor 8055 8065 | Absolute programming |
| LinuxCNC Tormach | Absolute distance mode |
| Mach3 Mach4 | Absolute mode |
| Centroid CNC12 Acorn | Absolute positioning |
| Hurco WinMax (NC) | Absolute mode |
| Fadal | Absolute positioning |
| Swiss (Citizen Star) | OD turning cycle |
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 G90 in the app All Okuma OSP G-codes