Subprograms and program section repeats
8.5
Nesting
8
318
HEIDENHAIN | TNC 620 | ISO Programming User's Manual | 9/2016
Repeating a subprogram
Example NC blocks
%UPGREP G71 *
...
N10 G98 L1*
Beginning of program section repeat 1
N11 L2,0*
Subprogram call
N12 L1,2*
Program section call with two repeats
...
N19 G00 G40 Z+100 M2*
Last block of the main program with M2
N20 G98 L2*
Beginning of subprogram
...
N28 G98 L0*
End of subprogram
N99999999 %UPGREP G71 *
Program execution
1 Main program UPGREP is executed up to block 11.
2 Subprogram 2 is called and executed.
3 Program section between block 12 and block 10 is repeated
twice. This means that subprogram 2 is repeated twice.
4 Main program UPGREP is executed from block 13 up to block
19. Return jump to block 1 and end of program.
Содержание TNC 620 Programming Station
Страница 1: ...TNC 620 User s Manual ISO programming NC Software 817600 04 817601 04 817605 04 English en 9 2016 ...
Страница 4: ......
Страница 5: ...Fundamentals ...
Страница 28: ...Contents 28 HEIDENHAIN TNC 620 ISO Programming User s Manual 9 2016 ...
Страница 57: ...1 First Steps with the TNC 620 ...
Страница 77: ...2 Introduction ...
Страница 110: ......
Страница 111: ...3 Fundamentals file management ...
Страница 166: ......
Страница 167: ...4 Programming aids ...
Страница 194: ......
Страница 195: ...5 Tools ...
Страница 234: ......
Страница 235: ...6 Programming contours ...
Страница 284: ......
Страница 285: ...7 Data transfer from CAD files ...
Страница 304: ......
Страница 305: ...8 Subprograms and program section repeats ...
Страница 323: ...9 Programming Q parameters ...
Страница 384: ......
Страница 385: ...10 Miscellaneous functions ...
Страница 407: ...11 Special functions ...
Страница 433: ...12 Multiple axis machining ...
Страница 475: ...13 Pallet management ...
Страница 480: ......
Страница 481: ...14 Manual Operation and Setup ...
Страница 549: ...15 Positioning with Manual Data Input ...
Страница 554: ......
Страница 555: ...16 Test Run and Program Run ...
Страница 590: ......
Страница 591: ...17 MOD Functions ...
Страница 622: ......
Страница 623: ...18 Tables and Overviews ...