342
BSFR, BSFRP, BSFL, BSFLP
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program Example
(1) The following program shifts the data at M668 to M676 to the right when X8F is turned ON.
[Ladder Mode]
[List Mode]
[Operation]
(2) The following program shifts the data at Y60 to Y6F to the left when X4 is turned ON.
[Ladder Mode]
[List Mode]
[Operation]
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4101
The points specified in n exceed those of the corresponding device
specified in .
D
Step
Instruction
Device
Designation range for the
BSFRP instruction
1
1
1
0
1
0
1
1
0
0
1
1
1
1
0
1
0
1
0
1
1
0
0
1
M672M671
M671
M672
1
M678M677M676M675M674M673
M670M669M668M667
M678M677M676M675M674M673
M670M669M668M667
Carr
y
flag
(
SM700
)
Filled with 0s.
Step
Instruction
Device
1
0
0
1
1
0
0
0
0
1
0
1
0
1
1
1
0
0
1
1
0
0
0
0
1
0
1
0
1
1
1
0
Y
6
F
Y
68
Y
60
Y
67
Y
60
Y
67
Y
6
F
Y
68
1
Y
6
EY
6D
Y
6C
Y
6B
Y
6A
Y
69
Y
66
Y
65
Y
6
4Y
63
Y
62
Y
61
Y
6
EY
6D
Y
6C
Y
6B
Y
6A
Y
69
Y
66
Y
65
Y
6
4Y
63
Y
62
Y
61
Carr
y
f
l
ag
(
SM700
)
Fill
ed
w
i
th
0