beautypg.com

HEIDENHAIN TNC 620 (34056x-04) ISO programming User Manual

Page 25

background image

TNC 620 | User's Manual for DIN/ISO Programming | 5/2013

25

7

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

7.1

Labeling Subprograms and Program Section Repeats.................................................................... 198

Label....................................................................................................................................................... 198

7.2

Subprograms........................................................................................................................................ 199

Operating sequence............................................................................................................................... 199

Programming notes................................................................................................................................199

Programming a subprogram...................................................................................................................199

Calling a subprogram............................................................................................................................. 200

7.3

Program-section repeats..................................................................................................................... 201

Label G98............................................................................................................................................... 201

Operating sequence............................................................................................................................... 201

Programming notes................................................................................................................................201

Programming a program section repeat................................................................................................ 201

Calling a program section repeat........................................................................................................... 202

7.4

Any desired program as subprogram................................................................................................ 203

Operating sequence............................................................................................................................... 203

Programming notes................................................................................................................................203

Calling any program as a subprogram................................................................................................... 204

7.5

Nesting.................................................................................................................................................. 205

Types of nesting.....................................................................................................................................205

Nesting depth.........................................................................................................................................205

Subprogram within a subprogram......................................................................................................... 206

Repeating program section repeats.......................................................................................................207

Repeating a subprogram........................................................................................................................ 208

7.6

Programming examples.......................................................................................................................209

Example: Milling a contour in several infeeds....................................................................................... 209

Example: Groups of holes..................................................................................................................... 210

Example: Group of holes with several tools..........................................................................................211