Home › G-codes › Okuma OSP › G92
G92 Setting of work coordinate system
Okuma OSP G-code · Mill
Sets the work coordinate system from the current position by program. Okuma shops normally use G15 H instead.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G92 X Y Z
Addresses
| Address | What it does |
|---|---|
X Y Z | Values the current position becomes |
How it works
Check the manual for how long the setting lasts.
Example program
O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X0 Y0 (MOVE TO KNOWN POINT)
N3 G92 X0 Y0 (SET THIS POINT AS ZERO)
…
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G00 G90 X0 Y0 (MOVE TO KNOWN POINT)
N3 G92 X0 Y0 (SET THIS POINT AS ZERO)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Prefer G15 H with offsets entered on the control. G92 is easy to get wrong after a reset.
Related codes
G92 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Coordinate system setting |
| Haas NGC | Set work coordinate shift |
| Mazak (EIA) | Threading cycle |
| Mitsubishi M70 M80 | Coordinate system setting |
| Brother Speedio | Coordinate system setting |
| Fagor 8055 8065 | Coordinate preset or spindle speed limit |
| LinuxCNC Tormach | Coordinate system offset |
| Mach3 Mach4 | Set position offset |
| Centroid CNC12 Acorn | Set current position |
| Hurco WinMax (NC) | Set part zero at current position |
| Fadal | Absolute preset |
| Swiss (Citizen Star) | Threading 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 G92 in the app All Okuma OSP G-codes