G10 L20 sets a coordinate system offset to a calculated value so that the current axis coordinates become the programmed values. It uses a P word to choose a coordinate system from 0 to 9 and axis words for the coordinates to set. The document gives G10 L20 P1 X1.5 as an example.
| Language | gcode |
|---|---|
| Code | G10 L20 |
| Group | coordinate system |
| Syntax | G10 L20 P- axes |
| Dialect | LinuxCNC |
| Name | Data type | Description |
|---|---|---|
| P | integer | Coordinate system (0-9) |
| axes | Axis words for the coordinate values to set |