M51 enables or disables the spindle speed override control for a selected spindle in LinuxCNC. The optional P1 argument enables the override control and P0 disables it. While the control is disabled, the spindle speed override has no influence and the spindle runs at the exact speed given by the programmed S-word.
| Language | gcode |
|---|---|
| Code | M51 |
| Group | spindle speed override control |
| Syntax | M51 <P1> <$- |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| P | Optional; P1 enables the spindle speed override control, P0 disables it. |
| $ | Optional spindle selection parameter. |