{"id":"gcode-g20","model_id":"G20","name":"LinuxCNC G20","summary":"G20 is a G-code instruction that selects inches for length units in a program. The manual recommends including unit selection in the preamble of each G-code file.","study_notes":["The manual recommends including units in the preamble of each G-code file."],"safety_notes":[],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g20-g21","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":2,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G20","group":"Units","parameters":[],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g20","license":"https://creativecommons.org/licenses/by/4.0/"}