Siemens SINUMERIK 808D ADVANCED Commissioning Manual page 368

Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

Function name
string.trimright
sin
cos
368
Description
The function trims the closing characters from a string.
Parameter:
str1 - string variable
Syntax:
<function name="string.trimright" > str1
</function>
Example:
<let name="str1" type="string"> test trim right
</let>
<function name="string.trimright" > str1
</function>
Result:
str1 = "test trim right"
The function calculates the sine of the value transferred in degrees.
Parameter:
double - angle
Syntax:
<function name="sin" return="<double val>"> double
</function>
Example:
<let name= "sin_val" type="double"></let>
<function name="sin" return="sin_val"> 20.0
</function>
The function calculates the cosine of the value transferred in de-
grees.
Parameter:
double - angle
Syntax:
<function name="cos" return="<double val>"> double
</function>
Example:
<let name= "cos_val" type="double"></let>
<function name="cos" return="cos_val"> 20.0
</function>
Commissioning Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents