{"id":"gcode-g97","model_id":"G97","name":"LinuxCNC G97 RPM Mode","summary":"G97 is a LinuxCNC G-code that selects spindle RPM mode. The S word gives the spindle speed, and the optional $ word selects which spindle is controlled. It is part of the G96/G97 spindle control mode pair.","study_notes":["G97 is the RPM-mode option in the G96/G97 spindle control mode pair."],"safety_notes":[],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g96-g97","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":7,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G97","group":"spindle control mode","syntax":"G97 S- <$-> (RPM Mode)","parameters":[{"name":"S","description":"spindle speed"},{"name":"$","description":"the spindle of which the speed will be varied, optional"}],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g97","license":"https://creativecommons.org/licenses/by/4.0/"}