Frames
6.4 Programmable rotation (ROT, AROT, RPL)
Fundamentals
6-16 Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
Example: Rotation in space
In this example, paraxial and inclined workpiece surfaces are to be machined in one setting.
Requirement: The tool must be aligned perpendicular to the inclined surface in the rotated Z
direction.
;
=
r
;
<
U
N10 G17 G54 ;Working plane X/Y, workpiece zero
N20 TRANS X10 Y10 ;Absolute offset
N30 L10 ;Subprogram call
N40 ATRANS X35 ;Additive offset
N50 AROT Y30 ;Rotation through the Y axis
N60 ATRANS X5 ;Additive offset
N70 L10 ;Subprogram call
N80 G0 X300 Y100 M30 ;Retraction, end of program