LinuxCNC G10 L10 Set Tool Table

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.

Source checked15/15 values · 2026-10-26

Specification

1 source
Languagegcode
CodeG10 L10
Grouptool table
SyntaxG10 L10 P- axes <R- I- J- Q->
DialectLinuxCNC

Parameters

NameDescription
Ptool number
axesaxis words whose current coordinates are to become the given values; axes not specified are not changed
Rradius of tool
Ifront angle (lathe)
Jback angle (lathe)
Qorientation (lathe)

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

  • 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.
↑↓ navigate↵ openesc close