beautypg.com

6 programming examples, 6 pr ogr amming examples 8.6 programming examples, Example: milling a contour in several infeeds – HEIDENHAIN iTNC 530 (60642x-04) User Manual

Page 310

background image

310

Programming: Subprograms and Program Section Repeats

8.6 Pr

ogr

amming examples

8.6 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

Contour milling

Repeat infeed and contour-milling

0 BEGIN PGM PGMREP 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 CALL 1 Z S500

Tool call

4 L Z+250 R0 FMAX

Retract the tool

5 L X-20 Y+30 R0 FMAX

Pre-position in the working plane

6 L Z+0 R0 FMAX M3

Pre-position to the workpiece surface

X

Y

100

100

20

75

30

50

20

75

R1

5

R18

R15