Contents: Basic course G3 and Upgrade course TNC 310
No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Title
Cartesian contour movements
Holes
Square
Rounding /chamfering corners
Rounding corners
Linear movements
Circular movements
Circular arc with CC, C
Tangential contour connection
Circular arcs
Circular arc with CR
Polar contour movements
Hexagon (polar)
Circle (polar) CP
Circlualr path with tang. connection (polar) CTP
Polar coordinates (general)
PGM-No.
151
152
153
154
250
251
206
207
208
209
213
211
212
252
15
16
17
18
19
20
21
22
23
24
Canned cycles
Drilling cycle
Drilling with 200-series cycles
Slot plate
Die I
Linear hole pattern
Hole pattern
Guide plate
Die II
Program section repeats
Hexagon
Drilled plate - slanted rows
201
260
210
265
220
221
261
266
268
270
HEIDENHAIN
Basic course G3/Upgrade course
E09
IH1
Contents: Basic course G3 and Upgrade course TNC 310
No.
25
26
27
28
29
Title
Subprogramming Technique
Subprogram (Groups of holes)
Bolt hole circle segments with several tools
Milling with several settings
Coordinate Transformations
Datum shift and mirror images
Coordinate transformations (combined)
PGM-No.
215
280
223
229
232
HEIDENHAIN
Basic course G3/Upgrade course
E09
IH2
100
70
30
Task:
Holes
8
Program(s):
0
0
20
50
75
100
20
0
HEIDENHAIN
Basic course G3/Upgrade course
C01
151/1
Solution: Holes
100
70
30
0
0
20
8
50
75
100
20
0
Complete program
0 BEGIN PGM 151 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+4 ...............................................
4 TOOL CALL 1 Z S4000 .............................................
5 L Z+100 R0 F MAX ...................................................
6 L X+20 Y+30 R0 F MAX M3 .....................................
7 L Z+2 R0 F MAX M8
8 L Z-22 R0 F400 .........................................................
9 L Z+2 R0 F MAX
10 L X+50 Y+70 R0 F MAX ...........................................
11 L Z-22 R0 F400
12 L Z+2 R0 F MAX
13 L X+75 Y+30 R0 F MAX ...........................................
14 L Z-22 R0 F400
15 L Z+100 R0 F MAX M2
16 END PGM 151 MM
WORKPIECE BLANK DEFINITION
DEFINE TOOL
CALL TOOL DATA
CLEARANCE HEIGHT
FIRST HOLE
DRILL
SECOND HOLE
THIRD HOLE
HEIDENHAIN
Basic course G3/Upgrade course
D02
151/3
100
50
Task:
Square
Program(s):
0
0
50
Begin program
Define workpiece blank
Define tool
Call tool data
Move to clearance height
Move to auxiliary point R0
Plunging depth
Contour starting point RL/RR
Contour coordinates RL/RR
○○○
5
0
100
20
BEGIN PGM . . . MM
BLK-FORM 0.1 . . . X . . . Y . . . Z . . .
BLK-FORM 0.2 X . . . Y . . . Z . . .
TOOL DEF . . . L . . . R . . .
TOOL CALL . . . . . . S . . .
L Z+ . . . R0 F . . .
L X . . . Y . . . R . . . F . . .
L Z . . . R . . . F . . . M . . .
L X . . . Y . . . RR/RL
L X . . . Y . . . RR/RL
○○○
Last contour point RL/RR
Move to auxiliary point R0
Retract tool, PGM end
HEIDENHAIN
Basic course G3/Upgrade course
D02
L X . . . Y . . . RR/RL
L X . . . Y . . . R . . .
L Z . . . R . . . F . . . M . . .
152/1
Solution: Square
100
50
0
0
50
100
20
5
0
Complete program
0 BEGIN PGM 152 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+8 ...............................................
4 TOOL CALL 1 Z S4000 .............................................
5 L Z+100 R0 F MAX ...................................................
6 L X-30 Y+50 R0 F MAX ............................................
7 L Z-5 R0 F MAX M3 .................................................
8 L X+0 Y+50 RL F400 ................................................
9 L X+50 Y+100
10 L X+100 Y+50
11 L X+50 Y+0
12 L X+0 Y+50 RL .........................................................
13 L X-30 R0 F MAX M5 ...............................................
14 L Z+100 R0 F MAX M2 ............................................
15 END PGM 152 MM
WORKPIECE BLANK DEFINITION
DEFINE TOOL
CALL TOOL DATA
CLEARANCE HEIGHT
AUXILIARY POINT (R0)
PLUNGING DEPTH
CONTOUR START. POINT (RL/RR)
LAST CONTOUR POINT
AUXILIARY POINT
RETRACT TOOL/PGM END
HEIDENHAIN
Basic course G3/Upgrade course
C01
152/2
100
50
Task:
Rounding / chamfering corners
R10
Program(s):
5 45°
0
5
0
50
100
100
20
0
HEIDENHAIN
Basic course G3/Upgrade course
D02
153/1
Solution: Rounding / chamfering corners
100
R10
50
5 45°
0
0
50
100
100
20
5
0
Complete program
0 BEGIN PGM 153 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+8 ...............................................
4 TOOL CALL 1 Z S4000 .............................................
5 L Z+100 R0 F MAX ...................................................
6 L X-30 Y+50 R0 F MAX ............................................
7 L Z-5 R0 F MAX M3
8 L X+0 Y+50 RL F200 ................................................
9 L X+50 Y+100
10 RND R10 ..................................................................
11 L X+100 Y+50
12 L X+50 Y+0
13 CHF 5........................................................................
14 L X+0 Y+50 RL
15 L X-30 R0 M5 ...........................................................
16 L Z+100 R0 F MAX M2 ............................................
17 END PGM 153 MM
WORKPIECE BLANK DEFINITION
DEFINE TOOL
CALL TOOL DATA
CLEARANCE HEIGHT
AUXILIARY POINT (R0)
CONTOUT STARTING POINT RL
ROUND CORNERS
CHAMFER
AUXILIARY POINT (RO)
PGM END
HEIDENHAIN
Basic course G3/Upgrade course
D02
153/2
100
Task:
Rounding corners
Program(s):
90
50
10
R10
R10
0
0
10
50
90
100
100
20
0
5
Begin program
Define workpiece blank
Define tool
Call tool data
Move to clearance height
Auxiliary point anfahren
Plunging depth
Approach tangentially
Contour
Depart tangentially
Retract tool, PGM end
BEGIN PGM . . . MM
BLK-FORM 0.1 . . . X . . . Y . . . Z . . .
BLK-FORM 0.2 X . . . Y . . . Z . . .
TOOL DEF . . . L . . . R . . .
TOOL CALL . . . . . . S . . .
L Z . . .
L X . . . Y . . .
L Z . . .
APPR . . .
L . . .
DEP . . .
L Z . . .
HEIDENHAIN
Basic course G3/Upgrade course
D02
154/1
Solution:
Rounding corners
100
Complete program
90
50
10
0
0 BEGIN PGM 154 MM
1 BLK FORM 0.1 Z X-20 Y+0 Z-20
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+8
4 TOOL CALL 1 Z S4000
5 L Z+100 R0 F MAX
6 L X-30 Y+70 R0 F MAX ............................................
7 L Z-5 R0 F MAX M3
8 APPR LCT X+10 Y+70 R5 RL F400 ..........................
9 L X+10 Y+90
10 RND R10
11 L X+50 Y+90
12 L Y+50 X+90
13 L X+90 Y+10
14 RND R10
15 L X+50 Y+10
16 L X+10 Y+50
17 L Y+70 ......................................................................
18 DEP LCT X-30 Y+70 R5 R0 ......................................
19 L Z+100 R0 F MAX M2
20 END PGM 154 MM
R10
R10
0
10
50
90
0
5
20
100
100
AUXILIARY POINT (R0)
APPROACH STARTING POINT
TANGENTIALLY
LAST CONTOUR POINT RL
DEPART TANGENTIALLY TO
AUXILIARY POINT
HEIDENHAIN
Basic course G3/Upgrade course
C01
154/2
100
90
80
70
40
Task:
Linear movements
Program(s):
10
10
10
R10
0
5
0
25
60
90
100
20
0
5
HEIDENHAIN
Basic course G3/Upgrade course
D02
250/1
Solution: Linear movements
100
90
80
70
Complete program
40
R10
10
0
5
0
0 BEGIN PGM 250 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 CALL 7 Z S2500 .............................................
4 L Z+100 R0 F9999 ....................................................
5 L X-20 Y+40 .............................................................
6 L Z+2 M3
7 L Z-5 F1000
8 APPR LCT X+5 Y+40 R3 RL F300 ............................
9 L Y+90
10 CHF 20
11 L X+60
12 L X+90 Y+80
13 L Y+40
14 CHF 10
15 L X+60 Y+10
16 L X+5
17 RND R10
18 L Y+40 ......................................................................
19 DEP LCT X-20 Y+40 R3 R0.......................................
20 L Z+100 R0 F MAX M2 ............................................
21 END PGM 250 MM
25
60
90
10
10
0
20
100
WORKPIECE BLANK DEFINITION
CALL TOOL DATA; R4
CLEARANCE HEIGHT
AUXILIARY POINT (R0)
CONTOUR STARTING POINT
(APPROACH TANGENTIALLY)
LAST CONTOUR POINT
AUXILIARY POINT (R0)
RETRACT TOOL
5
HEIDENHAIN
Basic course G3/Upgrade course
D02
250/2
100
95
80
75
60
50
45
30
20
Task:
R20
R20
R4
Circular movements
R9
R10
Program(s):
R5
R8
0
5
0
15
40
45
60
65
75
95
100
20
0
HEIDENHAIN
Basic course G3/Upgrade course
C01
251/1
Solution:
100
95
Circular movements
R20
Complete program
80
75
60
50
45
30
20
R20
R4
R9
0
0
15
0 BEGIN PGM 251 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 CALL 7 Z S2500 .............................................
4 L Z+100 R0 F9999
5 L X+20 Y-20 ..............................................................
6 L Z+2 M3
7 L Z-5 F500
8 APPR LCT X+20 Y+30 R3 RL F300 ..........................
9L X+0
10 RND R4
11 L X+15 Y+45
12 CR X+15 Y+60 R+20 DR+
13 L X+0 Y+75
14 CR X+20 Y+95 R+20 DR15 L X+40
16 CT X+65 Y+80
17 CC X+75 Y+80
18 C X+85 Y+80 DR+
19 L X+95
20 RND R5
21 L Y+50
22 L X+75 Y+30
23 RND R8
24 L Y+20
25 CC X+60 Y+20
26 C X+45 Y+20 DR27 L Y+30
28 RND R9
29 L X+20 ......................................................................
30 DEP LCT X+20 Y-20 R3 R0 F500 ..............................
31 L Z+100 R0 F MAX M2
32 END PGM 251 MM
40
45
60
65
R10
R5
R8
75
5
20
95
100
R4
AUXILIARY POINT (R0)
CONTOUR STARTING POINT
(APPROACH TANGENTIALLY)
LAST CONTOUR POINT
AUXILIARY POINT (R0)
0
HEIDENHAIN
Basic course G3/Upgrade course
D02
251/2
100
80
50
20
Task:
Circular arc with CC, C
80
Program(s):
0
0
23,542
50
Begin program
Define workpiece blank
Call tool data
Move to clearance height
Move to auxiliary point R0
Plunging depth
Approach contour tangentially
Define circle center
Circular movement
5
0
100
20
BEGIN PGM . . . MM
BLK-FORM 0.1 . . . X . . . Y . . . Z . . .
BLK-FORM 0.2 X . . . Y . . . Z . . .
TOOL CALL . . . . . . S . . .
L . . .
L . . . R0
L . . .
APPR . . . RL/RR
CC . . .
C . . .
Depart tangentially (aux.pt.)
Retract tool, PGM end
HEIDENHAIN
Basic course G3/Upgrade course
D02
DEP . . .
L . . .
206/1
Solution:
Circular arc with CC, C
100
80
50
20
0
0
23,542
50
80
100
20
5
0
Complete program
0 BEGIN PGM 206 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 CALL 13 Z S2500 ...........................................
4 L Z+100 R0 F MAX
5 L X-30 Y+50 R0 F MAX ............................................
6 L Z-5 R0 F MAX M3
7 APPR LT X+0 Y+20 LEN10 RL F250 M8
8 L X+23,542 RL
9 CC X+50 Y+50 ..........................................................
10 C Y+80 X+23,542 DR+ .............................................
11 L X+0 RL
12 DEP LT LEN10 R0 ....................................................
13 L Z+100 R0 F MAX M2
14 END PGM 206 MM
R20
AUXILIARY POINT
CIRCLE CENTER
CIRCULAR MOVEMENT
DEPART TANGENTIALLY (AUX.PT.)
HEIDENHAINHEIDENHAIN
Basic course G3/Upgrade course
D02
206/2
100
60
Task:
Tangential contour connection
(cartesian)
Program(s):
30
tangential
0
0
20
70
100
20
5
0
HEIDENHAIN
Basic course G3/Upgrade course
C01
207/1
Solution:
Tangential contour connection
(cartesian)
100
60
Complete program
30
0
0
0 BEGIN PGM 207 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 CALL 11 Z S2500 ...........................................
4 L Z+100 R0 F MAX ...................................................
5 L X+45 Y-25 R0 F MAX ............................................
6 L Z-5 F MAX M13
7 APPR LT X+20 Y+0 LEN5 RR F250 ..........................
8 L Y+30
9 CT X+70 Y+60 ..........................................................
10 L X+100
11 DEP LT LEN5 R0
12 L Z+100 R0 F MAX M2
13 END PGM 207 MM
tangential
20
70
5
20
100
R10
CLEARANCE HEIGHT
AUXILIARY POINT
APPROACH STARTING POINT OF
CONTOUR TANGENTIALLY
TANGENTIAL CIRCULAR PATH
0
HEIDENHAINHEIDENHAIN
Basic course G3/Upgrade course
D02
207/2
100
Task:
Circular arcs
Program(s):
P
2
50
30
0
P
1
0
Point
P
1
R10
P
4
15
X
6,645
R80
R75
Y
35,495
R20
P
3
5
60
Point
P
3
100
X
58,995
20
0
Y
30,025
P
2
55,505
HEIDENHAIN
Basic course G3/Upgrade course
69,488
C01
P
4
19,732
21,191
208/1
Solution:
Circular arcs
100
P
2
Complete program
50
P
1
30
0
R10
0
15
0 BEGIN PGM 208 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 CALL 13 Z S2500 ...........................................
4 L Z+100 R0 F MAX ...................................................
5 L X-30 Y+30 R0 F MAX M3 ......................................
6 L Z-5 F MAX .............................................................
7 APPR LCT X+5 Y+30 R5 RL F250 M8 ......................
8 CC X+15 Y+30 ..........................................................
9 C X+6,645 Y+35,495 DR- .........................................
10 CT X+55,505 Y+69,488 ............................................
11 CC X+60 Y+50
12 C X+58,995 Y+30,025 DR13 CT X+19,732 Y+21,191
14 CC X+15 Y+30
15 C X+5 Y+30 DR-
16 DEP LCT X-30 Y+30 R5 R0 ......................................
17 L Z+100 R0 F MAX M2
18 END PGM 208 MM
R80
P
4
R75
R20
P
3
60
5
20
100
R20
CLEARANCE HEIGHT
AUXILIARY POINT
DEPTH
APPROACH TANGENTIALLY
CIRCLE CENTER
CIRCLE
TANGENTIAL CIRCULAR PATH
DEPART TANGENTIALLY
0
HEIDENHAINHEIDENHAIN
Basic course G3/Upgrade course
D02
208/2
100
50
Task:
Circular arc with CR
R80
Program(s):
0
0
10
Begin program
Define workpiece blank
Call tool data
Move to clearance height
Move to auxiliary point
Plunging depth
Approach tangentially
Contour
Depart tangentially
50
5
90
100
20
0
BEGIN PGM . . . MM
BLK-FORM 0.1 . . . X . . . Y . . . Z . . .
BLK-FORM 0.2 X . . . Y . . . Z . . .
TOOL CALL . . . . . . S . . .
L . . .
. . .
. . .
. . .
. . .
. . .
Retract tool, PGM end
HEIDENHAIN
Basic course G3/Upgrade course
C01
. . .
209/1