beautypg.com

HEIDENHAIN TNC 620 (81760x-01) User Manual

Page 29

background image

TNC 620 | User's Manual

HEIDENHAIN Conversational Programming | 3/2014

29

8

Programming: Subprograms and program section repeats.................................................... 255

8.1

Labeling Subprograms and Program Section Repeats................................................................... 256

Label...................................................................................................................................................... 256

8.2

Subprograms....................................................................................................................................... 257

Operating sequence..............................................................................................................................257
Programming notes...............................................................................................................................257
Programming a subprogram................................................................................................................. 257
Calling a subprogram............................................................................................................................ 258

8.3

Program-section repeats.................................................................................................................... 259

Label LBL.............................................................................................................................................. 259
Operating sequence..............................................................................................................................259
Programming notes...............................................................................................................................259
Programming a program section repeat............................................................................................... 259
Calling a program section repeat..........................................................................................................260

8.4

Any desired program as subprogram............................................................................................... 261

Operating sequence..............................................................................................................................261
Programming notes...............................................................................................................................261
Calling any program as a subprogram.................................................................................................. 262

8.5

Nesting................................................................................................................................................. 263

Types of nesting....................................................................................................................................263
Nesting depth........................................................................................................................................263
Subprogram within a subprogram........................................................................................................ 264
Repeating program section repeats......................................................................................................265
Repeating a subprogram.......................................................................................................................266

8.6

Programming examples..................................................................................................................... 267

Example: Milling a contour in several infeeds...................................................................................... 267
Example: Groups of holes.................................................................................................................... 268
Example: Group of holes with several tools.........................................................................................269