Download  Print this page

Shift Instructions - Siemens CPU 412-1 Instruction Manual

S7-400; cpu 412 series; cpu 414 series; cpu 416 series; cpu 417 series;.
Hide thumbs

Advertisement

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.
Instruc-
Instruc-
Address
Address
ID
tion
1)
SLW
Shift the contents of ACCU1-L to the left. Positions
Shift the contents of ACCU1-L to the left. Positions
that become free are provided with zeros.
that become free are provided with zeros.
SLW
0 ... 15
SLD
Shift the contents of ACCU1 to the left. Positions that
Shift the contents of ACCU1 to the left. Positions that
become free are provided with zeros.
become free are provided with zeros.
SLD
0 ... 32
1)
SRW
Shift the contents of ACCU1-L to the right. Positions
Shift the contents of ACCU1-L to the right. Positions
that become free are provided with zeros.
that become free are provided with zeros.
SRW
0 ... 15
Status word for:
SLW, SLD, SRW
Instruction evaluates:
Instruction affects:
1)
No. of places shifted: 0 to 16
S7-400 Instruction List
A5E00267845-01
Description
Description
BR
CC1
CC0
Yes
Execution Time in ms
Length
Length
in
in
CPU 412
Words
1
1
0.1
0.1
1
1
0.1
0.1
1
1
0.1
0.1
OV
OS
OR
0
0
Shift Instructions
CPU 414
CPU 416
CPU 417
0.06
0.06
0.04
0.04
0.03
0.03
0.06
0.06
0.04
0.04
0.03
0.03
0.06
0.06
0.04
0.04
0.03
0.03
STA
RLO
/FC
75

Advertisement

   Related Manuals for Siemens CPU 412-1

Comments to this Manuals

Symbols: 0
Latest comments: