EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK 808D ADVANCED Series

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 #332 background imageLoading...
Page #332 background image
Commissioning Manual
332 6FC5397-4EP10-0BA8, 07/2018
Tag identifier
Meaning
FUNCTION_BODY
contin-
ued
Example:
<function_body name = "test" parameter = "c1,c2,c3" return = "true">
<LET name = "tmp">0</LET>
<OP> tmp = c1+c2+c3 </OP>
<OP> $return = tmp </OP>
</function_body>
…
…
…
<LET name = "my_var"> 4 </LET>
<function name = "test" return = " my_var "> 2, 3,4</function>
<print text = "result = %d"> my_var </print>
…
…
REQUEST
The tag is used to add a variable to the cyclic reading service (hotlink). As a consequence,
the access time to variables, which are not linked to the control, is reduced.
If a function is to be called automatically when a value changes, then the name of the func-
tion should be specified as an additional attribute.
This tag is only processed within the INIT operation.
Attributes:
•
name
Address identifier
•
function
Function name
Syntax:
<REQUEST name = "<NC-Variable>" />
or
<REQUEST name = "<NC-Variable>" function="<function name>"/>
Example:
<request name ="plc/mb10" />
or
<function_body name="my_function" >
<print text="value changed" />
</function_body>
…
…
…
<request name ="plc/mb10" function="my_function"/>

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