Heidenhain, Solution, Main program – HEIDENHAIN TNC 426 (280 460) Training Advanced User Manual
Page 18
HEIDENHAIN
HEIDENHAIN
Advanced course TNC 4xx
Linear offset hole pattern,
including tapping
7426/4
C01
Main program
100
40
0
100
0
0
20
30
50
80
30
20
40
10
30
40
50
90
20
15
60
70
60
70
80
25
35
45
55
65
75
85
M6
0 BEGIN PGM 7426 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+3,5 ........................................... NC-CENTER DRILL
4 TOOL DEF 2 L+0 R+2,5 ........................................... TWIST DRILL
5 TOOL DEF 3 L+0 R+3 .............................................. TAP
6 TOOL CALL 1 Z S800 .............................................. NC-CENTER DRILL
7 L Z+100 R0 F9999 M6 .............................................. TOOL CHANGE
8 CYCL DEF 1.0 PECKING
9 CYCL DEF 1.1 SET UP -2
10 CYCL DEF 1.2 DEPTH -2
11 CYCL DEF 1.3 PECKG -2
12 CYCL DEF 1.4 DWELL 0
13 CYCL DEF 1.5 F200
14 CALL LBL 1 .............................................................. CALL DRILLING PATTERN
15 STOP M6 ................................................................. TOOL CHANGE
16 TOOL CALL 2 Z S500 .............................................. TWIST DRILL
17 CYCL DEF 1.0 PECKING
18 CYCL DEF 1.1 SET UP -2
19 CYCL DEF 1.2 DEPTH -20
20 CYCL DEF 1.3 PECKG -10
21 CYCL DEF 1.4 DWELL 0
22 CYCL DEF 1.5 F100
23 CALL LBL 1 .............................................................. CALL DRILLING PATTERN
24 STOP M6 ................................................................. TOOL CHANGE
25 TOOL CALL 3 Z S500 .............................................. TAP
26 CYCL DEF 2.0 TAPPING
27 CYCL DEF 2.1 SET UP -2
28 CYCL DEF 2.2 DEPTH -15
29 CYCL DEF 2.3 DWELL 0
30 CYCL DEF 2.4 F500
31 CALL LBL 1 .............................................................. CALL DRILLING PATTERN
32 STOP M2
Center
Pecking
Tapping
Retract tool, end