4 p ath cont ours — car tesian coor dinat es – HEIDENHAIN TNC 310 (286 140) User Manual
Page 88

76
6 Programming: Programming Contours
Example: Circular movements with Cartesian coordinates
6.4 P
ath Cont
ours
—
Car
tesian Coor
dinat
es
Example: Circular movements with Cartesian coordinates
0 BEGIN PGM 20 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-20
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+10
4 TOOL CALL 1 Z S4000
5 L Z+250 R0 F MAX
6 L X-20 Y-20 R0 F MAX
7 L Z-5 R0 F1000 M3
8 L X+5 Y+5 RL F300
9 RND R2
10 L Y+85
11 RND R10 F150
12 L X+30
13 CR X+70 Y+95 R+30 DR-
14 L X+95
15 L Y+40
16 CT X+40 Y+5
17 L X+5
18 RND R2
19 L X-20 Y-20 R0 F1000
20 L Z+250 R0 F MAX M2
21 END PGM 20 MM
Define blank form for graphic workpiece simulation
Define tool in the program
Call tool in the spindle axis and with the spindle speed S
Retract tool in the spindle axis at rapid traverse FMAX
Pre-position the tool
Move to working depth at feed rate F = 1000 mm/min
Approach the contour at point 1
Tangential approach to circle with R=2 mm
Point 2: first straight line for corner 2
Insert radius with R = 10 mm, feed rate: 150 mm/min
Move to point 3: Starting point of the arc with CR
Move to point 4: End point of the arc with CR, radius 30 mm
Move to point 5
Move to point 6
Move to point 7: End point of the arc, radius with tangential
connection to point 6, TNC automatically calculates the radius
Move to last contour point 1
Tangential departure from circle with R=2 mm
Retract tool in the working plane
Retract tool in the spindle axis, end of program
X
Y
95
5
95
5
85
40
40
30
70
R10
R30