Home › M-codes › LinuxCNC Tormach › M52
M52 Adaptive feed control
LinuxCNC Tormach M-code · Mill and lathe
P1 lets an external signal scale the feed through HAL. P0 or no P turns it off.
Format
M52 [P]
Addresses
| Address | What it does |
|---|---|
P | 0 off, 1 on |
How it works
Modal.
Example program
M52 P1 (ADAPTIVE FEED ON)
G1 X5 F40
M52 P0 (ADAPTIVE FEED OFF)
G1 X5 F40
M52 P0 (ADAPTIVE FEED OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Needs motion.adaptive-feed connected in HAL, used for plasma or load based feed.
Related codes
M52 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Built in M code relay 2 on |
| Doosan (Fanuc) | Front splash guard door open |
| Mazak (EIA) | Error detect ON |
| Swiss (Citizen Star) | Coolant 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 M52 in the app All LinuxCNC Tormach M-codes