Download SINUMERIK 828D Turning and Milling

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Pi wikipedia , lookup

Trigonometric functions wikipedia , lookup

Transcript
SINUMERIK 828D Turning and Milling
Trigonometric functions
Trigonometric functions
Overview of the functions
The script language offers various trigonometric functions. The function names are reserved
and cannot be overloaded.
Trigonometric functions and inverse functions:
Name
Function
sin
Sine
cos
Cosine
tan
Tangent
arcsin
Arc sine
arccos
Arc cosine
arctan
Arc tangent
Sine, cosine, tangent description
The function calculates the sine, cosine, tangent of the value transferred.
Programming
Designation:
sin
Syntax:
<function name="sin" return="<double val>"> double </function >
Designation:
cos
Syntax:
<function name="cos" return="<double val>"> double </function >
Designation:
tan
Syntax:
<function name="tan" return="<double val>"> double </function >
Parameters:
double
Angle (0° to 360°)
Example
<let name= "sin_val" type="double"></let>
<function name="sin" return="sin_val"> 20.0 </function>
This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims
all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete
documentation can be found at:
/dokumentation/default.aspx?DocVersionId=49616105099&Language=en-US&TopicId=17370838283
6/17/2017
SINUMERIK 828D Turning and Milling
Trigonometric functions
Arc sine, arc cosine, arc tangent description
The function calculates the arc sine, arc cosine, arc tangent of the value transferred.
Programming of arcsin, arccos
Designation:
arcsin
Syntax:
<function name="arcsin" return="<double val>"> double </function >
Designation:
arccos
Syntax:
<function name="arccos" return="<double val>"> double </function >
Parameters:
double
Value range:
x in the range from -1 to +1
arcsin
y in the range from -π/2 to +π/2
arccos
y in the range from 0 to π
Programming of arctan
Designation:
arctan
Syntax:
<function name="arctan" return="<double val>"> double </function >
Parameters:
double
Value range:
x arbitrary value
y in the range from -π/2 to +π/2
Example
<let name= "arccos_val" type="double"></let>
<function name="arccos" return="arctan_val"> 0.47 </function>
This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims
all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete
documentation can be found at:
/dokumentation/default.aspx?DocVersionId=49616105099&Language=en-US&TopicId=17370838283
6/17/2017