EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 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 #461 background imageLoading...
Page #461 background image
Programming
2.8 Operators
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-111
VAR1 contains the number to be rounded. The parameter “4” indicates the number of
decimal places in the result, which is placed in VAR2.
Trigonometric functions
Trigonometric functions Identifier
SIN(x) Sine of x
COS(x) Cosine of x
TAN(x) Tangent of x
ATAN(x, y) Arc tangent of x/y
SQRT(x) Square root of x
ABS(x) Absolute value of x
SDEG(x) Conversion to degrees
SRAD(x) Conversion to radian
Note
The functions operate with radian measure. The functions SDEG() and SRAD() can be used
for conversion.
Example: VAR1.VAL = SQRT(2)
Constants
Constants
PI 3.14159265358979323846
FALSE 0
TRUE 1
Example: VAR1.VAL = PI
Relational operators
Relational operators
== Equal to
<> Not equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals