beautypg.com

HEIDENHAIN TNC 426 (280 476) User Manual

Page 282

background image

HEIDENHAIN TNC 426, TNC 430

255

8.3 Cy

cles f

o

r Dr

illing, T

a

pping and Thr

ead Milling

Example: Drilling cycles

Program sequence

n

Program the drilling cycle in the main program

n

Program machining within a subprogram, see
“Subprograms,” page 343

0 BEGIN PGM C18 MM

1 BLK FORM 0.1 Z X+0 Y+0 Z-20

Define the workpiece blank

2 BLK FORM 0.2 X+100 Y+100 Z+0

3 TOOL DEF 1 L+0 R+6

Define the tool

4 TOOL CALL 1 Z S100

Tool call

5 L Z+250 R0 F MAX

Retract the tool

6 CYCL DEF 18.0 THREAD CUTTING

Define THREAD CUTTING cycle

7 CYCL DEF 18.1 DEPTH +30

8 CYCL DEF 18.2 PITCH -1.75

9 L X+20 Y+20 R0 F MAX

Approach hole 1

10 CALL LBL 1

Call subprogram 1

11 L X+70 Y+70 R0 F MAX

Approach hole 2

12 CALL LBL 1

Call subprogram 1

13 L Z+250 R0 F MAX M2

Retract tool, end of main program

X

Y

20

20

100

100

70

70

M12

M12

This manual is related to the following products: