ROL block
Short summary
Name |
|
→POU type |
|
Category |
|
Conform to →IEC-standard |
currently restricted
|
Graphical interface |
|
Available since |
version 1.18.0 (for Neuron Power Engineer) |
Functionality
The block returns the result of a bitwise rotation to the left (circular).
At input IN
, enter the value to be rotated. At input N
, enter the bits to left-rotate the value. The bits cleared on the one side are filled in on the other side.
Deviation from IEC-standard If a negative value is connected to the input |
Inputs, return value
|
Identifier |
Description |
|
---|---|---|---|
Inputs: |
|
|
input value |
|
|
number of bits to rotate |
|
Return value: |
– |
|
|
Input EN
and output ENO
are available when →calling the block. See "Execution control: EN, ENO" for information on input EN
and output ENO
.
See:
-
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
-
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic.
Example for usage within ST-editor
|
When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.