Example 3: Multi-face machining
Program code
N10 G17 G54
N20 L10
N30 TRANS X100 Z-100
Fundamentals
Programming Manual, 07/2010, 6FC5398-1BP40-0BA0
12.4 Programmable rotation (ROT, AROT, RPL)
In this example, identical shapes are
machined in two workpiece surfaces
perpendicular to one another via
subroutines. In the new coordinate system
on the right-hand workpiece surface, infeed
direction, working plane and the zero point
have been set up as on the top surface.
Therefore, the conditions required for the
subroutine execution still apply: working
plane G17, coordinate plane X/Y, infeed
direction Z.
Comment
; Working plane X/Y, workpiece zero
; Subroutine call
; Absolute offset
Coordinate transformations (frames)
367