Operators And Functions - Siemens SINUMERIK 840D sl Commissioning Manual

Commissioning cnc part 2 (hmi)
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

08/2005
3.6.9

Operators and functions

Table 3-11
Mathematical operators
+
-
*
/
MOD
( )
AND
OR
NOT
Example:
VAR1.VAL = 45 * (4 + 3)
Bit-serial operators
BOR
BXOR
BAND
BNOT
SHL
SHR
SHL operator
Syntax:
variable = value SHL increment
value
increment
Function:
Bits are shifted to the left using the function SHL. You can specify both the value to
be shifted and the number of shift increments directly or via a variable.
If the limit of the data format is reached, the bits are shifted beyond the limit without
displaying an error message.
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
Addition
Subtraction
Multiplication
Division
Modulo operation
Parentheses
AND operator
OR operator
NOT operator
Bit-serial OR
Bit-serial XOR
Bit-serial AND
Bit-serial NOT
Shift bits to left
Shift bits to right
value to be shifted
number of shift increments
Expanding the Operator Interface (BE1)
3 Syntax
BE1/3-95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents