Attention
IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.
SHR¶
Shifts a bit string right by a specified number of positions.
IEC 61131-3 |
Section 2.5.1.5.6 |
Support |
Supported |
Signatures¶
# |
Input (IN) |
Input (N) |
Return Type |
Support |
|---|---|---|---|---|
1 |
|
|
|
Supported |
2 |
|
|
|
Supported |
3 |
|
|
|
Supported |
4 |
|
|
|
Supported |
Description¶
Shifts the bit string IN right by N positions. Vacated positions on the left are filled with zeros. Bits shifted beyond the rightmost position are discarded.