beautypg.com

Yx z – HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual

Page 225

background image

8-5

8

Cycles

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

8.2

Simple Fixed Cycles

50

20

80

30

Y

X

Z

6

1

2

Example: PECKING

Hole coordinates:

X = 20 mm

Y = 30 mm

X = 80 mm

Y = 50 mm

Hole diameter:

6

mm

Setup clearance:

2

mm

Total hole depth:

15

mm

Pecking depth:

10

mm

Dwell time:

1

s

Feed rate:

80

mm/min

PECKING cycle in a part program

%S85I G71 * .............................................................. Start of program
N10 G30 G17 X+0 Y+0 Z–20 * ................................... Define workpiece blank
N20 G31 G90 X+100 Y+100 Z+0 *
N30 G99 T1 L+0 R+3 * .............................................. Define tool
N40 T1 G17 S1200 * .................................................. Call tool
N50 G83 P01 –2 P02 –15 P03 –10 P04 1 P05 80 * .... Define PECKING cycle
N60 G00 G40 G90 Z+100 M06 * ............................... Retract in the infeed axis, insert tool
N70 X+20 Y+30 M03 * .............................................. Pre-position for the first hole, spindle ON
N80 Z+2 M99 * .......................................................... Pre-position in Z to setup clearance, call cycle
N90 X+80 Y+50 M99 * .............................................. Move to second hole, call cycle
N100 Z+100 M02 * .................................................... Retract in the infeed axis, end of program
N99999 %S85I G71 *

2

1