HEIDENHAIN TNC 640 (34059x-02) User Manual
Page 27

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