{"id":"gcode-g28-1","model_id":"G28.1","name":"LinuxCNC G28.1","summary":"G28.1 is a LinuxCNC G-code that stores the current absolute position into parameters 5161-5166. It is used to set the predefined position that G28 later moves to.","study_notes":["G28.1 stores the current absolute position into parameters 5161-5166.","G28 uses values stored in parameters 5161-5169 as the final point for a rapid move to the predefined position.","If no positions are stored with G28.1, G28 moves all axes to the machine origin."],"safety_notes":["Only use G28 when the machine is homed to a repeatable position and the desired G28 position has been stored with G28.1.","Cutter compensation must be off; programming G28.1 with cutter compensation on is an error."],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g28-g28.1","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":3,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G28.1","group":"Go/Set Predefined Position","syntax":"G28.1","parameters":[],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g28-1","license":"https://creativecommons.org/licenses/by/4.0/"}