G10 L20 is similar to G10 L2, except that instead of setting the offset/entry to the given value, it is set to a calculated value that makes the current coordinates become the given value.

Program: G10 L20 P~ X~ Y~ Z~ A~

  • P~ is the number of coordinate system to use (G54 = 1, G59.3 = 9)
  • X~ is the X-axis coordinate
  • Y~ is the Y-axis coordinate
  • Z~ is the Z-axis coordinate
  • A~ is the A-axis coordinate


It’s an error if:

  • The P number does not evaluate to an integer in the range 0 to 9
  • An axis other than X or Z is programmed