5 Programming Tool Movements
L
5.5 Path Contours - Polar Coordinates
Example for exercise: Milling a hexagon
Corner point coordinates:
10 PA = 180”
PR= 45mm I
@ PA =
I--
@J PA =
300” PR = 45 mm
240”
PR = 45 mm
I-
Milling depth: Z =-IO mm
Tool radius:
R = 5mm
Part program
0 BEGIN PGM 360529 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+5
4 TOOL CALL 1 Z S 1000
5 cc x+50 Y+50
6 L Z+lOO RO FMAX M6
7 LP PR+60 PA-190 RO FMAX
8 L Z-l 0 FMAX M3
9 LP PR+45 PA+1 80 RL FIOO
10
11
12
13
14
15
16
17
18
General data and first contour point (corner point 1)
d
LP PA+1 20 >
LP PA+60
LP IPA-
LP PA-60
LP PA+240
i
Corner points @ to @ and last contour point at 0;
absolute and incremental programming
LP PA+1 80
J
LP PR+60 PA+1 70 RO FMAX ,....,,,,,,..,......,........ Retract the tool and end the program
L Z+lOO FMAX M2
END PGM 360529 MM
L
TNC 370
5-29