Home › M-codes › LinuxCNC Tormach › M72
M72 Restore modal state
LinuxCNC Tormach M-code · Mill and lathe
Restores the modal state saved by M70.
Format
M72
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Non modal.
Example program
M70 (SAVE MODES)
G91 (INCREMENTAL)
G1 X1 F20
M72 (BACK TO SAVED MODES)
G91 (INCREMENTAL)
G1 X1 F20
M72 (BACK TO SAVED MODES)
Example is in inch. Check offsets and clearances first.
Watch out for
- Error if nothing was saved or the state was cleared with M71.
Related codes
M72 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Spindle convert rotation direction |
| DMG Mori MAPPS (Fanuc) | Chip removal coolant ON |
| Mazak (EIA) | Inside chuck clamp |
| Okuma OSP | ATC unit position at approach position |
| Swiss (Citizen Star) | Back spindle air blow on (Citizen) |
Every M-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 M72 in the app All LinuxCNC Tormach M-codes