Conditions
The nesting depth is unlimited.
Condition with one command:
IF
...
ENDIF
Condition with two commands:
IF
...
ELSE
...
ENDIF
6.1.2 Bit operators
Overview
Bit operators Identifier
BOR Bit-serial OR
BXOR Bit-serial XOR
BAND Bit-serial AND
BNOT Bit-serial NOT
SHL Shift bits to left
SHR Shift bits to right
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: variable =
value
SHL
increment
Description: Shift Left
Parameters: value value to be shifted
increment number of shift increments
Example
PRESS(VS1)
Programming commands
6.1 Operators
SINUMERIK Integrate Run MyScreens (BE2)
124 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1