HEIDENHAIN TNC 620 User Manual page 322

Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

8
Subprograms and program section repeats
8.6
Programming examples
N160 G00 Z+250 M2*
N170 G98 L1*
N180 G00 G40 G90 X+15 Y+10 M3*
N190 L2,0*
N200 X+45 Y+60*
N210 L2,0*
N220 X+75 Y+10*
N230 L2,0*
N240 G98 L0*
N250 G98 L2*
N260 G79*
N270 G91 X+20 M99*
N280 Y+20 M99*
N290 X-20 G90 M99*
N300 G98 L0*
N310 %UP2 G71 *
322
End of main program
Beginning of subprogram 1: Entire hole pattern
Move to starting point for group 1
Call subprogram 2 for the group
Move to starting point for group 2
Call subprogram 2 for the group
Move to starting point for group 3
Call subprogram 2 for the group
End of subprogram 1
Beginning of subprogram 2: Group of holes
Call cycle for 1st hole
Move to 2nd hole, call cycle
Move to 3rd hole, call cycle
Move to 4th hole, call cycle
End of subprogram 2
HEIDENHAIN | TNC 620 | ISO Programming User's Manual | 9/2016

Advertisement

Table of Contents
loading

Table of Contents