LinuxCNC G59.2

G59.2 is a LinuxCNC G-code that selects coordinate system 8. It belongs to the G54–G59.3 group of coordinate system selection codes. The selected coordinate system stores axis values and an XY rotation angle around the Z axis.

Source checked3/3 values · 2026-10-26

Specification

1 source
Languagegcode
CodeG59.2
GroupSelect Coordinate System
SyntaxG59.2
DialectLinuxCNC

Study notes

  • G59.2 selects coordinate system 8; the G54–G59.3 codes select coordinate systems 1 through 9.
  • Coordinate system 8 stores X, Y, Z, A, B, C, U, V and W values in parameters 5361 through 5369 and the XY rotation about Z in parameter 5370.
  • G10 L2 P8 sets offsets for coordinate system 8, the system selected by G59.2.
  • G10 L2 does not change from the current coordinate system to the one specified by P; G54–G59.3 must be used to select a coordinate system.

Safety

  • Selecting a coordinate system while cutter compensation is on is an error.
↑↓ navigate↵ openesc close