Program code Comment
N50 AROT Z90 ; Additive rotation of the WCS around Z through 90°
N60 L10 ; Subprogram call
N70 G0 X300 Y100 M30 ; Retraction, end of program
Further information
Rotation in the active plane
When programming using RPL=…, the WCS is rotated around the axis perpendicular to the
active plane.
527
<
;
=
<
;
=
*
*
*
*
*
*
Figure 2-19 Rotation around the Y axis or in the G18 plane
WARNING
Plane change
If a plane change (G17, G18, G19) is programmed after a rotation, the current angles of
rotation of the respective axes are retained and are also effective in the new plane. It is
therefore strongly recommended that the current angles of rotation be reset to 0 before a plane
change:
● N100 ROT X0 Y0 Z0 ; explicit angle programming
● N100 ROT ; implicit angle programming
Absolute rotation with ROT X... Y... Z...
The WCS is rotated around the specified axes to the programmed angles of rotation.
Fundamentals
2.12 Coordinate transformations (frames)
NC programming
320 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0