{"id":"mcode-m48","model_id":"M48","name":"LinuxCNC M48","summary":"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.","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."],"safety_notes":[],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m48-m49","title":"M-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":4,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"M48","group":"speed and feed override control","parameters":[{"name":"$","description":"Optional parameter that determines which spindle the command operates on."}],"dialect":"LinuxCNC","related":["mcode-m49"],"standards":[]},"url":"https://machineschema.com/instruction/mcode-m48","license":"https://creativecommons.org/licenses/by/4.0/"}