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 default configuration, the orientation value specified in the G-code A is mapped to RotX, B to RotY and C to 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.

If the orientation of the axes needs to be changed, the assignment of the address letters A,B,C can be changed in the configuration menu Configuration address characters e.g. A maps to C, B maps to B and C maps to A. The new assignment is automatically taken into account during import and export.