Siemens SINUMERIK 840DE sl Commissioning Manual page 1107

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Programming commands
6.1
Operators
Overview
The following operators can be used when programming:
● Mathematical operators
● Relational operators
● Logic (Boolean) operators
● Bit operators
● Trigonometric functions
6.1.1
Mathematical operators
Overview
Mathematical operators
+
-
*
/
MOD
( )
AND
OR
NOT
ROUND
Example:
ROUND
The ROUND operator is used to round off numbers with up to 12 decimal places during
execution of a dialog configuration. The variable fields cannot accept the decimal places in the
display.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
VAR1.VAL = 45 * (4 + 3)
Identifier
Addition
Subtraction
Multiplication
Division
Modulo operation
Parentheses
AND operator
OR operator
NOT operator
Round off numbers with decimal places
6
121

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents