Siemens SINUMERIK 828D Commissioning Manual page 847

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Function name
String trim right
Sine
Cosine
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
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 degrees.
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>
Generating user dialogs
1.9 Predefined functions
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents