Example: milling a contour in several infeeds, 5 programming examples – HEIDENHAIN TNC 310 (286 140) User Manual

Page 166

Advertising
background image

9 Programming: Subprograms and Program Section Repeats

154

9.5 Programming Examples

Example: Milling a contour in several infeeds

Program sequence

Pre-position the tool to the workpiece surface

Enter the infeed depth in incremental values

Mill the contour

Repeat downfeed and contour-milling

0 BEGIN PGM 95 MM

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

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

3 TOOL DEF 1 L+0 R+10

4 TOOL CALL 1 Z S4000

5 L Z+250 R0 F MAX

6 L X-20 Y-20 R0 F MAX

7 L Z0 R0 F2000 M3

8 LBL 1

9 L IZ-4 r0 F2000

10 L X+5 Y+5 RL F300

11 RND R2

12 L Y+85

13 RND R10 F150

14 L X+30

15 CR X+70 Y+95 R+30 DR-

16 L X+95

17 L Y+40

18 CT X+40 Y+5

19 L X+5

20 RND R2

21 L X-20 Y-20 R0 F1000

22 CALL LBL 1 REP 4/4

23 L Z+250 R0 F MAX M2

24 END PGM 95 MM

Define the tool

Tool call

Retract the tool

Pre-position in the working plane

Pre-position in the spindle axis

Set label for program section repeat

Infeed depth in incremental values (in the open)

Approach contour

Point 2: first straight line for corner 2

Insert radius with R = 10 mm, feed rate: 150 mm/min

Move to point 3

Move to point 4

Move to point 5

Move to point 6

Move to point 7

Move to last contour point 1

Depart contour

Return jump to LBL 1; section is repeated a total of 4 times

Retract in the tool axis, end program

X

Y

95

5

95

5

85

40

40

30

70

R10

R30

Advertising
This manual is related to the following products: