Home › G-codes › LinuxCNC Tormach › G30.1
G30.1 Store position 2
LinuxCNC Tormach G-code · Mill and lathe
Stores the current absolute machine position as the G30 position.
Format
G30.1
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Non modal.
Example program
(JOG TO THE TOOL CHANGE SPOT)
G30.1 (STORE IT)
G91 G30 Z0 (TEST)
G90
G30.1 (STORE IT)
G91 G30 Z0 (TEST)
G90
Example is in inch. Check offsets and clearances first.
Watch out for
- Values go into parameters 5181 and up and are kept in the var file.
- If G30 is your tool change spot, store it with room to pull the longest tool.
Related codes
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 G30.1 in the app All LinuxCNC Tormach G-codes