Shift Instructions
75
S7-400 Instruction List
A5E00267845-01
Shift Instructions
Shifting the contents of ACCU1 and ACCU1-L to the left or right by the specified number of places. If no address identifier is specified,
the contents of ACCU2-LL are used as the number of places. The last bit shifted is loaded into condition code bit CC 1.
Length
Execution Time in s
tion
ID
Words
CPU 412 CPU 414 CPU 416 CPU 417
SLW
1)
Shift the contents of ACCU1-L to the left. Positions
that become free are provided with zeros.
1 0.1 0.06 0.04 0.03
SLW 0 ... 15
Shift the contents of ACCU1-L to the left. Positions
that become free are provided with zeros.
SLD Shift the contents of ACCU1 to the left. Positions tha
t
become free are provided with zeros.
1 0.1 0.06 0.04 0.03
SLD 0 ... 32
Shift the contents of ACCU1 to the left. Positions that
become free are provided with zeros.
SRW
1)
Shift the contents of ACCU1-L to the right. Positions
that become free are provided with zeros.
1 0.1 0.06 0.04 0.03
SRW 0 ... 15
Shift the contents of ACCU1-L to the right. Positions
that become free are provided with zeros.
Status word for: SLW, SLD, SRW BR CC1 CC0 OV OS OR STA RLO /FC
Instruction evaluates: – – – – – – – – –
Instruction affects: – Yes 0 0 – – – – –
1)
No. of places shifted: 0 to 16