beautypg.com

HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual

Page 234

background image

8-14

8

Cycles

TNC 426/TNC 425/TNC 415 B/TNC 407

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 cutter path:

+

POCKET MILLING cycle in a part program

%S812I G71 * ............................................................ Start of 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 * .............................................. Define tool
N40 T1 G17 S2000 * .................................................. Call tool
N50 G76 P01 –2 P02 –10 P03 –4 P04 80 P05 X+80
P06 Y+40 P07 100 * ................................................... Define POCKET MILLING cycle
N60 G00 G40 G90 Z+100 M06 * ............................... Retract in the infeed axis, insert tool
N70 X+60 Y+35 M03 * .............................................. Approach the starting position (center of pocket), spindle ON
N80 Z+2 M99 * .......................................................... Pre-position in Z to setup clearance, cycle call
N90 Z+100 M02 * ...................................................... Retract in the infeed axis, end of program
N99999 %S812I G71 *