5
Programming Tool Movements
L
5.5 Path Contours - Polar Coordinates
Example exercise: Milling a full circle
Circle radius: 50 mm
Circle center
coordinates:
X = 50mm
Y = 50mm
Milling depth: Z =-5mm
Tool radius:
R = 15mm
Part program
0
BEGIN PGM 360531 MM
1
BLK FORM 0.1 Z X+0 Y+O Z-20
2 BLK FORM 0.2 X+1 00 Y+lOO Z+O
3 TOOL DEF 1 L+O R+15
4
TOOL CALL 1 Z SIOOO
5 cc x+50 Y+50
6 L Z+lOO RO FMAX M6
7 LP PR+70 PA+280 FMAX
8 L Z-5 FMAX M3
9
LP PR+50 PA-90 RL FIOO
*General data and first contour point
10 RND RI 0 . . ..____.______..__......................................... Smooth approach
11 CP PA+270 DR- ____._.__........................................ Circle to end point PA = 270”. negative direction of rotation
12 RND RIO . . . . . . . . .._.__........_._________........................... Smooth departure
13 LP PR+70 PA-l 10 RO FMAX
14 L Z+lOO FMAX M2
I)
Retract tool and end program
15 END PGM 360531 MM