Orientation of the axes

In every G-code dialect, the letters for rotation are assigned as follows:

  • A → Rotation around X
  • B → Rotation around Y
  • C → Rotation around Z

Accordingly in the standard configuration, the orientation value A specified in the G-code is shown on RotX, B on RotY, and C on RotZ in the SRL program.

The angles are Euler angles. The sequence of the rotation is RotZ, RotY, and RotX. The first rotation takes place around a spatially-fixed axis; the other two around previously rotated axes.