beautypg.com

6 pr ogr amming examples – HEIDENHAIN iTNC 530 (60642x-04) User Manual

Page 311

background image

HEIDENHAIN iTNC 530

311

8.6 Pr

ogr

amming examples

7 LBL 1

Set label for program section repeat

8 L IZ-4 R0 FMAX

Infeed depth in incremental values (in space)

9 APPR CT X+2 Y+30 CCA90 R+5 RL F250

Contour approach

10 FC DR- R18 CLSD+ CCX+20 CCY+30

Contour

11 FLT

12 FCT DR- R15 CCX+50 CCY+75

13 FLT

14 FCT DR- R15 CCX+75 CCY+20

15 FLT

16 FCT DR- R18 CLSD- CCX+20 CCY+30

17 DEP CT CCA90 R+5 F1000

Depart the contour

18 L X-20 Y+0 R0 FMAX

Retract tool

19 CALL LBL 1 REP 4

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

20 L Z+250 R0 FMAX M2

Retract the tool, end program

21 END PGM PGMREP MM