EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 828D

Siemens SINUMERIK 828D Commissioning Manual

Siemens SINUMERIK 828D
1167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1025 background imageLoading...
Page #1025 background image
VAR01 = 16 SHL 2 ; Result = 64
VAR02 = VAR02 SHL VAR04 ; Convert content of VAR02 to 32-bit unsigned
,
and shift content to left by number of bits specified
in VAR04. Then convert 32-bit value back to format of
variable VAR02.
END_PRESS
SHR operator
Bits are shifted to the RIGHT using the SHR (SHIFT RIGHT) function. 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
SHR
increment
Description: Shift Right
Parameters: value value to be shifted
increment number of shift increments
Example
PRESS(VS1)
VAR01 = 16 SHR 2 ; Result = 4
VAR02 = VAR02 SHR VAR04 ; Convert content of VAR02 to 32-bit unsigned
, and shift content to right by number of bits
specified
in VAR04. Then convert 32-bit value back
to format of variable VAR02.
END_PRESS
6.2 Methods
Overview
Various types of event (exit input field, actuate softkey) can initiate specific actions in dialogs
and
dialog-dependent softkey menus (softkey menus that are called from a newly configured
dialog). These actions are configured in methods.
Programming commands
6.2 Methods
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 95

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 828D
CategoryControl Systems
LanguageEnglish

Related product manuals