HEIDENHAIN TNC 360 ISO Programming User Manual
Page 171

8-18
8
Cycles
TNC 360
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
0
Feed rate for milling:
500
mm/min
Cycle in a part program
%S818I G71 * ............................................................ Begin 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 * .............................................. Tool definition
N40 T1 G17 S2500 * .................................................. Tool call
N50 G37 P01 2 P02 1 * .............................................. Define in cycle CONTOUR GEOMETRY that the contour
elements are described in subprograms 1 and 2
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 the spindle, insert the tool
N80 X+40 Y+50 M03 * .............................................. Pre-positioning in X and Y, spindle ON
N90 Z+2 M99 * .......................................................... Pre-positioning 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 *
(From radius compensation G42 and counterclockwise
machining, the control concludes that the contour element is
N150 Y+20 * an island)
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 limitation of the machining surface
N260 Y+105 *
(From radius compensation G41 and counterclockwise
N270 X–5 *
machining, the control concludes that the contour element is
N280 Y–5 *
a pocket)
N290 G98 L0 *
N9999 %S818I G71 *
8.3
SL Cycles
Y
X
15
70
20
60
R12
G98 L1
1
2
3
4
5
6
9
8
7
G98 L2