HEIDENHAIN TNC 640 (34059x-04) User Manual
Page 29

TNC 640 | User's Manual
HEIDENHAIN Conversational Programming | 3/2014
29
8
Programming: Subprograms and program section repeats.................................................... 267
8.1
Labeling Subprograms and Program Section Repeats................................................................... 268
Label...................................................................................................................................................... 268
8.2
Subprograms....................................................................................................................................... 269
Operating sequence..............................................................................................................................269
Programming notes...............................................................................................................................269
Programming a subprogram................................................................................................................. 269
Calling a subprogram............................................................................................................................ 270
8.3
Program-section repeats.................................................................................................................... 271
Label LBL.............................................................................................................................................. 271
Operating sequence..............................................................................................................................271
Programming notes...............................................................................................................................271
Programming a program section repeat............................................................................................... 271
Calling a program section repeat..........................................................................................................272
8.4
Any desired program as subprogram............................................................................................... 273
Operating sequence..............................................................................................................................273
Programming notes...............................................................................................................................273
Calling any program as a subprogram.................................................................................................. 274
8.5
Nesting................................................................................................................................................. 275
Types of nesting....................................................................................................................................275
Nesting depth........................................................................................................................................275
Subprogram within a subprogram........................................................................................................ 276
Repeating program section repeats......................................................................................................277
Repeating a subprogram.......................................................................................................................278
8.6
Programming examples..................................................................................................................... 279
Example: Milling a contour in several infeeds...................................................................................... 279
Example: Groups of holes.................................................................................................................... 280
Example: Group of holes with several tools.........................................................................................281