G10 L20: Set the Origin Offset (Calculated Value)

Last modified by writer on 2023/02/09 17:21

G10 L20 P- axes

The G10 L20 command is identical to the G10 L2 command, except that the offset is set not to the specified value, but to the calculated value so that the current coordinates become equal to the specified value.

Table of comparison to the value of the parameter P and coordinate systems.

The value of the parameter PCoordinate system
0current selected
1G54
2G55
3G56
4G57
5G58
6G59
7G59.1
8G59.2
9G59.3
G10 L20 example line:
G10 L20 P1 X1.5 (set the current X position in coordinate system 1 to 1.5)
It is an error if:
  • parameter P is not an integer in the range from 0 to 9.