HEIDENHAIN TNC 640 (34059x-02) ISO programming User Manual
Page 26

Contents
26
TNC 640 | User's Manual for DIN/ISO Programming | 5/2013
8
Programming: Subprograms and program section repeats...................................................... 233
8.1
Labeling Subprograms and Program Section Repeats.................................................................... 234
Label....................................................................................................................................................... 234
8.2
Subprograms........................................................................................................................................ 235
Operating sequence............................................................................................................................... 235
Programming notes................................................................................................................................235
Programming a subprogram...................................................................................................................235
Calling a subprogram............................................................................................................................. 236
8.3
Program-section repeats..................................................................................................................... 237
Label G98............................................................................................................................................... 237
Operating sequence............................................................................................................................... 237
Programming notes................................................................................................................................237
Programming a program section repeat................................................................................................ 237
Calling a program section repeat...........................................................................................................238
8.4
Any desired program as subprogram................................................................................................ 239
Operating sequence............................................................................................................................... 239
Programming notes................................................................................................................................239
Calling any program as a subprogram................................................................................................... 240
8.5
Nesting.................................................................................................................................................. 241
Types of nesting.....................................................................................................................................241
Nesting depth.........................................................................................................................................241
Subprogram within a subprogram......................................................................................................... 242
Repeating program section repeats.......................................................................................................243
Repeating a subprogram........................................................................................................................244
8.6
Programming examples.......................................................................................................................245
Example: Milling a contour in several infeeds....................................................................................... 245
Example: Groups of holes..................................................................................................................... 246
Example: Group of holes with several tools..........................................................................................247