G-code
Supported G-code

G68 (Coordinate System Rotation)

1min

G68 X... Y... Z... I... J... K... R...

X... Y... Z... Optionally points to a rotation point, if not given, the current Work Zero point is used.

I... J... K... Optionally, without I, J, or K the rotation takes place in the actual plane G17, G18, G19 (Plane Selection). Either I1, J1, or K1 can be used, not a combination.

I1 specifies a rotation about X in the YZ plane, J1 rotates about Y in the XZ plane, and K1 rotates about Z in the XY plane.

R… Is the rotation angle in degrees, positive is counter-clockwise while negative is clockwise.