Volume pwrb | |
Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class | Code  ClassTree | INDEX NO INDEX |
Class BwShiftRight![]() |
||
---|---|---|
Version | 1.0 | |
Modified | 15-JAN-2025 13:23:37.00 | |
Kod | rt_plc_arithm.c |
Bitwise shift right.
Shifts the bits of the input word Num bits right, zero-filled on left.See Also
RtBody attributes pwr_sClass_BwShiftRight | |||
---|---|---|---|
Int32 | In | In | Input word. |
Int32 | Num | N | Number of bits to shift. |
Int32 | Out | Out | Shifted 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 | ShiftRight |
graphname | ShiftRight |
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 shift.
Out Output | ||
---|---|---|
Klass | Output | |
Typ | Int32 | |
Flags | STATE | NOEDIT | REDUTRANSFER | |
GraphName | Out | |
Kropp | RtBody |
Shifted word.
PlcNode Buffer | ||
---|---|---|
Klass | Buffer | |
Typ | PlcNode | |
Flags | INVISIBLE | |
Kropp | DevBody |