beautypg.com

Heidenhain, Solution, Spgm main program – HEIDENHAIN TNC 426 (280 460) Training Advanced User Manual

Page 88

background image

HEIDENHAIN

HEIDENHAIN

Solution:

Advanced course TNC 4xx

Truncated cone, standing, 3D, vertical,
external form with end mill, repeatable

7282/4

C05

100

20

0

100

0

50

0

50

R35

40

30

R15

0 BEGIN PGM 7282 MM
1 ................................................................................. TRUNCATED CONE, STANDING,
2 ................................................................................. 3D, VERTICAL, END MILL
3 ................................................................................. COMPLETED SECTION
4 BLK FORM 0.1 Z X+10 Y+10 Z-32
5 BLK FORM 0.2 X+90 Y+90 Z+0
6 TOOL DEF 1 L+0 R+10
7 TOOL CALL 1 Z S4000
8 L Z+20 R0 F9999 M3
9 CYCL DEF 7.0 DATUM SHIFT

10 CYCL DEF 7.1 X+50
11 CYCL DEF 7.2 Y+50
12 FN 1: Q3 = +15 + +Q108 .......................................... X TOP
13 FN 1: Q4 = +35 + +Q108 .......................................... X BOTTOM
14 CALL LBL 1 .............................................................. FIRST CUT

15 L Z+50 R0 F9999 M2

16 LBL 1
17 L X+Q3 Y+0 R0 F9999 M3 ....................................... APPROACH TOP
18 L Z+2
19 L Z+0 F100

20 LBL 2
21 L X+Q4 Y+0 Z-20 ..................................................... CUT DOWNWARDS
22 L Z+0 F9999 ............................................................. Z FREE
23 L X+Q3 Y+0 F2000
24 CYCL DEF 10.0 ROTATION
25 CYCL DEF 10.1 IROT-5 ............................................. FINENESS OF ROTATION
26 L Y+0 F500 ............................................................... CROSS OVER ON TOP
27 L F500
28 CALL LBL 2 REP 71/71 ............................................. NUMBER OF ROTATION STEPS

29 CYCL DEF 10.0 ROTATION
30 CYCL DEF 10.1 ROT+0
31 LBL 0
32 END PGM 7282 MM

SPGM

Main program