7.3 Shift Instructions
7.3.3 1-word right/left shift of n-word data
7-47
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
DSFR, DSFL
DSFR, DSFL
7.3.3
1-word right/left shift of n-word data
DSFR, DSFL
Function
DSFR(P)
(1) Shifts data n points from device specified for
to the right by 1 word.
(2) The device specified for
+ (n 1) becomes 0.
DSFR(P)
DSFL(P)
P: Executing condition
:
indicates any of the following
instructions.
DSFR
DSFRP
DSFL
DSFLP
Input argument,
EN:
Executing condition
:Bit
n:
Number of devices to be shifted
:ANY16
Output argument,
ENO:
Execution result
:Bit
d:
Start number of the device to be shifted
:ANY16
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
n
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
D
SFR
EN
ENO
n
d
D
SFR
(EN,
n
, d);
ENO:=
d
d
Becomes
0
555
212
325
100
50
40
0
555
212
325
100
50
n
d
d
d
d
d
d
d
d
d
d
d
d
+(
n
-1)
+(
n
-2)
+(
n
-3)
+(
n
-1)
+(
n
-2)
+(
n
-3)
+(
n
-4)
+2
+1
+1
d
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......