Instructions; Arithmetic Functions - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.1 Flexible NC programming
3.1.3

Instructions

3.1.3.1

Arithmetic functions

Operator / arithmetic function
+
-
*
1)
/
DIV
MOD
:
SIN()
COS()
TAN()
ASIN()
ACOS()
ATAN2(,)
SQRT()
ABS()
POT()
TRUNC()
ROUND()
LN()
EXP()
MINVAL ()
MAXVAL ()
BOUND ()
CTRANS()
CROT ()
CSCALE()
CMIRROR()
1) See the paragraph, "Examples"
440
1)
1)
1)
Meaning
Addition
Subtraction
Multiplication
Division
1)
Integer number division
1)
Modulo division (supplies the remainder of the integer number divi‐
sion)
1)
Chain operator for FRAME variables
Sine
Cosine
Tangent
Arc sine
Arc cosine
Arc tangent2
1)
Square root
Absolute value
2nd power (square)
Integer component
The accuracy for comparison commands can be set using TRUNC
(see "Precision correction on comparison errors (TRUNC)
(Page 444)")
Round to integer
Natural logarithm
Exponential function
Lower value of two variables
(see "Variable minimum, maximum and range (MINVAL, MAXVAL
and BOUND) (Page 424)")
Larger value of two variables
(see "Variable minimum, maximum and range (MINVAL, MAXVAL
and BOUND) (Page 424)")
Variable value within the defined value range
(see "Variable minimum, maximum and range (MINVAL, MAXVAL
and BOUND) (Page 424)")
Offset
Rotation
Change of scale
Mirroring
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents