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.
| Language | gcode |
|---|---|
| Code | G10 L10 |
| Group | tool table |
| Syntax | G10 L10 P- axes <R- I- J- Q-> |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| P | tool number |
| axes | axis words whose current coordinates are to become the given values; axes not specified are not changed |
| R | radius of tool |
| I | front angle (lathe) |
| J | back angle (lathe) |
| Q | orientation (lathe) |