11 programming examples, Example: drilling cycles, Programming examples – HEIDENHAIN TNC 620 (34056x-04) Cycle programming User Manual
Page 90: Fixed cycles: drilling 3.11 programming examples
Fixed Cycles: Drilling
3.11
Programming Examples
3
90
TNC 620 | User's Manual Cycle Programming | 5/2013
3.11
Programming Examples
Example: Drilling cycles
0 BEGIN PGM C200 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 Z+0
3 TOOL CALL 1 Z S4500
Tool call (tool radius 3)
4 L Z+250 R0 FMAX
Retract the tool
5 CYCL DEF 200 DRILLING
Cycle definition
Q200=2
;SET-UP CLEARANCE
Q201=-15
;DEPTH
Q206=250
;FEED RATE FOR PLNGNG
Q202=5
;PLUNGING DEPTH
Q210=0
;DWELL TIME AT TOP
Q203=-10
;SURFACE COORDINATE
Q204=20
;2ND SET-UP CLEARANCE
Q211=0.2
;DWELL TIME AT BOTTOM
6 L X+10 Y+10 R0 FMAX M3
Approach hole 1, spindle ON
7 CYCL CALL
Cycle call
8 L Y+90 R0 FMAX M99
Approach hole 2, call cycle
9 L X+90 R0 FMAX M99
Approach hole 3, call cycle
10 L Y+10 R0 FMAX M99
Approach hole 4, call cycle
11 L Z+250 R0 FMAX M2
Retract in the tool axis, end program
12 END PGM C200 MM