HEIDENHAIN TNC 360 ISO Programming User Manual
Page 165

8-12
8
Cycles
TNC 360
8.2
Simple Fixed Cycles
Y
X
20
100
15
55
80
40
R5
Example: Rectangular pocket milling
Pocket center coordinates:
X
= 60
mm
Y
= 35
mm
Setup clearance:
2
mm
Milling depth:
10
mm
Pecking depth:
4
mm
Feed rate for pecking:
80
mm/min
First side length:
80
mm
Second side length:
40
mm
Milling feed rate:
100
mm/min
Direction of the cutter path:
+
POCKET MILLING cycle in a part program
%S812I G71 * ............................................................ Begin program
N10 G30 G17 X+0 Y+0 Z–20 * ................................... Define workpiece blank
N20 G31 G90 X+110 Y+100 Z+0 *
N30 G99 T1 L+0 R+5 * .............................................. Tool definition
N40 T1 G17 S2000 * .................................................. Tool call
N50 G76 P01 –2 P02 –10 P03 –4 P04 80 P05 X+80
P06 Y+40 P07 100 * ................................................... Cycle definition POCKET MILLING
N60 G00 G40 G90 Z+100 M06 * ............................... Retract the spindle, insert the tool
N70 X+60 Y+35 M03 * .............................................. Move to starting position (pocket center), spindle ON
N80 Z+2 M99 * .......................................................... Pre-positioning in Z to setup clearance, cycle call
N90 Z+100 M02 * ...................................................... Retract tool and end program
N9999 %S812I G71 *