beautypg.com

HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 181

background image

6-7

TNC 425/TNC 415 B/TNC 407

6

Subprograms and Program Section Repeats

100

–20,2

Y

X

Z

–30

–51

–70

11

50

89 100

21,646

78,354

R30

100

8

Y

X

Z

9

10

11

22

21

20

19

6.2

Program Section Repeats

Example for exercise: Milling without radius compensation using program section repeats

Machining sequence:

• Upward milling direction

• Machine the area from X=0 to 50 mm (pro-

gram all X coordinates with the tool radius
subtracted) and from Y=0 to 100 mm : LBL 1

• Machine the area from X=50 to X=100 mm

(program all X coordinates with the tool radius
added) and from Y=0 to 100 mm : LBL 2

• After each upward pass, the tool is moved by

an increment of +2.5 mm in the Y axis.

The illustration to the right shows the block
numbers containing the end points of the
corresponding contour elements.

Part program:

0

BEGIN PGM BUMP MM

1

BLK FORM 0.1 Z X+0 Y+0 Z–70 ........................ Note: the blank form has changed

2

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

3

TOOL DEF 1 L+0 R+10

4

TOOL CALL 1 Z S1000

5

L X–20 Y–1 R0 FMAX M3

6

LBL 1

7

L Z–51 F MAX

8

L X+1 F100

9

L X+11.646 Z–20.2

10

CT X+40 Z+0

11

L X+41

12

L Z+10 F MAX

13

L X–20 IY+2.5

14

CALL LBL 1 REP40/40

15

L Z+20 F MAX

16

L X+120 Y–1

17

LBL 2

18

L Z–51 F MAX

19

L X+99 F100

20

L X+88.354 Z–20.2

21

CT X+60 Z+0

22

L X+59

23

L Z+10 F MAX

24

L X+120 IY+2.5

25

CALL LBL 2 REP40/40

26

L Z+100 F MAX M2

27

END PGM BUMP MM

Program section repeat 1: machining from
X=0 to 50 mm and from Y=0 to 100 mm

Program section repeat 2: Machining from X=50 to
100 mm and from Y=0 to 100 mm

Retract, re-position