9 Programming: Subprograms and Program Section Repeats
9.3 Pr
ogr
am Section Repeats
9.3 Program Section Repeats
Label LBL
The beginning of a program section repeat is marked by the label LBL.
The end of a program section repeat is identified by CALL LBL /REP.
Operating sequence
1
The TNC executes the part program up to the end of the program
section (CALL LBL /REP).
2
Then the program section between the called LBL and the label
call is repeated the number of times entered after REP.
3
The TNC then resumes the part program after the last repetition.
Programming notes
n
You can repeat a program section up to 65 534 times in succession.
n
The number behind the slash after REP indicates the number of
repetitions remaining to be run.
n
The total number of times the program section is executed is always
one more than the programmed number of repeats.
Programming a program section repeat
U
To mark the beginning, press the LBL SET key and
enter a LABEL NUMBER for the program section you
wish to repeat.
U
Enter the program section.
Calling a program section repeat
U
Press the LBL CALL key and enter the label number of
the program section you want to repeat as well as the
number of repeats (with Repeat REP).
0 BEGIN PGM ...
LBL1
CALL LBL1 REP 2/2
END PGM ...
Содержание TNC 426
Страница 3: ......
Страница 4: ......
Страница 8: ...IV...
Страница 10: ...VI...
Страница 26: ......
Страница 27: ...1 Introduction...
Страница 41: ...2 Manual Operation and Setup...
Страница 54: ......
Страница 55: ...3 Positioning with Manual Data Input MDI...
Страница 59: ...4 Programming Fundamentals of NC File Management Programming Aids Pallet Management...
Страница 122: ......
Страница 123: ...5 Programming Tools...
Страница 153: ...6 Programming Programming Contours...
Страница 201: ...7 Programming Miscellaneous functions...
Страница 226: ......
Страница 227: ...8 Programming Cycles...
Страница 366: ......
Страница 367: ...9 Programming Subprograms and Program Section Repeats...
Страница 381: ...10 Programming Q Parameters...
Страница 424: ......
Страница 425: ...11 Test run and Program Run...
Страница 443: ...12 MOD Functions...
Страница 472: ......
Страница 473: ...13 Tables and Overviews...
Страница 496: ......