beautypg.com

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

Page 45: Lbl 5 lbl 4 lbl 6

background image

HEIDENHAIN

HEIDENHAIN

Solution:

Advanced course TNC 4xx

Mixed elements (internal and external)
with Q-parameters

761591/2

C04

Main program

0 BEGIN PGM 761591 MM
1 ................................................................................. CARBURETOR CHAMBER (INSIDE
2 ................................................................................. AND OUTSIDE), TNC 4XX
3 BLK FORM 0.1 Z X+0 Y+15 Z-25
4 BLK FORM 0.2 X+100 Y+95 Z+0
5 TOOL DEF 1 L+0 R+3,5
6 TOOL CALL 1 Z S3000
7 L Z+20 R0 F9998 M3
8 CYCL DEF 20.0 CONTOUR DATA

Q1=-24 ..................................................................... MILLING DEPTH
Q2=1 ......................................................................... TOOL PATH OVERLAP
Q3=+0 ...................................................................... ALLOWANCE FOR SIDE
Q4=+0 ...................................................................... ALLOWANCE FOR FLOOR
Q5=+0 ...................................................................... WORKPIECE SURFACE COORD.

Q6=-2 ............................................................................. SET-UP CLEARANCE

Q7=+10 .................................................................... CLEARANCE HEIGHT
Q8=+0 ...................................................................... ROUNDING RADIUS
Q9=-1 ....................................................................... DIRECTION OF ROTATION

9 CYCL DEF 22.0 ROUGH OUT

Q10=-4 ...................................................................... PLUNGING DEPTH
Q11=100 ................................................................... FEED RATE FOR PLUNGING
Q12=500 ................................................................... FEED RATE FOR MILLING

10 CYCL DEF 14.0 CONTOUR GEOMETRY
11 CYCL DEF 14.1 CONTOUR LABEL 4 /5 /6
12 CYCL CALL M3
13 CALL LBL 10
14 STOP M6

15 TOOL DEF 2 L+0 R+2
16 TOOL CALL 2 Z S3000
17 CYCL DEF 24.0 SIDE FINISHING

Q9=+1 ...................................................................... DIRECTION OF ROTATION
Q10=-4 ...................................................................... PLUNGING DEPTH

Q11=500 ........................................................................ FEED RATE FOR PLUNGING

Q12=1000 ................................................................. FEED RATE FOR MILLING
Q14=+0 .................................................................... ALLOWANCE FOR SIDE

18 CALL LBL 10
19 STOP M6

100

100

0

60

0

55

25

0

24

20

25

5

40

75

55

R10

R35

16

8

80

15

R40

LBL 5

LBL 4

LBL 6

Roughing out

Finishing