Siemens SINUMERIK 802D sl Programming And Operating Manual page 113

Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

Figure 3-37
Subroutine name
The subprogram is given a unique name allowing it to be selected from several subroutines.
When you create the program, the program name may be freely selected provided the fol-
lowing conventions are observed:
The same rules apply as for the names of main programs.
Example: BUCHSE7
It is also possible to use the address word L... in subroutines. The value can have 7 decimal
places (integers only).
Please observe: With address L, leading zeros are meaningful for differentiation.
Example: L128 ist nicht L0128 oder L00128 !
Dies sind 3 verschiedene Unterprogramme.
Note: The subroutine name LL6 is reserved for tool change.
Subroutine call
Subroutines are called in a program (main or subprogram) with their names. To do this, a
separate block is required.
Example:
N10 L785
N20 SHAFT7
Grinding
Programming and Operating manual, 06/2006, 6FC5398-4CP10-0BA0
Example of a sequence when a subroutine is called in a two-channel manner.
; Subprogram call L785
; Subprogram call SHAFT7
Programming
3.11 Subroutine technique
3-83

Advertisement

Table of Contents
loading

Table of Contents