Rotate right
This function block rotates the input value INP bitwise to the right.
N is the number of bits which shall be rotated.
Parameters
By using the parameter dialog the data type can be assigned.
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
INP | I | BYTE, LONG, WORD, LONGLONG, UCHAR | Input value |
N | I | WORD | Number of bits |
OUT | O | BYTE, LONG, WORD, LONGLONG, UCHAR | Output value |
Comments
If there is no connection at the output, another data type can be assigned by creating a new connection at the input INP.
If the data type is changed by the parameter dialog, all invalid connections will be deleted.