10 programming examples, Example: roughing-out and fine-roughing a pocket, Programming examples – HEIDENHAIN TNC 620 (34056x-04) Cycle programming User Manual
Page 189: Programming examples 7.10
Programming Examples
7.10
7
TNC 620 | User's Manual Cycle Programming | 5/2013
189
7.10
Programming Examples
Example: Roughing-out and fine-roughing a pocket
0 BEGIN PGM C20 MM
1 BLK FORM 0.1 Z X-10 Y-10 Z-40
2 BLK FORM 0.2 X+100 Y+100 Z+0
Definition of workpiece blank
3 TOOL CALL 1 Z S2500
Tool call: coarse roughing tool, diameter 30
4 L Z+250 R0 FMAX
Retract the tool
5 CYCL DEF 14.0 CONTOUR GEOMETRY
Define contour subprogram
6 CYCL DEF 14.1 CONTOUR LABEL 1
7 CYCL DEF 20 CONTOUR DATA
Define general machining parameters
Q1=-20
;MILLING DEPTH
Q2=1
;TOOL PATH OVERLAP
Q3=+0
;ALLOWANCE FOR SIDE
Q4=+0
;ALLOWANCE FOR FLOOR
Q5=+0
;SURFACE COORDINATE
Q6=2
;SET-UP CLEARANCE
Q7=+100
;CLEARANCE HEIGHT
Q8=0.1
;ROUNDING RADIUS
Q9=-1
;DIRECTION
8 CYCL DEF 22 ROUGH-OUT
Cycle definition: Coarse roughing
Q10=5
;PLUNGING DEPTH
Q11=100
;FEED RATE FOR PLNGNG
Q12=350
;FEED RATE FOR ROUGH-OUT
Q18=0
;COARSE ROUGHING TOOL
Q19=150
;RECIPROCATION FEED RATE
Q208=30000
;RETRACTION FEED RATE
9 CYCL CALL M3
Cycle call: Coarse roughing
10 L Z+250 R0 FMAX M6
Tool change
11 TOOL CALL 2 Z S3000
Tool call: fine roughing tool, diameter 15