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 #94 background imageLoading...
Page #94 background image
Subroutines, Macros
2.4 Call subroutines (L or EXTERN)
Job planning
2-10 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Parameters
L address Subroutine number
EXTERN Broadcast a subroutine with specified parameters. You only
have to specify
EXTERN if the subroutine is in the workpiece or in the global
subroutine directory. You do not have to declare cycles as
EXTERN .
Incomplete parameter transfer
In a subroutine call only mandatory values and parameters can be omitted. In this case, the
parameter in question is assigned the value zero in the subroutine.
The comma must always be written to indicate the sequence. If the parameters are at the
end of the sequence you can omit the comma as well.
Caution
The current parameter of type AXIS must not be omitted. VAR parameters must be
transferred completely
Example: Subroutine with parameter transfer, declaration with EXTERN
N10 EXTERN BORDER(REAL, REAL, REAL)
N40 BORDER(15.3,20.2,5)
N10 Declaration of the subroutine, N40 Subroutine call with
parameter transfer.
1%25'(5
%25'(55($/5($/5($/
1(;7(51$/
0DLQSURJUDP

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