EasyManuals Logo

HEIDENHAIN TNC 620 User Manual

HEIDENHAIN TNC 620
840 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #359 background imageLoading...
Page #359 background image
Subprograms and Program Section Repeats | Nesting
9
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
359
Repeating a subprogram
Example
0 BEGIN PGM UPGREP MM
...
10 LBL 1
Beginning of program section repeat 1
11 CALL LBL 2
Subprogram call
12 CALL LBL 1 REP 2
Program section call with two repeats
...
19 L Z+100 R0 FMAX M2
Last block of the main program with M2
20 LBL 2
Beginning of subprogram
...
28 LBL 0
End of subprogram
29 END PGM UPGREP MM
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HEIDENHAIN TNC 620 and is the answer not in the manual?

HEIDENHAIN TNC 620 Specifications

General IconGeneral
Power Supply24 V DC
Control TypeCNC
AxesUp to 5 axes
Display15" TFT color flat-panel display
InterfacesEthernet, USB
Data TransferEthernet, USB
Hard DriveSSD
StorageSSD

Related product manuals