Home › G-codes › LinuxCNC Tormach › G28.1
G28.1 Store position 1
LinuxCNC Tormach G-code · Mill and lathe
Stores the current absolute machine position as the G28 position.
Format
G28.1
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Non modal.
Example program
(JOG TO A SAFE PARK SPOT FIRST)
G28.1 (STORE IT AS THE G28 POSITION)
G91 G28 Z0 (TEST, Z GOES TO STORED Z)
G90
G28.1 (STORE IT AS THE G28 POSITION)
G91 G28 Z0 (TEST, Z GOES TO STORED Z)
G90
Example is in inch. Check offsets and clearances first.
Watch out for
- Values go into parameters 5161 and up and are kept in the var file.
- Jog to a safe spot with clear Z before storing it.
Related codes
G28.1 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Mach3 Mach4 | Reference axes, Mach3 |
| Fadal | Return from jog away |
Every G-code for LinuxCNC Tormach 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 G28.1 in the app All LinuxCNC Tormach G-codes