EasyManuals Logo

Siemens MCP 398C Programming Manual

Siemens MCP 398C
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
Page #441 background imageLoading...
Page #441 background image
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 MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals