Home › G-codes › Mach3 Mach4 › G92.2
G92.2 Clear G92, keep values, Mach3
Mach3 Mach4 G-code · Mill
Mach3. Sets the G92 offset to zero but leaves #5211 to #5216 alone, so G92.3 can bring it back.
Format
G92.2
Addresses
| Address | What it does |
|---|---|
G92.2 | No address words |
How it works
Non modal.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
G92 X0 Y0 (TEMP ZERO)
G92.2 (OFFSET OFF, VALUES KEPT)
G92.3 (OFFSET BACK FROM PARAMETERS)
…
G92 X0 Y0 (TEMP ZERO)
G92.2 (OFFSET OFF, VALUES KEPT)
G92.3 (OFFSET BACK FROM PARAMETERS)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Use G92.1 if you want the saved values gone too.
Related codes
G92.2 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| LinuxCNC Tormach | Reset G92 offset, keep values |
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.2 in the app All Mach3 Mach4 G-codes