TNC 320 | User's Manual
HEIDENHAIN Conversational Programming | 3/2014
27
8
Programming: Subprograms and program section repeats.................................................... 251
8.1
Labeling Subprograms and Program Section Repeats................................................................... 252
Label...................................................................................................................................................... 252
8.2
Subprograms....................................................................................................................................... 253
Operating sequence..............................................................................................................................253
Programming notes...............................................................................................................................253
Programming a subprogram................................................................................................................. 253
Calling a subprogram............................................................................................................................ 254
8.3
Program-section repeats.................................................................................................................... 255
Label LBL.............................................................................................................................................. 255
Operating sequence..............................................................................................................................255
Programming notes...............................................................................................................................255
Programming a program section repeat............................................................................................... 255
Calling a program section repeat..........................................................................................................256
8.4
Any desired program as subprogram............................................................................................... 257
Operating sequence..............................................................................................................................257
Programming notes...............................................................................................................................257
Calling any program as a subprogram.................................................................................................. 258
8.5
Nesting................................................................................................................................................. 259
Types of nesting....................................................................................................................................259
Nesting depth........................................................................................................................................259
Subprogram within a subprogram........................................................................................................ 260
Repeating program section repeats......................................................................................................261
Repeating a subprogram.......................................................................................................................262
8.6
Programming examples..................................................................................................................... 263
Example: Milling a contour in several infeeds...................................................................................... 263
Example: Groups of holes.................................................................................................................... 264
Example: Group of holes with several tools.........................................................................................265
Summary of Contents for TNC 320
Page 4: ...Controls of the TNC 4 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Page 5: ...Fundamentals ...
Page 16: ...Contents 16 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Page 43: ...1 First Steps with the TNC 320 ...
Page 63: ...2 Introduction ...
Page 81: ...3 Programming Fundamentals file management ...
Page 124: ......
Page 125: ...4 Programming Programming aids ...
Page 152: ......
Page 153: ...5 Programming Tools ...
Page 180: ......
Page 181: ...6 Programming Programming contours ...
Page 232: ......
Page 233: ...7 Programming Data transfer from DXF files or plain language contours ...
Page 251: ...8 Programming Subprograms and program section repeats ...
Page 267: ...9 Programming Q Parameters ...
Page 337: ...10 Programming Miscellaneous functions ...
Page 357: ...11 Programming Special functions ...
Page 379: ...12 Programming Multiple Axis Machining ...
Page 406: ......
Page 407: ...13 Manual operation and setup ...
Page 462: ......
Page 463: ...14 Positioning with Manual Data Input ...
Page 468: ......
Page 469: ...15 Test run and program run ...
Page 497: ...16 MOD functions ...
Page 525: ...17 Tables and overviews ...