beautypg.com

6 pr og ra m m ing exam ple s – HEIDENHAIN TNC 410 ISO Programming User Manual

Page 350

background image

324

9 Programming: Subprograms and Program Section Repeats

9.6 Pr

og

ra

m

m

ing

Exam

ple

s

N90 G98 L1 *

Set label for program section repeat

N100 G91 Z-4 *

Infeed depth in incremental values (in the open)

N110 G11 G41 G90 R+45 H+180 F250 *

First contour point

N120 G26 R5 *

Approach contour

N130 H+120 *

N140 H+60 *

N150 H+0 *

N160 H-60 *

N170 H-120 *

N180 H+180 *

N190 G27 R5 F500 *

Depart contour

N200 G40 R+60 H+180 F1000 *

Retract tool

N210 L1.4 *

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

N220 G00 Z+250 M2 *

Retract in the tool axis, end program

N999999 %PGMWDH G71 *