Contents: Advanced course TNC 4xx
Conventional Programming
No. |
Title |
PGM-No. |
|
|
|
|
Drilling |
|
1 |
Two rows of holes |
7280 |
2 |
Irregular drilling pattern, 3 tools |
7153 |
3 |
Linear hole pattern |
7109 |
4 |
Linear offset hole pattern |
7426 |
5 |
Four double bolt hole circles, 3 tools |
7139 |
6 |
Large drilled plate |
7411 |
|
2D Milling |
|
7 |
Loading frame |
72810 |
|
Free Contour Programming |
|
8 |
FK Telephone |
75103 |
9 |
FK Dumbbell |
75116 |
10 |
FK Hammer basic |
75119 |
11 |
FK Mickey Mouse basic |
71750 |
12 |
FK Comb, basic, uncorrected |
75108 |
13 |
FK Comb first original, then mirrored in Y |
75122 |
|
|
|
HEIDENHAIN
Advanced course TNC 4xx |
D08 |
IH1 |
Contents: Advanced course TNC 4xx
No. |
Title |
PGM-No. |
|
|
|
|
3D Milling |
|
14 |
Toggle joint, 1 tool |
761260 |
15 |
Toggle joint, 2 tools |
761261 |
16 |
Truncated cone, standing, 2D, external, horizontal |
7162 |
17 |
Truncated cone, standing, 3D, external |
7282 |
18 |
Truncated cone, internal, 3D, basic |
7283 |
19 |
Truncated cone, internal, 3D, from solid block |
7284 |
20 |
Hemisphere, internal, 2D, horizontal |
7322 |
21 |
Hemisphere, internal, 2D, horiz. with pockets |
7323 |
22 |
Hemisphere, external, 2D, horizontal |
72841 |
23 |
Hemisphere, external, 3D, vertical, 1 cut |
76130 |
24 |
Hemisphere, external, 3D, vertical, 2 cuts |
76131 |
25 |
Threadmilling in three steps, 2 settings |
7164 |
|
|
|
Q-Parameter Programming |
|
|
|
|
|
No. |
Title |
PGM-No. |
|
|
|
|
Milling |
|
26 |
Milling a contour with several Z-settings |
7285 |
27 |
Finish milling rectangular pocket |
7286 |
28 |
Milling cylindrical pins |
7288 |
|
Drilling |
|
29 |
1 Simple bolt hole circle |
7416 |
30 |
6 Bolt hole circles, 1 tool |
74160 |
31 |
6 Bolt hole circles, 3 tools, 3 cycles |
74161 |
32 |
Linear hole pattern |
746910 |
|
|
|
HEIDENHAIN
Advanced course TNC 4xx |
C08 |
IH2 |
Task: Two rows of holes
60 |
|
|
|
|
|
|
|
Max |
|
|
|
|
|
|
|
|
|
|
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
Min |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
25 |
30 |
45 |
50 |
65 |
70 |
85 |
90 |
100 |
Program(s): |
|
|
|
Max |
|
|
|
5 |
Min |
|
|
30 |
20 |
0 |
Program layout: |
|
|
|
|
|
|
|
Conventional |
BLK FORM |
|
Workpiece blank |
preparation |
TOOL DEF |
|
|
|
TOOL CALL 1 Z S3000 |
|
First tool call |
|
CYCL DEF 1.0 PECKING |
|
Pecking cycle |
|
L X . . . Y . . . R0 F9999 M3 |
|
Pre-position |
|
L Z . . . |
|
|
|
|
|
|
|
CALL LBL 1 |
|
|
|
L X . . . Y . . . |
|
Pre-position |
|
L Z . . . |
|
|
|
|
|
|
|
CALL LBL 1 |
|
|
Retract tool, end |
L Z . . . M2 |
|
|
|
|
|
|
|
|
|
|
SPGM 1 |
LBL 1 |
|
|
|
L IX+20 M99 |
|
|
|
|
|
|
|
CALL LBL 1 REP 3/3 |
|
|
|
|
|
|
|
LBL 0 |
|
|
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7280/1 |
Solution: |
Two rows of holes |
60 |
|
|
|
|
|
|
|
Max |
|
|
|
Max |
|
|
|
|
|
|
|
|
|
|
|
||
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Min |
|
|
|
|
|
|
|
|
Min |
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
25 |
30 |
45 |
50 |
65 |
70 |
85 |
90 |
100 |
30 |
20 |
0 |
Main program
0 BEGIN PGM 7280 MM |
|
1 ................................................................................. |
TWO ROWS OF HOLES |
2BLK FORM 0.1 Z X+0 Y+0 Z-30
3BLK FORM 0.2 X+100 Y+60 Z+0
4TOOL DEF 1 L+0 R+2,5
5TOOL CALL 1 Z S3000
6CYCL DEF 1.0 PECKING
7CYCL DEF 1.1 SET UP -2
8CYCL DEF 1.2 DEPTH -22
9CYCL DEF 1.3 PECKG -10
10CYCL DEF 1.4 DWELL 0
11CYCL DEF 1.5 F150
12L X+5 Y+45 R0 F9999 M3
13L Z+2
14CALL LBL 1
15L X+10 Y+15
16CALL LBL 1
Retract tool, end |
17 L Z+20 R0 F9999 M2 |
SPGM 1
18LBL 1
19L IX+20 F9999 M99
20CALL LBL 1 REP 3/3
21LBL 0
22END PGM 7280 MM
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7280/2 |
Task: |
Irregular drilling pattern, |
Program(s): |
|
with 3 tools and 3 cycles |
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
|
|
|
|
M6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
10 |
20 |
30 |
40 |
50 |
70 |
90 |
100 |
40 |
20 |
15 |
0 |
Tools: |
• NC-center drill |
•Twist drill
•Tap
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7153/1 |
Program layout: |
Irregular drilling pattern, |
|
|
|
with 3 tools and 3 cycles |
|
|
|
|
|
|
Preparation |
BLK FORM |
|
Workpiece blank |
|
TOOL DEF |
|
Tool list |
|
TOOL 1 . . . |
|
First tool call |
|
L Z . . . . . . . . . . M6 |
|
Tool change |
Process |
|
|
|
|
|
|
|
Center |
CYCL DEF, DEPTH = PECKG |
|
Pecking cycle |
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
|
STOP M6 |
|
Tool change |
|
|
|
|
Pecking |
TOOL 2 . . . |
|
|
|
CYCL DEF, DEPTH ¹ PECKG |
|
Pecking cycle |
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
|
STOP M6 |
|
Tool change |
|
|
|
|
Tapping |
TOOL 3 . . . |
|
|
|
CYCL DEF |
|
Tapping cycle |
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
Retract tool, end |
L Z . . . M2 |
|
|
|
|
|
|
Drilling pattern, |
|
|
|
LBL 1 |
|
|
|
SPGM 1 |
L X . . . Y . . . |
|
1st position lower left |
|
|
||
|
L Z . . . M89 |
|
Setup clearance |
|
|
|
and modal cycle call |
|
L X . . . Y . . . |
|
Further hole positions: |
|
|
|
automatic |
|
L X . . . Y . . . M99 |
|
Further hole positions: |
|
|
|
Cycle call by block |
|
L Z . . . |
|
Tool change position |
|
L X . . . Y . . . |
|
|
|
|
|
|
|
LBL 0 |
|
|
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7153/2 |
Program layout: |
Use of Q-parameter for |
|
|
|
irregular drilling pattern |
|
|
|
BLKFORM |
|
|
Center |
|
|
|
TOOL DEF 1 L0 R3,5 |
|
|
|
|
TOOL CALL . . . |
|
Set up |
|
Q1 = +2 |
|
|
|
Q2 = +3 |
|
Depth |
|
CYCL DEF . . . PECKING |
|
|
|
SET UP -Q1 |
|
|
|
DEPTH -Q2 . . . |
|
|
|
|
|
|
|
CALL LBL 1 |
|
|
Pecking |
|
|
|
TOOL DEF 2 L0 R2,5 |
|
|
|
|
TOOL CALL . . . |
|
|
|
Q2 = 20 |
|
Cycle type stays the |
|
|
|
|
|
|
|
same! |
|
|
|
|
|
CALL LBL 1 |
|
|
Tapping |
|
|
|
TOOL DEF 3 L0 R3,0 |
|
|
|
|
TOOL CALL . . . |
|
|
|
Q1 = 6 |
|
|
|
Q2 = 15 |
|
|
|
CYCL DEF . . . TAPPING |
|
|
|
SET UP -Q1 |
|
|
|
DEPTH -Q2 . . . |
|
|
|
|
|
|
|
CALL LBL 1 |
|
|
Retract tool, end |
L Z100 M2 |
|
Return jump |
|
|
|
|
Drilling pattern, |
|
|
|
LBL 1 |
|
|
|
SPGM |
L X . . . Y . . . R0 F9999 M3 |
|
|
|
|
|
|
|
L ZQ1 M89 |
|
|
|
L X . . . Y . . . |
|
|
|
L X . . . Y . . . M99 |
|
|
|
L Z50 |
|
|
|
|
|
|
|
LBL 0 |
|
|
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
G7 |
Solution: Irregular drilling pattern, with 3 tools and 3 cycles
Main program
Center
Pecking
Tapping
Retract tool, end
100 |
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
|
|
|
|
M6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
10 |
20 |
30 |
40 |
50 |
70 |
90 |
100 |
40 |
20 |
15 |
0 |
0BEGIN PGM 7153 MM
1BLK FORM 0.1 Z X+0 Y+0 Z-40
2BLK 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 |
8CYCL DEF 1.0 PECKING
9CYCL DEF 1.1 SET UP -2
10CYCL DEF 1.2 DEPTH -2
11CYCL DEF 1.3 PECKG -2
12CYCL DEF 1.4 DWELL 0
13CYCL DEF 1.5 F200
14 |
CALL LBL 1 .............................................................. |
CALL DRILLING PATTERN |
15 |
STOP M6 ................................................................. |
TOOL CHANGE |
16 |
TOOL CALL 2 Z S500 .............................................. |
TWIST DRILL |
17CYCL DEF 1.0 PECKING
18CYCL DEF 1.1 SET UP -2
19CYCL DEF 1.2 DEPTH -20
20CYCL DEF 1.3 PECKG -10
21CYCL DEF 1.4 DWELL 0
22CYCL DEF 1.5 F100
23 |
CALL LBL 1 .............................................................. |
CALL DRILLING PATTERN |
24 |
STOP M6 ................................................................. |
TOOL CHANGE |
25 |
TOOL CALL 3 Z S500 .............................................. |
TAP |
26CYCL DEF 2.0 TAPPING
27CYCL DEF 2.1 SET UP -2
28CYCL DEF 2.2 DEPTH -15
29CYCL DEF 2.3 DWELL 0
30CYCL DEF 2.4 F500
31 CALL LBL 1 .............................................................. |
CALL DRILLING PATTERN |
32 L Z+100 M2
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7153/3 |
Solution:
SPGM 1, Drilling pattern
Irregular drilling pattern, with 3 tools and 3 cycles
33LBL 1
34L X+10 Y+20 R0 F9999 M13
35 L Z+2 M89 ................................................................ |
FIRST MODAL CYCLE CALL |
36L X+40 Y+30
37L X+90 Y+10
38L Y+40
39L X+50 Y+80
40L Y+50
41L X+30 Y+40
42L X+20 Y+80
43L X+10 Y+90
44 |
L X+70 M99 ............................................................. |
LAST CYCLE CALL BY BLOCK |
45 |
L Z+100 M9 .............................................................. |
TOOL CHANGE POSITION |
46L X-20 Y-20
47LBL 0
48END PGM 7153 MM
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7153/4 |
Task: |
Linear hole pattern |
Program(s): |
100
84
76
68
60
52
44
36
28
20
0
M6
0 |
15 |
25 |
35 |
45 |
55 |
65 |
75 |
85 |
100 |
40 |
20 |
15 |
0 |
Procedure: |
• |
Move up and down colums (meandering) |
Tools: |
• |
NC-center drill |
|
• |
Twist drill |
|
• |
Tap |
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7109/1 |
Program layout: |
Linear hole pattern |
Preparation |
BLK FORM |
|
Workpiece blank |
|
TOOL 1 . . . / TOOL 2 . . . |
|
Tool list if necessary |
|
|
|
|
Process |
TOOL 1 . . . |
|
|
Center |
CYCL DEF, DEPTH = PECKG |
|
Pecking cycle |
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
|
L Z . . . M6 |
|
Tool change |
|
|
|
|
Pecking |
TOOL 2 . . . |
|
|
|
CYCL DEF, DEPTH ¹ PECKG |
|
Pecking cycle |
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
|
L Z . . . M6 |
|
Tool change |
|
|
|
|
Tapping |
TOOL 3 . . . |
|
|
|
CYCL DEF |
|
Tapping cycle |
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
Retract tool, end |
L Z . . . M2 |
|
|
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7109/2 |
Program layout: |
Linear hole pattern |
Meandering movement:
LBL 3 |
LBL 4 |
|
|
Pre-position |
|
|
|
LBL 2 |
LBL 2 |
LBL 2 |
LBL 2 |
Drilling pattern, |
LBL 1 |
|
|
|
|
SPGM 1 |
L X . . . Y . . . R0 F9999 M3 |
|
|
|
|
|
|
|
|
||
|
L Z . . . M8 |
|
|
|
|
|
|
|
|
|
|
|
LBL 2 |
|
|
|
|
|
L IX . . . |
M99 |
|
|
|
|
|
|
|
|
|
|
LBL 3 |
|
23456789 |
0 |
|
|
|
23456789 |
0 |
|
|
|
|
23456789 |
0 |
|
|
|
|
23456789 |
0 |
|
|
|
L IY . . . M99 |
|
|
|
|
|
|
|
|
|
|
|
CALL LBL 3 REP . . . |
234567890 |
|
|
|
|
23456789 |
0 |
|
||
|
23456789 |
0 |
|
||
|
23456789 |
0 |
|
||
|
L IX . . . M99 |
234567890 |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
LBL 4 |
|
23456789 |
0 |
|
|
|
23456789 |
0 |
|
|
|
|
23456789 |
0 |
|
|
|
|
23456789 |
0 |
|
|
|
L IY . . . M99 |
|
|
|
|
|
|
|
|
|
|
|
CALL LBL 4 REP . . . |
23456789 |
0 |
|
|
|
2345678923456789 |
00 |
|
||
|
23456789 |
0 |
|
||
|
CALL LBL 2 REP . . . |
234567890 |
|
|
|
|
|
|
|
||
|
LBL 0 |
|
|
|
|
Absolute Pre-position Setup clearance
Label
Define increments
Cross over and drill
Label
Move up column
Cross over and drill
Label
Move down column
Remaining columns
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7109/3 |
Solution: |
Linear hole pattern |
100
84
76
68
60
52
44
36
28
20
0
M6
0 |
15 |
25 |
35 |
45 |
55 |
65 |
75 |
85 |
100 |
40 |
20 |
15 |
0 |
Main program
0BEGIN PGM 7109 MM
1BLK FORM 0.1 Z X+0 Y+0 Z-40
2BLK 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 |
Center |
6 |
TOOL CALL 1 Z S2500 ............................................ |
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 -3 |
|
|
11 |
CYCL DEF 1.3 PECKG -3 |
|
|
12 |
CYCL DEF 1.4 DWELL 0 |
|
|
13 |
CYCL DEF 1.5 F100 |
|
|
14 |
CALL LBL 1 .............................................................. |
CALL DRILLING PATTERN |
|
15 |
L Z+100 M6 .............................................................. |
TOOL CHANGE |
Pecking |
16 |
TOOL CALL 2 Z S1500 |
|
|
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 -20 |
|
|
21 |
CYCL DEF 1.4 DWELL 0 |
|
|
22 |
CYCL DEF 1.5 F50 |
|
|
23 |
CALL LBL 1 .............................................................. |
CALL DRILLING PATTERN |
|
24 |
L Z+100 M6 .............................................................. |
TOOL CHANGE |
Tapping |
25 |
TOOL CALL 3 Z S500 |
|
|
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 |
Retract tool, end |
32 |
L Z+100 M2 |
|
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7109/4 |
Solution: |
Linear hole pattern |
SPGM 1, |
33 LBL 1 ........................................................................ |
DRILLING PATTERN |
|
Drilling pattern |
34 |
L X+5 Y+20 R0 F9999 M3 ........................................ |
PRE-POSITION |
35 |
L Z+2 R0 M8 |
|
|
|
|
||
|
36 |
LBL 2 |
|
|
37 |
L IX+10 M99 ............................................................ |
CROSS OVER |
|
38 |
LBL 3 |
|
|
39 |
L IY+8 M99 ............................................................... |
Y-STEP UPWARDS |
|
40 |
CALL LBL 3 REP 7/7 ................................................. |
COLUMN UPWARDS |
|
41 |
L IX+10 M99 ............................................................ |
CROSS OVER |
|
42 |
LBL 4 |
|
|
43 |
L IY-8 M99 ................................................................ |
Y-STEP DOWNWARDS |
|
44 |
CALL LBL 4 REP 7/7 ................................................. |
COLUMN DOWNWARDS |
|
45 |
CALL LBL 2 REP 3/3 ................................................. |
REMAINING COUMNS |
|
46 |
LBL 0 |
|
|
47 |
END PGM 7109 MM |
|
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7109/5 |
Task: |
Linear offset hole pattern, |
Program(s): |
|
including tapping |
|
100
80
70
60
50
40
30
20 |
|
|
|
|
|
|
|
|
|
|
|
|
M6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
30 |
40 |
|
50 |
60 |
70 |
80 |
90 |
100 |
40 |
20 |
15 |
0 |
0 |
25 |
35 |
45 |
55 |
65 |
|
75 |
85 |
|
|
|
|
|
Procedure: • Move back and forth along rows (meandering)
Tools: |
• NC-center drill |
•Twist drill
•Tap
HEIDENHAIN
Advanced course TNC 4xx |
C05 |
7426/1 |
Program layout: Linear offset hole pattern, including tapping
Meandering movement:
LBL |
2 |
LBL |
2 |
LBL |
2 |
LBL 4 |
LBL |
2 |
LBL 3 |
Pre-position |
Left end of short row = Preposition for next row
First pre-position lies under the first long row
Preparation |
BLK FORM |
|
Workpiece blank |
|
TOOL DEF |
|
Tool list |
|
TOOL 1 . . . |
|
First tool call |
|
L Z . . . . . . . . . . M6 |
|
Tool change |
|
|
|
|
Process |
|
|
|
Center |
CYCL DEF, DEPTH = PECKG |
|
Pecking cycle |
|
|
|
Call drilling pattern |
|
CALL LBL 1 |
|
|
|
STOP M6 |
|
Tool change |
|
|
|
|
Pecking |
TOOL 2 . . . |
|
|
|
CYCL DEF, DEPTH ¹ PECKG |
|
Pecking cycle |
|
|
|
Call drilling pattern |
|
CALL LBL 1 |
|
|
|
STOP M6 |
|
Tool change |
|
|
|
|
Tapping |
TOOL 3 . . . |
|
|
|
CYCL DEF |
|
Tapping cycle |
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
Process end |
STOP M2 |
|
|
HEIDENHAIN
Advanced course TNC 4xx |
C05 |
7426/2 |
Program layout:
Drilling pattern, SPGM 1
Linear offset hole pattern, including tapping
LBL 1
L X . . . Y . . .
L Z . . .
LBL 2
L IX . . . IY . . . M99
234567890
23456789 LBL 3 23456789 23456789
234567890
L IX . . . M99
23456789 0
CALL LBL 3 REP . . . 23456789 0
23456789 0
23456789 0
L IX . . . IY . . . M99
234567890
23456789 LBL 4 23456789 23456789
234567890
L IX . . . M99
23456789 0
CALL LBL 4 REP . . . 23456789 0
23456789 0
23456789 0
CALL LBL 2 REP . . .
L Z . . .
L X . . . Y . . . . .
LBL 0
Absolute pre-position Setup clearance
Label
Define increments
Cross over and drill
Label
Move right
Cross over and drill
Label
Move left
Remaining rows
Tool change position
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7426/3 |
Solution: Linear offset hole pattern, including tapping
100
80
70
60
50
40
30
20 |
|
|
|
|
|
|
|
|
|
|
|
M6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
20 |
30 |
40 |
50 |
60 |
70 |
80 |
90 |
100 |
40 |
20 |
15 |
0 |
0 |
25 |
35 |
45 |
55 |
65 |
75 |
85 |
|
|
|
|
|
Main program
0BEGIN PGM 7426 MM
1BLK FORM 0.1 Z X+0 Y+0 Z-40
2BLK 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 |
Center |
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 |
Pecking |
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 |
Tapping |
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 |
Retract tool, end |
32 |
STOP M2 |
|
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7426/4 |
Solution: |
Linear offset hole pattern, |
|
|
|
including tapping |
|
|
SPGM 1, |
33 LBL 1 |
|
|
Drilling pattern |
34 |
L X+25 Y+0 R0 F9999 M3 ........................................ |
PRE-POSITION |
35 |
L Z+2 R0 M8 |
|
|
|
|
||
|
36 |
LBL 2 ........................................................................ |
CROSS OVER AND DRILL |
|
37 |
L IX-5 IY+10 R0 M99 |
|
|
38 |
LBL 3 ........................................................................ |
RIGHT ALONG ROW |
|
39 |
L IX+10 R0 M99 |
|
|
40 |
CALL LBL 3 REP 6/6 |
|
|
41 |
L IX-5 IY+10 R0 M99................................................ |
CROSS OVER |
|
42 |
LBL 4 ........................................................................ |
LEFT ALONG ROW |
|
43 |
L IX-10 R0 M99 |
|
|
44 |
CALL LBL 4 REP 5/5 |
|
|
45 |
CALL LBL 2 REP 3/3 ................................................. |
REMAINING ROWS |
|
46 |
L Z+100 R0 M9......................................................... |
TOOL CHANGE POSITION |
|
47 |
L X-20 Y-20 R0 |
|
|
48 |
LBL 0 |
|
|
49 |
END PGM 7426 MM |
|
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7426/5 |
Task: |
Four double bolt hole circles, |
Program(s): |
|
with 3 tools, 3 cycles, |
|
|
including tapping |
|
100 |
|
|
|
|
|
|
|
75 |
|
|
|
|
|
|
|
|
|
36 |
|
|
|
|
|
25 |
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
M6 |
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
0 |
25 |
75 |
100 |
40 |
22 |
18 |
0 |
Tools: |
• NC-center drill |
•Twist drill
•Tap
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7139/1 |
Program layout: Nesting of double bolt hole circles
BLKFORM
Center
Pecking
Tapping
Retract tool, end
SPGM 1,
Circle center and SPGM call
SPGM 2,
Tool movements and holes
TOOL DEF / TOOL CALL 1 . . .
CYCL DEF . . .
CALL LBL 1
TOOL DEF / TOOL CALL 2 . . .
CYCL DEF . . .
CALL LBL 1
TOOL DEF / TOOL CALL 3 . . .
CYCL DEF . . .
CALL LBL 1
L Z100 M2
LBL 1 |
|
|
CC X . . . Y . . . |
|
|
CALL LBL 2 |
|
|
CC X . . . Y . . . |
|
|
CALL LBL 2 |
|
|
CC X . . . Y . . . |
|
|
CALL LBL 2 |
|
|
LBL 0 |
|
|
LBL 2 |
|
|
LP PR . . . PA . . . M3 |
|
|
L Z2 M99 |
|
|
LBL 3 |
23456789 |
0 |
2345678923456789 |
00 |
|
23456789 |
0 |
|
|
234567890 |
|
LBL 4 |
23456789 |
0 |
23456789 |
0 |
|
|
23456789 |
0 |
|
23456789 |
0 |
|
234567890 |
|
LBL 0 |
|
|
Inner bolt hole circle
Outer bolt hole circle
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
G8 |
Program layout: |
Four double bolt hole circles, |
|
|
|
with 3 tools, 3 cycles, |
|
|
|
including tapping |
|
|
|
|
|
|
Preparation |
BLK FORM |
Workpiece blank |
|
|
TOOL DEF |
Tool list |
|
|
TOOL 1 . . . |
First tool call |
|
|
L Z . . . . . . . . . . M6 |
Tool change |
|
Process |
|
|
|
|
|
|
|
Center |
CYCL DEF, DEPTH = PECKG |
Pecking cycle |
|
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
|
L Z . . . M6 |
Tool change |
|
|
|
|
|
Pecking |
TOOL 2 . . . |
|
|
|
CYCL DEF, DEPTH ¹ PECKG |
Pecking cycle |
|
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
|
L Z . . . M6 |
Tool change |
|
|
|
|
|
Tapping |
TOOL 3 . . . |
|
|
|
CYCL DEF |
Tapping cycle |
|
|
|
|
|
|
CALL LBL 1 |
|
Call drilling pattern |
Retract tool, end |
L Z . . . M2 |
|
HEIDENHAIN
Advanced course TNC 4xx |
C05 |
7139/2 |
Program layout:
Center of circles, SPGM 1
End SPGM 1
Drilling pattern, SPGM 2
Bolt hole circle
End SPGM 2
Four double bolt hole circles, with 3 tools, 3 cycles, including tapping
LBL 1
CC X . . . Y . . .
CALL LBL 2
CC X . . . Y . . .
CALL LBL 2
. . .
LBL 0
LBL 2
LP PR . . . PA . . . R0 F9999 M13
L Z . . . M99
234567890
23456789 LBL 3 23456789 23456789
234567890
LP PR . . . IPA . . . M99
23456789
CALL LBL 3 REP . . . 23456789
23456789
23456789
LP PR . . . M99
234567890
23456789 LBL 4 23456789 23456789
234567890
LP PR . . . IPA . . . M99
234567890
23456789
CALL LBL 4 REP . . . 23456789
23456789
23456789
LBL 0
Center lower left
Call bolt hole circle
Remaining centers
Call remaining bolt hole circles
Drill positions
Inner circle
Setup clearance and first hole Label
Remaining drill positions
0
0
0
0
Outer circle, first hole
Label
Remaining drill positions
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7139/3 |
Solution: Four double bolt hole circles, with 3 tools, 3 cycles, including tapping
100 |
|
|
|
|
|
|
|
75 |
|
|
|
|
|
|
|
|
|
36 |
|
|
|
|
|
25 |
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
M6 |
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
0 |
25 |
75 |
100 |
40 |
22 |
18 |
0 |
Main program
0BEGIN PGM 7139 MM
1BLK FORM 0.1 Z X+0 Y+0 Z-40
2BLK 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 |
L Z+100 R0 F9999 M6 .............................................. |
TOOL CHANGE |
Center |
7 |
TOOL CALL 1 Z S2500 ............................................. |
NC-CENTER DRILL |
|
8 |
CYCL DEF 1.0 PECKING |
|
|
9 |
CYCL DEF 1.1 SET UP -2 |
|
|
10 |
CYCL DEF 1.2 DEPTH -1,5 |
|
|
11 |
CYCL DEF 1.3 PECKG -1,5 |
|
|
12 |
CYCL DEF 1.4 DWELL 0 |
|
|
13 |
CYCL DEF 1.5 F100 |
|
|
14 |
CALL LBL 1 .............................................................. |
CALL DRILLING PATTERN |
|
15 |
L Z+100 M6 .............................................................. |
TOOL CHANGE |
Pecking |
16 |
TOOL CALL 2 Z S500 |
|
|
17 |
CYCL DEF 1.0 PECKING |
|
|
18 |
CYCL DEF 1.1 SET UP -2 |
|
|
19 |
CYCL DEF 1.2 DEPTH -22 |
|
|
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 |
L Z+100 M6 .............................................................. |
TOOL CHANGE |
Tapping |
25 |
TOOL CALL 3 Z S250 |
|
|
26 |
CYCL DEF 2.0 TAPPING |
|
|
27 |
CYCL DEF 2.1 SET UP -2 |
|
|
28 |
CYCL DEF 2.2 DEPTH -18 |
|
|
29 |
CYCL DEF 2.3 DWELL 0 |
|
|
30 |
CYCL DEF 2.4 F250 |
|
|
31 |
CALL LBL 1 .............................................................. |
CALL DRILLING PATTERN |
Retract tool, end |
32 |
L Z+100 M2 |
|
HEIDENHAIN
Advanced course TNC 4xx |
D02 |
7139/4 |
Solution:
SPGM 1, Center of circles
SPGM 1, end
SPGM 2, Bolt hole circle itself
SPGM 2, end
Four double bolt hole circles, with 3 tools, 3 cycles, including tapping
33 |
LBL 1 |
|
34 |
CC X+25 Y+25 ......................................................... |
CENTER LOWER LEFT |
35 |
CALL LBL 2 .............................................................. |
DRILL POSITIONS |
36 |
CC X+75 Y+25 ......................................................... |
CENTER LOWER RIGHT |
37 |
CALL LBL 2 .............................................................. |
DRILL POSITIONS |
38 |
CC X+75 Y+75 ......................................................... |
CENTER UPPER RIGHT |
39 |
CALL LBL 2 .............................................................. |
DRILL POSITIONS |
40 |
CC X+25 Y+75 ......................................................... |
CENTER UPPER LEFT |
41 |
CALL LBL 2 .............................................................. |
DRILL POSITIONS |
42 |
LBL 0 |
|
43 |
LBL 2 ........................................................................ |
DRILL POSITIONS |
44 |
LP PR+10 PA+0 M13................................................ |
INNER CIRCLE |
45 |
L Z+2 M99................................................................ |
1ST HOLE |
46 |
LBL 3 ........................................................................ |
REMAINING HOLES |
47LP IPA+90 M99
48CALL LBL 3 REP 2/2
49 |
LP PR+18 PA+180 M99 ............................................ |
OUTER CIRCLE |
50 |
LBL 4 ........................................................................ |
REMAINING HOLES |
51LP IPA+45 M99
52CALL LBL 4 REP 6/6
53LBL 0
54END PGM 7139 MM
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7139/5 |
Task: |
Large drilled plate |
Program(s): |
|
|
0 |
|
2 |
|
|
|
|
|
|
|
0°) |
|
|
|
|
|
36 |
|
|
° |
(= |
|
|||
8 |
|
|
|
|
|
|
1 |
|
|
|
|
8° |
|
|
|
|
|
1 |
|
|
|
|
|
° |
20' |
||
|
|
3 |
|
|
|
Z
1 5 0
260
|
|
0 |
|
|
||
|
2 |
|
|
|||
1 |
|
|
|
|
||
R |
|
|
|
|
15 |
|
|
|
|
|
2 |
||
R |
|
1 |
|
|||
1 |
|
22 |
||||
|
|
|
|
|
||
R |
1 |
04 |
Detail Z |
|||
M 2:1 |
||||||
|
||||||
R |
|
|
|
|
||
|
|
|
|
|
||
9 |
|
|
|
|
20 |
|
6 |
|
|
|
|
||
|
|
|
|
|
17 |
|
|
|
|
|
2 |
M3 |
Procedure: |
• |
Center holes, drill, tap |
|
• |
Mill large hole |
Tools: |
• |
NC-center drill |
|
• |
Twist drill |
|
• |
Tap |
|
• |
Mill R30 |
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7411/1 |
Program layout: |
Large drilled plate |
Preparation |
BLK FORM |
|
|
Workpiece blank |
|
TOOL 1 . . . / TOOL 2 . . . |
Tool list if necessery |
||
|
|
|
|
|
|
|
|
|
|
Process |
TOOL 1 . . . |
(R 2,0) |
|
|
Center |
CYCL DEF, DEPTH = PECKG |
Pecking cycle |
||
|
|
|
|
|
|
CALL LBL 1 |
|
|
Call drilling pattern |
|
. . . M6 |
|
|
Tool change |
|
|
|
|
|
Pecking |
TOOL 2 . . . |
(R 1,0) |
|
|
|
CYCL DEF |
|
|
Pecking cycle |
|
|
|
|
|
|
CALL LBL 1 |
|
|
Call drilling pattern |
|
. . . M6 |
|
|
Tool change |
|
|
|
|
|
Tapping |
TOOL 3 . . . |
(R 1,5) |
|
|
|
CYCL DEF |
|
|
Tapping cycle |
|
|
|
|
|
|
CALL LBL 1 |
|
|
Call drilling pattern |
|
. . . M6 |
|
|
Tool change |
|
|
|
|
|
Mill large holes |
TOOL 4 . . . |
(R 30) |
|
|
|
CYCL DEF |
|
|
Circular pocket-cycle |
|
L X . . . Y . . . |
|
|
Starting position and |
|
L Z . . . . . M99 |
|
|
cycle call |
Retract tool, end |
L Z . . . . . M2 |
|
|
|
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7411/2 |
Program layout:
Drilling pattern, SPGM 1
Large drilled plate
LBL 1
CC . . .
LP . . .
L Z . . .
LBL 2
LP IPA . . . . . . . . M99
23456789 LBL 3 23456789 23456789 23456789
234567890
LP IPR . . . . . M99
234567890
CALL LBL 3 REP . . . 23456789
23456789
23456789
234567890
LP IPA . . . . . . . . M99
234567890
LBL 4 23456789 23456789 23456789
234567890
LP IPR . . . . . M99
234567890
CALL LBL 4 REP . . . 23456789 0
23456789 0
23456789 0
234567890
CALL LBL 2 REP . . .
LP IPA . . . . . .
CALL LBL 2 REP . . .
L Z . . . . . M99
L X . . . Y . . . . .
LBL 0
Center
Absolute pre-position Plane
Setup clearance in Z
Angular step (increm. ) Drill with M99
Radial step inwards Further radial steps Angular step
Radial step outwards Further radial steps Further double rows To intermediate pos. Remaining hole gr. Tool change position
HEIDENHAIN
Advanced course TNC 4xx |
C01 |
7411/3 |
Detail: |
Large drilled plate |
LBL 0
8°
18°
0°
LBL 2
= 1st hole group
LBL 1
= (19 + 1)* drilling pattern + angle increment 4,667° between drilling patterns
3,333° |
Pre-position |
4,667° |
|
Angular step:
3° 20' = 3° 2060
= 3,333°
3,333° |
|
LBL 4 |
- |
LBL 3 |
|
|
6,667° |
|
LBL 2
Start = Pre-position
LBL 1
≈
Overall working direction
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7411/4 |
Solution: |
Large drilled plate |
|
|
0 |
|
2 |
|
|
|
) |
|
360° |
|
8° (= |
|
|
1 |
18° |
|
|
|
|
|
3° 20' |
|
Z
1 5 0
260
|
|
0 |
|
||
|
2 |
|
|||
1 |
|
|
|
||
R |
|
|
|
15 |
|
R |
|
2 |
|||
11 |
22 |
||||
|
|
|
|
||
R |
1 |
04 |
Detail Z |
||
M 2:1 |
|||||
|
|||||
R |
|
|
|
||
|
|
|
|
||
9 |
|
|
|
20 |
|
6 |
|
|
|
||
|
|
|
|
17 |
|
|
|
|
2 |
M3 |
Main program
0BEGIN PGM 7411 MM
1BLK FORM 0.1 Z X-125 Y-130 Z-22
2BLK FORM 0.2 X+125 Y+130 Z+0
3 |
TOOL DEF 1 L+0 R+2,0 ........................................... |
CENTER DRILL |
4 |
TOOL DEF 2 L+0 R+1 .............................................. |
TWIST DRILL |
5 |
TOOL DEF 3 L+0 R+1,5 ........................................... |
TAP |
6 |
TOOL DEF 4 L+0 R+30 ............................................ |
MILL |
Center |
7 |
TOOL CALL 1 Z S3000 |
|
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 F100 |
|
14 |
CALL LBL 1 |
|
15 |
L Z+20 R0 F9999 M6 |
Pecking |
16 |
TOOL CALL 2 Z S3000 |
|
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 -20 |
|
21 |
CYCL DEF 1.4 DWELL 0 |
|
22 |
CYCL DEF 1.5 F200 |
|
23 |
CALL LBL 1 |
|
24 |
L Z+20 R0 F9999 M6 |
HEIDENHAIN
Advanced course TNC 4xx |
C04 |
7411/5 |