Siemens SINUMERIK Commissioning Manual page 461

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

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
SIN(x)
COS(x)
TAN(x)
ATAN(x, y)
SQRT(x)
ABS(x)
SDEG(x)
SRAD(x)
Note
The functions operate with radian measure. The functions SDEG() and SRAD() can be used
for conversion.
Example:
Constants
Constants
PI
FALSE
TRUE
Example:
Relational operators
Relational operators
==
<>
>
<
>=
<=
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
VAR1.VAL = SQRT(2)
VAR1.VAL = PI
Identifier
Sine of x
Cosine of x
Tangent of x
Arc tangent of x/y
Square root of x
Absolute value of x
Conversion to degrees
Conversion to radian
3.14159265358979323846
0
1
Equal to
Not equal to
Greater than
Less than
Greater than or equal to
Less than or equal to
Programming
2.8 Operators
2-111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents