G92

Machining center, LatheOne-shot, group 00

Coordinate system setting (assigns coordinate values to the current position)

⌨On machining centers

G92 X_ Y_ Z_

Diagram: Machine zero and work zero (coordinate systems)

XYG54 offsetG54 originG55 originG52 localMachine zero (machine coord. 0)Current tool positionOrigin set by G92X_ Y_
G92 X_ Y_ doesn't move the axes; it redefines the origin so the current tool position takes the specified coordinate values. Mixing it with G54–G59 makes offsets hard to follow.

◎On lathes: Thread cutting cycle (single canned cycle, G-code system A)

The same number means something different on lathes (FANUC-type G-code system A). Group 01.

G92 X(U)_ Z(W)_ F_ (lead) (R_ for taper thread)

Diagram (lathe): the 4 motions of G92 (lathe)

RapidCutting feedEnds with an angled pull-out①② Thread (F = lead)③④ZXStart point① Rapid to X② Cut thread (F = lead)③ Rapid out④ Rapid to start
4 motions: ① infeed ② cut thread ③ retract ④ return. F is the lead, not the pitch. Repeat blocks changing only X to cut the thread deeper step by step.

≠Differences between controls and machines

The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.

SourceMachineItemDetail
HaasMachining centerMeaningSets the shift amount for all work coordinate systems (G54–G59, G110–G129)On Haas, the shift amount is shown below the work offset screen and is cleared by power-up and zero return
HaasLatheFormatTaper is I_, and Q is the start angleHaas switches the chamfer at the end of the thread with Setting 95/96 and M23/M24

📚Sources

The meaning shown agrees in at least two sources (agreement confirmed). Explanations are written in our own words.

  1. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Milling, 04.2007 Edition (6FC5398-7BP10-0BA0) cache.industry.siemens.com
  2. Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
  3. Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
  4. National Institute of Standards and Technology (NIST), USA — The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000) nvlpubs.nist.gov
  5. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
  6. Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com