7. APPLICATION INSTRUCTIONS
7
−
35
MELSEC-A
7.3.2 n-bit data 1-bit right shift, left shift
(BSFR, BSFRP, BSFL, BSFLP)
Available Device
Bit device
Word (16-bit) device
Constant
Pointer
Level
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1
Z V K H P I N
D
igit specification
In
d
e
x
M9012 (M9010, M9011)
(D)
O
O
O
O
O
O
n
O
O
O O
O
Functions BSFR
Shifts "n" bits, which begins with the bit device specified at (D), to the right by one
bit.
BSFL
Shifts "n" bits, which begin with the bit device specified at (D), to the left by one bit.
Applicable
CPU
All CPUs
(D)
n
(D)
n
P
Shift commands
(D)
Head number of device
which stores data to be
shifted
n
Number of shift device
Setting data
BSFR, BSFL
Indicates the instruction symbol.
Before execution
After execution
Shift range (n points)
0 is entered.
Carry flag
(M9012)
Before execution
After execution
Carry flag
(M9012)
0 is entered.
Shift range (n points)
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......