CNC Machinist Calculator Ultra

Home › M-codes › LinuxCNC Tormach › M73

M73 Save and auto restore modal state

LinuxCNC Tormach M-code · Mill and lathe

Used inside an O-word subroutine. Saves the modal state and restores it on return or endsub.

Format

M73

Addresses

AddressWhat it does
noneNo words

How it works

Non modal.

Example program

O100 SUB (BOLT CIRCLE)
M73 (SAVE MODES, AUTO RESTORE)
G91 G1 X1 F20 (INCREMENTAL INSIDE SUB)
O100 ENDSUB (MODES RESTORED HERE)
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M70 · M72

M73 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Spindle normal rotation direction
DMG Mori MAPPS (Fanuc)Y-axis mirror image OFF
Mazak (EIA)Outside chuck clamp
Okuma OSPThread cutting pattern 1
Swiss (Citizen Star)Back spindle air blow off (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 M73 in the app All LinuxCNC Tormach M-codes

App Store Google Play