EasyManuals Logo

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
687 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 #102 background imageLoading...
Page #102 background image
Subroutines, Macros
2.6 Subroutine with program repetition (P)
Job planning
2-18 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Caution
The user must always ensure that execution continues with the correct modal settings on
return over two or more program levels. This is done, for example, by programming an
appropriate main block.
2.6 2.6 Subroutine with program repetition (P)
Function
If a subroutine is to be executed several times in succession, the desired number of program
repetitions can be entered at address P in the block with the subroutine call.
Parameters
Caution
Subroutine call with program repetition and parameter transfer
Parameters are transferred only when the program is called, i.e., on the first run. The
parameters remain unchanged for the remaining repetitions.
If you want to change the parameters during program repetitions, you must make the
appropriate provision in the subroutine.
P Number of subroutine passes
Value range: 1, ..., 9999 (unsigned integers)
Caution
The following applies to every subroutine call:
The subroutine call must always be programmed in a separate NC block.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals