CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G92

G92 Set position offset

Mach3 Mach4 G-code · Mill

Makes the current point read the given values by shifting all work coordinates. Legacy method, so use work offsets instead.

Format

G92 [X] [Y] [Z] [A]

Addresses

AddressWhat it does
X Y Z AValue the current position should read

How it works

Stays in effect until G92.1 or reset. Mach3 also keeps it in #5211 to #5216.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
G0 X4.0 Y0 Z1.0 (CURRENT POSITION X4)
G92 X1.0 Y2.0 Z3.0 (NOW READS X1 Y2 Z3)
G0 X0 Y0 (MOVES IN SHIFTED COORDS)
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G92.1 · G52 · G54

G92 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCoordinate system setting
Haas NGCSet work coordinate shift
Mazak (EIA)Threading cycle
Okuma OSPSetting of work coordinate system
Mitsubishi M70 M80Coordinate system setting
Brother SpeedioCoordinate system setting
Fagor 8055 8065Coordinate preset or spindle speed limit
LinuxCNC TormachCoordinate system offset
Centroid CNC12 AcornSet current position
Hurco WinMax (NC)Set part zero at current position
FadalAbsolute preset
Swiss (Citizen Star)Threading cycle

Every G-code for Mach3 Mach4 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 Mach3 Mach4 G-codes

App Store Google Play