M52 is a LinuxCNC M-code that enables adaptive feed control; M52 P0 stops using adaptive feed. When enabled, an external input value is used together with the user interface feed override value and the commanded feed rate to set the actual feed rate. In LinuxCNC this input is the HAL pin motion.adaptive-feed, where 0 is equivalent to feed-hold.
| Language | gcode |
|---|---|
| Code | M52 |
| Group | Adaptive Feed Control |
| Syntax | M52 <P1> |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| P1 | Optional; M52 <P1> uses adaptive feed, while M52 P0 stops using adaptive feed. |