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
111010110011
110101011001
M672M671
M671M672
1
M678M677M676M675M674M673 M670M669M668M667
M678M677M676M675M674M673 M670M669M668M667
Carry flag
(SM700)
Filled with 0s.
Step Instruction Device
1
00
11
0000
1
0
1
0
111
00
11
0000
1
0
1
0
111
0
Y6FY68 Y60Y67
Y60Y67Y6F
Y68
1
Y6EY 6DY6CY6BY6AY69 Y66Y65Y64Y63Y62Y61
Y6EY 6DY6CY6BY6AY69 Y66Y65Y64Y63Y62Y61
Carry flag
(SM700)
Filled with 0