Programming commands
6
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 Identifier
+ Addition
- Subtraction
* Multiplication
/ Division
MOD Modulo operation
( ) Parentheses
AND AND operator
OR OR operator
NOT NOT operator
ROUND Round off numbers with decimal places
Example: VAR1.VAL = 45 * (4 + 3)
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
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 91