CNC Machinist Calculator Ultra

Home › M-codes › LinuxCNC Tormach › M70

M70 Save modal state

LinuxCNC Tormach M-code · Mill and lathe

Saves the current modal state, such as units, distance mode and feed, at the current call level.

Format

M70

Addresses

AddressWhat it does
noneNo words

How it works

Non modal.

Example program

M70 (SAVE MODES)
G21 G91 (CHANGE MODES FOR A SECTION)
G1 X10 F200
M72 (RESTORE MODES)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M71 · M72 · M73

M70 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Tail stock quill low pressure advance
DMG Mori MAPPS (Fanuc)Work counter or total counter
Siemens 840D 828DSpindle to axis mode
Hurco WinMax (NC)Pallet change

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 M70 in the app All LinuxCNC Tormach M-codes

App Store Google Play