Home › G-codes › Haas NGC › G92
G92 Set work coordinate shift / Threading cycle, single pass per block
Haas NGC G-code · Mill, Lathe
On mills: Set work coordinate shift
Shifts the work coordinate system so the current position reads as the commanded values. No axes move. Work offsets are usually a safer choice.
Format
Addresses
| Address | What it does |
|---|---|
X Y Z A B | Value the current position should read |
How it works
Non-modal command, group 00. The shift stays active until cleared.
Example program
G92 X0. Y0. (CALL THIS POINT X0 Y0)
G00 X.5 Y.5 (MOVE FROM THE NEW ZERO)
Example is in inch. Check offsets and clearances first.
Watch out for
- A G92 shift stays in effect and is easy to forget. Prefer G54 to G59 or G52.
On lathes: Threading cycle, single pass per block
Cuts one thread pass and returns to the start. Add more X depths on the next lines for more passes. I adds a pipe taper.
Format
Addresses
| Address | What it does |
|---|---|
X | Diameter of this pass |
Z | End of the thread |
U W | Incremental target |
I | Taper, radius |
F | Thread lead |
Q | Thread start angle |
How it works
Modal, group 01. Cancel with G00 or another group 01 code.
Example program
G99 G97 S800 M03 (FEED PER REV, FIXED RPM)
G00 G54 X.85 Z.3 M08 (START POINT)
G92 X.72 Z-1. F.1 (PASS 1)
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Use G99 and G97. Keep the same RPM for every pass.
- It chamfers out at the end by Settings 95 and 96. M24 turns that off.
- Make the last passes light. The thread tool takes a wider cut as it goes deeper.
Related codes
G92 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Coordinate system setting |
| Mazak (EIA) | Threading cycle |
| Okuma OSP | Setting of work coordinate system |
| 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 Haas NGC 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 Haas NGC G-codes