Frames
6.4 Programmable rotation (ROT, AROT, RPL)
Fundamentals
240 Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
ROT RPL=… Substituting instruction for rotation in the plane
Or
AROTX… Y… Z… Additive instruction for rotation in space
Or
AROT RPL=… Additive instruction for rotation in the plane
Each instruction must be programmed in a separate NC block.
Parameters
ROT,
Absolute rotation with reference to the currently valid workpiece zero set
with G54 to G599
RPL,
Rotation in the plane: Angle, through which the coordinate system is
rotated (plane set with G17-G19). The order, in which the rotation should
be performed can be defined via machine data. RPY notation is the default
setting (= roll, pitch, yaw) with Z,Y,X
AROT,
Additive rotation with reference to the currently valid set or programmed
zero point
X Y Z
Rotation in space: geometry axes, around which the rotation takes place
Example: Rotation in the plane
;
<
r
r
5
With this workpiece, the illustrated shapes recur several times in the same program.
Rotations have to be performed in addition to the translation, because the shapes are not
arranged parallel to the axes.
N10 G17 G54
;Working plane X/Y, workpiece zero
N20 TRANS X20 Y10
;Absolute offset
N30 L10
;Subprogram call
N40 TRANS X55 Y35
;Absolute offset
N50 AROT RPL=45
;Rotation of the coordinate system through 45°