LinuxCNC M48

M48 is a LinuxCNC M-code that enables the spindle speed and feed rate override controls. M49 disables both controls. The command also takes an optional $ parameter to determine which spindle it operates on.

Source checked4/4 values · 2026-10-26

Specification

1 source
Languagegcode
CodeM48
Groupspeed and feed override control
DialectLinuxCNC

Parameters

NameDescription
$Optional parameter that determines which spindle the command operates on.

Study notes

  • It is OK to enable or disable the override controls when they are already enabled or disabled.
  • The feed and spindle speed override controls can be toggled individually with M50 (feed) and M51 (spindle speed).
  • M2 and M30 program end set the feed and speed overrides to ON, like M48.
  • M70 saves the speed override (M51) and feed override (M50) settings as part of modal state.
↑↓ navigate↵ openesc close