342
9 Programming: Subprograms and Program Section Repeats
9.1 Labeling Subpr
ogr
ams and Pr
ogr
am Section Repeats
9.1 Labeling Subprograms and
Program Section Repeats
Subprograms and program section repeats enable you to program a
machining sequence once and then run it as often as desired.
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by labels.
A label is identified by a number between 1 and 254. Each label can be
set only once with LABEL SET in a program.
LABEL 0 (LBL 0) is used exclusively to mark the end of a subprogram
and can therefore be used as often as desired.
If a label is set more than once, the TNC sends an error
message at the end of the LBL SET block. With very long
programs, you can limit the number of blocks to be
checked for repeated labels with MP7229.
Summary of Contents for TNC 426
Page 3: ......
Page 4: ......
Page 8: ...IV...
Page 10: ...VI...
Page 26: ......
Page 27: ...1 Introduction...
Page 41: ...2 Manual Operation and Setup...
Page 54: ......
Page 55: ...3 Positioning with Manual Data Input MDI...
Page 59: ...4 Programming Fundamentals of NC File Management Programming Aids Pallet Management...
Page 122: ......
Page 123: ...5 Programming Tools...
Page 153: ...6 Programming Programming Contours...
Page 201: ...7 Programming Miscellaneous functions...
Page 226: ......
Page 227: ...8 Programming Cycles...
Page 366: ......
Page 367: ...9 Programming Subprograms and Program Section Repeats...
Page 381: ...10 Programming Q Parameters...
Page 424: ......
Page 425: ...11 Test run and Program Run...
Page 443: ...12 MOD Functions...
Page 472: ......
Page 473: ...13 Tables and Overviews...
Page 496: ......