EasyManuals Logo

Siemens SINUMERIK 802D sl Operation And Programming Manual

Siemens SINUMERIK 802D sl
212 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 #183 background imageLoading...
Page #183 background image
Programming
8.9 Subroutine technique
8-183
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
8.9 Subroutine technique
Usage
Basically, there is no difference between a main program and a subroutine.
Frequently recurring machining sequences are stored in subroutines, e.g. certain contour
shapes. These subroutines are called at the appropriate locations in the main program and
then executed.
One form of a subroutine is the machining cycle. Machining cycles contain universally valid
machining scenarios. By assigning values via included transfer parameters, you can adapt
the subroutine to your specific application.
Subroutine
Fig. 8-34 Example for using a subroutine for a workpiece four times
Program structure
The structure of a subroutine is identical to that of a main program (see Subsection 8.1.2
“Program structure”). Like main programs, subroutines contain M2 (end of program) in the
last block of the program sequence. This means a return to the program level where the
subroutine was called from.
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 the
return. With M2, G64 is interrupted and exact stop is initiated.

Table of Contents

Other manuals for Siemens SINUMERIK 802D sl

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 802D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 802D sl
CategoryController
LanguageEnglish

Related product manuals