HEIDENHAIN TNC 320 (77185x-01) User Manual
Page 27
TNC 320 | User's Manual
HEIDENHAIN Conversational Programming | 3/2014
27
8
Programming: Subprograms and program section repeats.................................................... 251
8.1
Labeling Subprograms and Program Section Repeats................................................................... 252
Label...................................................................................................................................................... 252
8.2
Subprograms....................................................................................................................................... 253
Operating sequence..............................................................................................................................253
Programming notes...............................................................................................................................253
Programming a subprogram................................................................................................................. 253
Calling a subprogram............................................................................................................................ 254
8.3
Program-section repeats.................................................................................................................... 255
Label LBL.............................................................................................................................................. 255
Operating sequence..............................................................................................................................255
Programming notes...............................................................................................................................255
Programming a program section repeat............................................................................................... 255
Calling a program section repeat..........................................................................................................256
8.4
Any desired program as subprogram............................................................................................... 257
Operating sequence..............................................................................................................................257
Programming notes...............................................................................................................................257
Calling any program as a subprogram.................................................................................................. 258
8.5
Nesting................................................................................................................................................. 259
Types of nesting....................................................................................................................................259
Nesting depth........................................................................................................................................259
Subprogram within a subprogram........................................................................................................ 260
Repeating program section repeats......................................................................................................261
Repeating a subprogram.......................................................................................................................262
8.6
Programming examples..................................................................................................................... 263
Example: Milling a contour in several infeeds...................................................................................... 263
Example: Groups of holes.................................................................................................................... 264
Example: Group of holes with several tools.........................................................................................265