NORD Drivesystems BU0550 User Manual
Page 34
PLC logic for NORD SK 54xE frequency inverters
34
BU 0550 GB-0813
3.2.4.6
ROL
Bit-wise left rotation of the accumulator. Here, the content of the accumulator is shifted n times to the left,
whereby the left Bit is reinserted on the right.
BOOL
BYTE
INT
DINT
Possible data types
X
X
X
Commands
Explanation
LD 175
Loads the value 1010_1111
ROL 2
The contents of the accumulator are rotated 2x to the
left
ST Value1
Saves the value 1011_1110 in Value1
Table 33 ROL
3.2.4.7
ROR
Bit-wise right rotation of the accumulator. Here, the content of the accumulator is shifted n times to the right,
whereby the left Bit is reinserted on the left.
BOOL
BYTE
INT
DINT
Possible data types
X
X
X
Commands
Explanation
LD 175
Loads the value 1010_1111
ROR 2
The contents of the accumulator are rotated 2x to the
right
ST Value1
Saves the value 1110_1011 in Value1
Table 34 ROR
3.2.4.8
SHL
Bit-wise left shift of the accumulator. Here, the contents of the accumulator are shifted n times to the left.
The bits which are pushed out are lost.
BOOL
BYTE
INT
DINT
Possible data types
X
X
X
Commands
Explanation
LD 175
Loads the value 1010_1111
SHL 2
The contents of the accumulator are shifted 2x to the
left
ST Value1
Saves the value 1011_1100 in Value1
Table 35 SHL