Siemens SINUMERIK 808D ADVANCED Commissioning Manual page 315

Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

Tag identifier
OPERATION
POWER_OFF
Commissioning Manual
01/2017
Meaning
Operation
Instructions can be moved within an equation.
Move left "<<" operator
The << function moves bits to the left. You can specify the value and the number of move
increments directly or with a variable. If the limit of the data format is reached, the bits will
be moved beyond the limit without an error message being issued.
Execution rule
Execution from left to right; '+' and '-' have priority over '<<' and '>>'
Example:
<op> idx = idx << 2 </op>
<op> idx = 3 + idx << 2 </op>
Move right ">>" operator
The >> function moves bits to the right. You can specify the value and the number of
move increments directly or with a variable. If the limit of the data format is reached, the
bits will be moved beyond the limit without an error message being issued.
Execution rule
Execution from left to right; '+' and '-' have priority over '<<' and '>>'
Example:
<op> idx = idx >> 2 </op>
<op> idx = 3+idx >> 2</op>
A message prompts the operator to switch the machine off. The message text is perma-
nently saved in the system.
315

Advertisement

Table of Contents
loading

Table of Contents