beautypg.com

Heidenhain – HEIDENHAIN TNC 426 (280 460) Training Advanced User Manual

Page 111

background image

HEIDENHAIN

Advanced course TNC 4xx

Program layout:

Milling a contour with several settings

BLK FORM

FN 0: Q1 = . . .
FN 0: Q2 = . . .
FN 0: Q3 = . . .
FN 0: Q4 = . . .
FN 0: Q5 = . . .
FN 0: Q6 = . . .

TOOL 1 . . . R5
L Z+ . . .

R0 F9999 M3

CALL LBL 1

L Z100 . . . M2

LBL 1

FN 2: Q12 = Q4 – Q3
FN 4: Q12 = Q12 DIV Q5
FN 0: Q13 = Q3
L X-10 Y+70

R0 F9999 M3

LBL 2

L ZQ13 FQ1
L X+10 Y+70

RL FQ2

RND . . .
L . . . / RND . . . / L . . .
L X . . . Y . . . RL
RND . . .
L X- . . . Y . . .

R0 . . .

FN 1: Q13 = Q13 + Q12

FN 11: IF Q13 GT Q4

GOTO LBL 2

FN 9:

IF Q13 EQU Q4
GOTO LBL 2

L Z2 F9999

LBL 0

Feed rate Z
Feed rate plane
Start Z
End Z
Number of cuts
Rounding

Setting range Z
Setting step Z
Z-start = Z-current
Uncorrected!

Move deeper
Move to first contour pt.
Approach tangentially

First/last contour point
Depart tangentially
Depart , uncorrected

Calculate Z setting

7285/2

C01

Conventional
preparation
Load data

Execute

Retract tool, end

SPGM

Starting values

Starting position

End position

Return jump /
further cuts, if the
final depth has not
yet been milled