7. APPLICATION INSTRUCTIONS
7
−
32
MELSEC-A
7.3.1 16-bit data n-bit right shift, left shift
(SFR, SFRP, SFL, SFLP)
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 O O O O O O O O O
n
O
O
O O
O
Functions SFR
(1) Shifts the 16-bit data of device specified at (D) to the right by "n" bits.
"n" bits, which begin with the highest bit, change to 0.
(2) For T/C, the present value (count value) is shifted. (The shift of set value cannot
be performed.)
Applicable
CPU
All CPUs
K1 to
K4
(D) n
(D) n
P
Shift commands
(D)
Head number of device
which stores data to be
shifted
n
Number of shifts
Setting data
SFR, SFL
Indicates the instruction symbol.
Carry
flag
(M9012)
Before execution
After execution
0 is entered.
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......