Programming Motion Commands
4.2 Travel commands with polar coordinates, polar angle, polar radius
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
4-7
Example of making a hole pattern
The positions of the holes are specified in polar coordinates.
Each hole is machined with the same production sequence: Predrilling, drilling to size,
reaming, etc. The machining sequence is filed in the subroutine.
<
;
r
r
r
r
r
N10 G17 G54 ;Working plane X/Y, workpiece zero
N20 G111 X43 Y38 ;Define pole
N30 G0 RP=30 AP=18 Z5 ;Approach starting point, position in
;cylindrical coordinates
N40 L10 ;Subprogram call
N50 G91 AP=72 ;Approach next position in rapid
traverse, ;polar angle in incremental
dimensions, polar radius
;from block N30 is still stored and does
not need ;to be specified
N60 L10 ;Subprogram call
N70 AP=IC(72) ;…
N80 L10 ;…
N90 AP=IC(72)
N100 L10 ;…
N110 AP=IC(72)
N120 L10 ;…
N130 G0 X300 Y200 Z100 M30 ;Retract tool, program end
N90 AP=IC(72)
N100 L10 ;…