EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Series User Manual

Siemens SINUMERIK 808D ADVANCED Series
480 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 #331 background imageLoading...
Page #331 background image
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
331
Tag identifier
Meaning
FUNCTION_BODY
Function body
The tag contains the function body of a subfunction. The function body needs to be pro-
grammed within the DialogGui tag.
Attributes:
•
name
= "Name of the function body"
•
parameter
= "Parameter list" (optional)
The attribute lists the transfer parameters that are required. The parameters must be
separated by a comma.
When the function body is called, the values of the parameters specified in the function
call are copied to the transfer parameters listed.
•
return
= "true" (optional)
If the attribute is set to true then the local variable $return is created. The function's re-
turn value which is forwarded to the calling function on quitting the function should be
copied to this variable.
Syntax:
Function body without parameter
<FUNCTION_BODY name = "<function name>">
…
…
…
</ FUNCTION_BODY>
Function body with parameter
<FUNCTION_BODY name = "<function_name>" parameter = "<p1, p2, p3>">
…
<LET name = "tmp></LET>
<OP> tmp = p1 </OP>
…
</FUNCTION_BODY>
Function body with return value
<FUNCTION_BODY name = "<function_name>" parameter = "<p1, p2, p3>"
return = "true">
…
<LET name = "tmp></LET>
<OP> tmp = p1 </OP>
…
<OP> $return = tmp </OP>
</FUNCTION_BODY>

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 808D ADVANCED Series Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED Series
CategoryControl Unit
LanguageEnglish

Related product manuals