EasyManuals Logo

Siemens SINUMERIK 828D Programming Manual

Siemens SINUMERIK 828D
822 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 #63 background imageLoading...
Page #63 background image
Flexible NC programming
1.3 Arithmetic functions
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
63
1.3 Arithmetic functions
Function
The arithmetic functions are primarily for R parameters and variables (or constants and
functions) of type REAL. The types INT and CHAR are also permitted.
Operator / arithmetic function Meaning
+
Addition
-
Subtraction
*
Multiplication
/
Division
Notice:
(type INT)/(type INT)=(type REAL); example: 3/4 = 0.75
DIV
Division, for variable type INT and REAL
Notice:
(type INT)DIV(type INT)=(type INT); example: 3 DIV 4 = 0
MOD
Modulo division (only for type INT) supplies remainder of an
INT division
Example: 3 MOD 4 = 3
:
Chain operator (for FRAME variables)
Sin()
Sine
COS()
Cosine
TAN()
Tangent
ASIN()
Arcsine
ACOS()
Arccosine
ATAN2( , )
Arctangent2
SQRT()
Square root
ABS()
Absolute value
POT()
2nd power (square)
TRUNC()
Truncate to integer
The accuracy for comparison commands can be set using
TRUNC (see "
Precision correction on comparison errors
(TRUNC) (Page
68)")
ROUND()
Round to integer
LN()
Natural logarithm
EXP()
Exponential function
MINVAL ()
Lower value of two variables
(see "
Variable minimum, maximum and range (MINVAL,
MAXVAL and BOUND) (Page
70)")
MAXVAL ()
Larger value of two variables
(see "
Variable minimum, maximum and range (MINVAL,
MAXVAL and BOUND) (Page
70)")

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals