HEIDENHAIN iTNC 530 (340 420) User Manual
Page 289
Advertising

HEIDENHAIN iTNC 530
261
8.3 Cy
cles f
o
r Dr
illing, T
a
pping and Thr
ead Milling
Example: Drilling cycles
Program sequence
n
Program the drilling cycle in the main program
n
Program machining within a subprogram, see
“Subprograms,” page 363
0 BEGIN PGM C18 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-20
Define the workpiece blank
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+6
Define the tool
4 TOOL CALL 1 Z S100
Tool call
5 L Z+250 R0 FMAX
Retract the tool
6 CYCL DEF 18.0 THREAD CUTTING
Define THREAD CUTTING cycle
7 CYCL DEF 18.1 DEPTH +30
8 CYCL DEF 18.2 PITCH +1.75
9 L X+20 Y+20 R0 FMAX
Approach hole 1
10 CALL LBL 1
Call subprogram 1
11 L X+70 Y+70 R0 FMAX
Approach hole 2
12 CALL LBL 1
Call subprogram 1
13 L Z+250 R0 FMAX M2
Retract tool, end of main program
X
Y
20
20
100
100
70
70
M12
M12
Advertising