7 APPLICATION INSTRUCTIONS
7.3 Shift Instructions
395
7
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
• The following program shifts the data at M668 to M676 to the right when X8F is turned ON.
• The following program shifts the data at Y60 to Y6F to the left when X4 is turned ON.
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).
[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
Designation range for the
BSFRP instruction
1110 1 0 110011
110 1 0 1 0 11001
M672M671
M671M672
1
M678M677M676M675M674M673 M670M669M668M667
M678M677M676M675M674M673 M670M669M668M667
Carry flag
(SM700)
Filled with 0s.
1
00
11
0000
1
0
1
0
111
00
11
0000
1
0
1
0
111
0
Y6F Y68 Y60Y67
Y60Y67Y6F
Y68
1
Y6EY6DY6CY6BY6AY69 Y66Y65Y64Y63Y62Y61
Y6EY6DY6CY6BY6AY69 Y66Y65Y64Y63Y62Y61
Carry flag
(SM700)
Filled with 0