11 programming examples, Example: thread milling – HEIDENHAIN iTNC 530 (34049x-08) Cycle programming User Manual
Page 140

140
Fixed cycles: tapping / thread milling
4.1
1
Pr
ogr
amming
examples
4.11 Programming examples
Example: Thread milling
The drill hole coordinates are stored in the point
table TAB1.PNT and are called by the TNC with
CYCL CALL PAT
.
The tool radii are selected so that all work steps
can be seen in the test graphics.
Program sequence
Centering
Drilling
Tapping
0 BEGIN PGM 1 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-20
Definition of workpiece blank
2 BLK FORM 0.2 X+100 Y+100 Y+0
3 TOOL DEF 1 L+0 R+4
Tool definition of center drill
4 TOOL DEF 2 L+0 2.4
Tool definition of drill
5 TOOL DEF 3 L+0 R+3
Tool definition of tap
6 TOOL CALL 1 Z S5000
Tool call for centering drill
7 L Z+10 R0 F5000
Move tool to clearance height (enter a value for F): the TNC positions
to the clearance height after every cycle
8 SEL PATTERN “TAB1”
Definition of point table
9 CYCL DEF 200 DRILLING
Cycle definition: CENTERING
Q200=2
;SET-UP CLEARANCE
Q201=-2
;DEPTH
Q206=150
;FEED RATE FOR PLNGN
Q202=2
;PLUNGING DEPTH
Q210=0
;DWELL TIME AT TOP
Q203=+0
;SURFACE COORDINATE
0 must be entered here, effective as defined in point table
X
Y
20
10
100
100
10
90
90
80
30
55
40
65
M6