HEIDENHAIN TNC 640 (34059x-05) Cycle programming User Manual
Page 218
Fixed Cycles: Contour Pocket
7.12
Programming Examples
7
218
TNC 640 | User's Manual Cycle Programming | 1/2015
Q18=0
;COARSE ROUGHING TOOL
Q19=150
;RECIPROCATION FEED RATE
Q208=30000
;RETRACTION FEED RATE
13 CYCL CALL M3
Cycle call: Rough-out
14 CYCL DEF 23 FLOOR FINISHING
Cycle definition: Floor finishing
Q11=100
;FEED RATE FOR PLNGNG
Q12=200
;FEED RATE FOR MILLING
Q208=30000
;RETRACTION FEED RATE
15 CYCL CALL
Cycle call: Floor finishing
16 CYCL DEF 24 SIDE FINISHING
Cycle definition: Side finishing
Q9=+1
;DIRECTION OF ROTATION
Q10=5
;PLUNGING DEPTH
Q11=100
;FEED RATE FOR PLNGNG
Q12=400
;FEED RATE FOR MILLING
Q14=+0
;ALLOWANCE FOR SIDE
17 CYCL CALL
Cycle call: Side finishing
18 L Z+250 R0 FMAX M2
Retract the tool, end program
19 LBL 1
Contour subprogram 1: left pocket
20 CC X+35 Y+50
21 L X+10 Y+50 RR
22 C X+10 DR-
23 LBL 0
24 LBL 2
Contour subprogram 2: right pocket
25 CC X+65 Y+50
26 L X+90 Y+50 RR
27 C X+90 DR-
28 LBL 0
29 LBL 3
Contour subprogram 3: square left island
30 L X+27 Y+50 RL
31 L Y+58
32 L X+43
33 L Y+42
34 L X+27
35 LBL 0
36 LBL 4
Contour subprogram 4: triangular right island
37 L X+65 Y+42 RL
38 L X+57
39 L X+65 Y+58
40 L X+73 Y+42
41 LBL 0
42 END PGM C21 MM