M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.7 Rotation Instructions
DSFR, DSFRP, DSFL, DSFLP: Right/Left shift of word device in batch
Setting
Bit devices
data
X
Y
M
L
F
D
n
[Instruction symbol] [Execution condition]
DSFR, DSFL
DSFLP, DSFLP
Setting data
Setting data
D
Head No. of the device to shift
n
Number of devices where shift will be conducted
Functions
DSFR
Shifts data n points from device designated by "D" 1 word to the right.
D+(n-1) D+(n-2) D+(n-3)
555
212
325
D+(n-1) D+(n-2) D+(n-3)
D+(n-4)
0
555
212
325
Becomes 0
Device designated by "D"+(n-1) becomes 0.
DSFL
Shifts data n points from device designated by "D" 1 word to the left.
D+(n-1) D+(n-2) D+(n-3)
555
212
325
D+(n-1) D+(n-2)
D+3
212
325
100
Device designated by "D" becomes 0.
Usable devices
B SB
T SM V
T
C
○
○
Command
Command
Meaning
n
D+2
D+1
D
100
50
40
D+1
D
100
50
n
D+2
D+1
D
100
50
40
D+2
D+1
D
50
40
0
Becomes 0
Con-
Word devices
stant
D
R/ZR W SW SD
Z
K
○
○
○
○
○
○
291
Digit
Pointer
designa-
Index
tion
H
P
○
○
indicates the signs DSFR/DSFL
D
n
P
D
n
Data type
BIN 16 bits
IB-1501667-B