beautypg.com

HEIDENHAIN TNC 320 (34055x-06) User Manual

Page 24

background image

Contents

24

TNC 320 | User's Manual HEIDENHAIN Conversational Programming | 5/2013

7

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

7.1

Labeling Subprograms and Program Section Repeats.................................................................... 220

Label....................................................................................................................................................... 220

7.2

Subprograms........................................................................................................................................ 221

Operating sequence............................................................................................................................... 221

Programming notes................................................................................................................................221

Programming a subprogram...................................................................................................................221

Calling a subprogram............................................................................................................................. 222

7.3

Program-section repeats..................................................................................................................... 223

Label LBL............................................................................................................................................... 223

Operating sequence............................................................................................................................... 223

Programming notes................................................................................................................................223

Programming a program section repeat................................................................................................ 223

Calling a program section repeat........................................................................................................... 224

7.4

Any desired program as subprogram................................................................................................ 225

Operating sequence............................................................................................................................... 225

Programming notes................................................................................................................................225

Calling any program as a subprogram................................................................................................... 226

7.5

Nesting.................................................................................................................................................. 227

Types of nesting.....................................................................................................................................227

Nesting depth.........................................................................................................................................227

Subprogram within a subprogram......................................................................................................... 228

Repeating program section repeats.......................................................................................................229

Repeating a subprogram........................................................................................................................ 230

7.6

Programming examples.......................................................................................................................231

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

Example: Groups of holes..................................................................................................................... 232

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