Siemens SINUMERIK 840DE sl Commissioning Manual page 832

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Generating user dialogs
1.10 Predefined functions
Function name
Tangent
ARCSIN
ARCOS
114
Description
The function calculates the tangent of the value transferred in degrees.
Parameter:
double - angle
Syntax:
<function name="tan" return="<double val>"> double
</function>
Example:
<let name= "tan_val" type="double"></let>
<function name="tan" return="tan_val"> 20.0 </
function>
The function calculates the arcsine of the value transferred in degrees.
Parameter:
double - x in the range from -PI/2 to +PI/2
Syntax:
<function name="arcsin" return="<double val>">
double </function>
Example:
<let name= "arcsin_val" type="double"></let>
<function name="arcsin" return="arcsin_val"> 20.0
</function>
The function calculates the arccosine of the value transferred in de‐
grees.
Parameter:
double - x in the range from -PI/2 to +PI/2
Syntax:
<function name="arcos" return="<double val>">
double </function>
Example:
<let name= "arccos_val" type="double"></let>
<function name="arccos" return="arccos_val"> 20.0
</function>
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Easy XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents