Siemens SINUMERIK 840DE sl Commissioning Manual page 1110

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

Advertisement

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)
124
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 (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents