Programming commands
6.1 Operators
Conditions
The nesting depth is unlimited.
Condition with one command:
Condition with two commands:
6.1.2
Bit operators
Overview
Bit operators
BOR
BXOR
BAND
BNOT
SHL
SHR
SHL operator
Bits are shifted to the left using the SHL (SHIFT LEFT) operator. 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.
Use
Syntax:
Description:
Parameters:
Example
PRESS(VS1)
94
IF
...
ENDIF
IF
...
ELSE
...
ENDIF
Identifier
Bit-serial OR
Bit-serial XOR
Bit-serial AND
Bit-serial NOT
Shift bits to left
Shift bits to right
value SHL increment
variable =
Shift Left
value
increment
value to be shifted
number of shift increments
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3