EasyManua.ls Logo

Siemens SINUMERIK 840D sl - Page 441

Siemens SINUMERIK 840D sl
1334 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
Loading...
Programming
The usual mathematical notation is used for arithmetic functions. Priorities for execution are
indicated by parentheses. Angles are specified for trigonometry functions and their inverse
functions (right angle = 90°).
Examples
Division: /
(type REAL) = type INT or type REAL) / (type INT or type REAL);
Example: 3 / 4 = 0.75
Integer number division: DIV
(type INT) = (type INT or REAL) / (type INT or REAL);
Example: 7 DIV 4.1 = 1
Modulo division (supplies the remainder of the integer number division): MOD
(type REAL) = (type INT or REAL) MOD (type INT or REAL);
Example: 7 MOD 4.1 = 2.9
Arc tangent 2: ATAN2
The arithmetic function ATAN2 calculates the angle of the total vector from two mutually
perpendicular vectors.
The result is in one of four quadrants (-180° < 0 < +180°).
The angular reference is always based on the 2nd value in the positive direction.

5 $7$1
5 $7$1



QGYHFWRU
QGYHFWRU
$QJOH r
$QJOH r
VWYHFWRU
VWYHFWRU
Work preparation
3.1 Flexible NC programming
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 441

Table of Contents

Other manuals for Siemens SINUMERIK 840D sl

Related product manuals