![LS Industrial Systems XBC-DN10E User Manual Download Page 266](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831266.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-149
Ver. 1
6.26.2 BSFL, BSFLP, DBSFL, DBSFLP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x R.x
Co
nst.
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
BSFL(P)
DBSFL(P)
D O O O - O O O -
-
-
-
- O O O O
2~4
-
-
O
n O O O - O O O -
-
-
- O O O O O
Operand
Description
Data Type
D
Device Number to shift bits.
WORD/DWORD
n
Number of times to shift word data S to the left bit by bit.
WORD
[Flag Set]
Flag
Description
Device
Number
Carry
Carry Flag will be On/Off based on the bit cut away last.
F112
1) BSFL (Bit Shift Left)
Shifts D’s word data’s individual bit to the left for the number of N bit by bit.
2) DBSFL (Double Bit Shift Left)
Shifts D+1,D’s double word data’s individual bit to the left for the number of N bit by bit.
BSFL, DBSFL
BSFLP, DBSFLP
D
means
P
D
n
n
Command
Filled with 0
1
0
1
1
0
1
1
0
1
1
1
0
0
1
0
1
b3
1
1
0
1
1
1
0
0
1
0
1
1
0
1
1
0
0
Befor
e
Afte
r
D+
1
D
When
N=2
1
0
1
1
0
0
1
0
1
1
1
0
0
1
0
1
b
0
b1
5
1
0
1
1
1
0
0
1
0
1
0
0
0
0
0
0
D
C
Y
Command
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...