beautypg.com

HEIDENHAIN TNC 320 (34055x-06) ISO programming User Manual

Page 23

background image

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

23

7

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

7.1

Labeling Subprograms and Program Section Repeats.................................................................... 194

Label....................................................................................................................................................... 194

7.2

Subprograms........................................................................................................................................ 195

Operating sequence............................................................................................................................... 195

Programming notes................................................................................................................................195

Programming a subprogram...................................................................................................................195

Calling a subprogram............................................................................................................................. 196

7.3

Program-section repeats..................................................................................................................... 197

Label G98............................................................................................................................................... 197

Operating sequence............................................................................................................................... 197

Programming notes................................................................................................................................197

Programming a program section repeat................................................................................................ 197

Calling a program section repeat........................................................................................................... 198

7.4

Any desired program as subprogram................................................................................................ 199

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

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

Calling any program as a subprogram................................................................................................... 200

7.5

Nesting.................................................................................................................................................. 201

Types of nesting.....................................................................................................................................201

Nesting depth.........................................................................................................................................201

Subprogram within a subprogram......................................................................................................... 202

Repeating program section repeats.......................................................................................................203

Repeating a subprogram........................................................................................................................ 204

7.6

Programming examples.......................................................................................................................205

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

Example: Groups of holes..................................................................................................................... 206

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