{"id":"gcode-g10-l10","model_id":"G10 L10","name":"LinuxCNC G10 L10 Set Tool Table","summary":"G10 L10 changes the tool table entry for tool P so that, with the machine at its current position and the current G5x and G52/G92 offsets active, the current coordinates of the given axes become the given values after the tool offset is reloaded. Axes not named in the command are not changed. The document notes it can be useful together with a probe move as described in the G38 section.","study_notes":["Example: T1 M6 G43 loads tool 1 and tool length offsets; G10 L10 P1 Z1.5 sets the current position for Z to be 1.5; G43 then reloads the tool length offsets from the changed tool table.","G10 L11 is like G10 L10 except the entry is set so the current coordinates would become the given value if the new tool offset is reloaded with the machine placed in the G59.3 coordinate system and no G52/G92 offset active, allowing tools to be measured against a fixture.","G10 L0 reloads all tool table data and requires that no current tool is loaded in the spindle."],"safety_notes":["It is an error if cutter compensation is on when G10 L10 is executed.","It is an error if the P number is unspecified, is not a valid tool number from the tool table, or is 0."],"sources":[{"url":"https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g10-l10","title":"G-Codes","accessed":"2026-10-26"}],"verification":{"status":"source_checked","checked_at":"2026-10-26","values":15,"method":"llm_source_check"},"updated_at":"2026-10-26","type":"instruction","spec":{"language":"gcode","code":"G10 L10","group":"tool table","syntax":"G10 L10 P- axes <R- I- J- Q->","parameters":[{"name":"P","description":"tool number"},{"name":"axes","description":"axis words whose current coordinates are to become the given values; axes not specified are not changed"},{"name":"R","description":"radius of tool"},{"name":"I","description":"front angle (lathe)"},{"name":"J","description":"back angle (lathe)"},{"name":"Q","description":"orientation (lathe)"}],"dialect":"LinuxCNC","related":[],"standards":[]},"url":"https://machineschema.com/instruction/gcode-g10-l10","license":"https://creativecommons.org/licenses/by/4.0/"}