CNC Machinist Calculator Ultra

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

AddressWhat it does
P0 off, 1 on

How it works

Modal.

Example program

M52 P1 (ADAPTIVE FEED ON)
G1 X5 F40
M52 P0 (ADAPTIVE FEED OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M53 · M50

M52 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCBuilt 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

App Store Google Play