| Volume pwrb | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class BwRotateRight
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 15-JAN-2025 13:23:34.00 | |
| Kod | rt_plc_arithm.c | |
Bitwise rotate right.

Rotates the bits of the input word Num bits right.See Also
| RtBody attributes pwr_sClass_BwRotateRight | |||
|---|---|---|---|
| Int32 | In | In | Input word. |
| Int32 | Num | N | Number of bits to rotate. |
| Int32 | Out | Out | Rotated word. |
| DevBody attributes | |||
|---|---|---|---|
| PlcNode | PlcNode | ||
| GraphPlcNode | |
|---|---|
| object_type | 11 |
| parameters[0] | 2 |
| parameters[1] | 0 |
| parameters[2] | 1 |
| parameters[3] | 0 |
| subwindows | 0 |
| graphmethod | 0 (standard, individual attributes) |
| graphindex | 0 |
| default_mask[0] | 1 |
| default_mask[1] | 1 |
| segname_annotation | 1 |
| compmethod | 4 |
| compindex | 0 |
| tracemethod | 0 |
| traceindex | 0 |
| executeordermethod | 2 |
| objname | RotateRight |
| graphname | RotateRight |
| debugpar | |
| Template Object | |
|---|---|
| Num | 1 |
| In Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Int32 | |
| Flags | NOINVERT | REDUTRANSFER | |
| GraphName | In | |
| Kropp | RtBody | |
Input word.
| Num Input | ||
|---|---|---|
| Klass | Input | |
| Typ | Int32 | |
| Flags | NOINVERT | REDUTRANSFER | |
| GraphName | N | |
| Kropp | RtBody | |
Number of bits to rotate.
| Out Output | ||
|---|---|---|
| Klass | Output | |
| Typ | Int32 | |
| Flags | STATE | NOEDIT | REDUTRANSFER | |
| GraphName | Out | |
| Kropp | RtBody | |
Rotated word.
| PlcNode Buffer | ||
|---|---|---|
| Klass | Buffer | |
| Typ | PlcNode | |
| Flags | INVISIBLE | |
| Kropp | DevBody | |