HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual
Page 240
8-20
8
Cycles
TNC 426/TNC 425/TNC 415 B/TNC 407
Example: Roughing-out a rectangular island
Rectangular island with rounded corners
Tool: center-cut end mill (ISO 1641),
radius 5 mm
Coordinates of the island corners:
X
Y
1
70 mm
60 mm
2
15 mm
60 mm
3
15 mm
20 mm
4
70 mm
20 mm
Coordinates of the auxiliary pocket:
X
Y
6
–5 mm
–5 mm
7
105 mm
–5 mm
8
105 mm
105 mm
9
–5 mm
105 mm
Starting point for machining:
5
X = 40 mm
Y = 60 mm
Setup clearance:
2
mm
Milling depth:
15
mm
Pecking depth:
8
mm
Feed rate for pecking:
100
mm/min
Finishing allowance:
0
Rough-out angle:
0
°
Milling feed rate:
500
mm/min
ROUGH-OUT cycle in a part program
%S818I G71 * ............................................................ Start of program
N10 G30 G17 X+0 Y+0 Z–20 * ................................... Define workpiece blank
N20 G31 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+3 * .............................................. Define tool
N40 T1 G17 S2500 * .................................................. Call tool
N50 G37 P01 2 P02 1 * .............................................. In the CONTOUR GEOMETRY cycle, state that the contour
elements are described in subprograms 2 and 1
N60 G57 P01 –2 P02 –15 P03 –8 P04 100 P05 +0
P06 +0 P07 500 * ....................................................... Cycle definition ROUGH-OUT
N70 G00 G40 G90 Z+100 M06 * ............................... Retract in the infeed axis, insert tool
N80 X+40 Y+50 M03 * .............................................. Pre-position in X/Y, spindle ON
N90 Z+2 M99 * .......................................................... Pre-position in Z to setup clearance, cycle call
N100 Z+100 M02 *
N110 G98 L1 *
Subprogram 1:
N120 G01 G42 X+40 Y+60 *
Geometry of the island
N130 X+15 *
(radius compensation G42 and machining in counterclockwise
direction: the contour element is an island)
N150 Y+20 *
N160 G25 R12 *
N170 X+70 *
N180 G25 R12 *
N190 Y+60 *
N200 G25 R12 *
N210 X+40 *
N220 G98 L0 *
N230 G98 L2 *
Subprogram 2:
N240 G01 G41 X-5 Y-5 *
Geometry of the auxiliary pocket:
N250 X+105 *
External boundary of the area to
N260 Y+105 *
be machined
N270 X–5 *
(radius compensation G41 and machining in counterclockwise
N280 Y–5 *
direction: the contour element is a pocket)
N290 G98 L0 *
N99999 %S818I G71 *
Y
X
15
70
20
60
R12
G98 L1
1
2
3
4
5
6
9
8
7
G98 L2