6 pr ogr amming examples – HEIDENHAIN TNC 620 (73498x-01) ISO programming User Manual
Page 204
Advertising
204
Programming: Subprograms and program section repeats
7.
6 Pr
ogr
amming examples
N80 G98 L1 *
Set label for program section repeat
N90 G91 Z-4 *
Infeed depth in incremental values (in space)
N100 G11 G41 G90 R+45 H+180 F250 *
First contour point
N110 G26 R5 *
Contour approach
N120 H+120 *
N130 H+60 *
N140 H+0 *
N150 H-60 *
N160 H-120 *
N170 H+180 *
N180 G27 R5 F500 *
Contour departure
N190 G40 R+60 H+180 F1000 *
Retract tool
N200 L1,4 *
Return jump to label 1; section is repeated a total of 4 times
N200 G00 Z+250 M2 *
Retract in the tool axis, end program
N99999999 %PGMREP G71 *
Advertising