EasyManuals Logo

Siemens SINUMERIK 808D Programming And Operating Manual

Siemens SINUMERIK 808D
208 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 #95 background imageLoading...
Page #95 background image
Programming principles
1.11 Subroutine technique
Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
95
End of program
The end instruction RET can also be used instead of the M2 program end in the subroutine.
RET must be programmed in a separate block.
The RET instruction is used when G64 continuous-path mode is not to be interrupted by a
return. With M2, G64 is interrupted and exact stop is initiated.


0
1;=
15 
/
/
0








1

&DOO
5HWXUQ
5HWXUQ
1/&DOO
&DOO
6XESURJUDP
6XESURJUDP
0$,1
0$,1
6HTXHQFH
0DLQSURJUDP
0DLQSURJUDP
1/&DOO
Figure 1-51 Example of a sequence when a subroutine is called in a two-channel manner.
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
following 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.

Table of Contents

Other manuals for Siemens SINUMERIK 808D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D and is the answer not in the manual?

Siemens SINUMERIK 808D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D
CategoryControl Unit
LanguageEnglish

Related product manuals