HEIDENHAIN TNC 407 (280 580) User Manual User Manual
Page 247

8-40
8
Cycles
TNC 407/TNC 415 B/TNC 425
Example:
Climb milling. The input parameters are labeled
in the program by plain language comments.
Y
X
5
50
100
95
80
75
20
15
R 7,5
R 7,5
Cycle in a part program
0
BEGIN PGM CONTRN MM
1
BLK FORM 0.1 Z X+0 Y+0 Z–20
2
BLK FORM 0.2 X+100 Y+100 Z+0 ..................... Define blank form
3
TOOL DEF 1 L+0 R+10 ...................................... Define the tool
4
TOOL CALL 1 Z S1750 ....................................... Call the tool
5
CYCL DEF 14.0 CONTOUR GEOM.
6
CYCL DEF 14.1 CONTOUR LABEL 1 ................. Define the contour subprogram
7
CYCL DEF 25.0 CONTOUR TRAIN
Q1=–12
;MILLING DEPTH
Q3=+0
;ALLOWANCE FOR SIDE
Q5=+0
;WORKPIECE SURFACE COORD
Q7=+20
;CLEARANCE HEIGHT
Q10=+2
;PECKING DEPTH
Q11=100
;FEED RATE FOR PECKING
Q12=200
;FEED RATE FOR MILLING
Q15=+1
;CLIMB OR UP-CUT ................ Choose type of milling
8
L Z+100 R0 F MAX M3
9
CYCL CALL ......................................................... Call cycle
10
L Z+100 R0 F MAX M2 ...................................... Retract tool, end of main program
11
LBL 1 .................................................................. Begin the contour subprogram
12
L X+0 Y+15 RL
13
L X+5 Y+20
14
CT X+5 Y+75 ...................................................... Describe the contour to be machined
15
L Y+95
16
RND R7.5
17
L X+50
18
RND R7.5
19
L X+100 Y+80
20
LBL 0 .................................................................. End of subprogram
21
END PGM CONTRN MM