5 p ath cont ours — p olar coor dinat e s, Example: linear movement with polar coordinates – HEIDENHAIN TNC 426 (280 476) User Manual
Page 182

HEIDENHAIN TNC 426, TNC 430
155
6.5 P
ath Cont
ours
—
P
olar Coor
dinat
e
s
Example: Linear movement with polar coordinates
0 BEGIN PGM LINEARPO MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-20
Define the workpiece blank
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+7.5
Define the tool
4 TOOL CALL 1 Z S4000
Tool call
5 CC X+50 Y+50
Define the datum for polar coordinates
6 L Z+250 R0 F MAX
Retract the tool
7 LP PR+60 PA+180 R0 F MAX
Pre-position the tool
8 L Z-5 R0 F1000 M3
Move to working depth
9 APPR PLCT PR+45 PA+180 R5 RL F250
Approach the contour at point 1 on a circular arc with
tangential connection
10 LP PA+120
Move to point 2
11 LP PA+60
Move to point 3
12 LP PA+0
Move to point 4
13 LP PA-60
Move to point 5
14 LP PA-120
Move to point 6
15 LP PA+180
Move to point 1
16 DEP PLCT PR+60 PA+180 R5 F1000
Depart the contour on a circular arc with tangential connection
17 L Z+250 R0 F MAX M2
Retract in the tool axis, end program
18 END PGM LINEARPO MM
X
Y
50
100
50
CC
5
100
R45
60°
5
1
1
1
2
1
3
1
4
1
5
1
6