![HEIDENHAIN TNC 407 Скачать руководство пользователя страница 181](http://html1.mh-extra.com/html/heidenhain/tnc-407/tnc-407_user-manual_2118718181.webp)
6-3
TNC 426/TNC 425/TNC 415 B/TNC 407
6
Subprograms and Program Section Repeats
Programming and calling subprograms
Mark the beginning:
Select the label setting function.
LABEL NUMBER?
The subprogram begins with (for example) label number 5.
Resulting NC block: G98 L5 *
Mark the end:
A subprogram always ends with label number 0.
Select the label setting function.
LABEL NUMBER?
End of subprogram.
Resulting NC block: G98 L0 *
Call the subprogram:
A subprogram is called by its label number.
Call the subprogram behind label 5.
Resulting NC block: L5,0 *
The command L0,0 is not permitted (label 0 is only used to mark the end of a subprogram).
9
8
L
ENT
G
5
END
0
0
END
G
8
ENT
9
END
5