1-Word Shift To Right Or Left Of N-Word Data: Dsfr, Dsfl - Mitsubishi Electric MELSEC Q Series Programming Manual

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU

5.4.30 1-word shift to right or left of n-word data: DSFR, DSFL

Setting
data
X
Y
M
(D)
n
[Setting data]
[Function]
Bit device
SM
F
T
C
D
[Instruction]
Command
DSFR
Command
DSFL
Setting data
(D)
n
(1) 1-word shift to right of n-word data (DSFR)
• Shifts data n points from device designated by (D) 1-word to the right.
Before execution
After execution
• The device designated by (D) + (n-1) is filled with 0.
• The T, C shift will be a current value (attribute value or count value) shift.
(Shifting with the setting value is not possible.)
(2) 1-word shift to left of n-word data (DSFL)
• Shifts data n points from device designated by (D) 1-word to the left.
Before execution
After execution
• The device designated by (D) is filled with 0.
• The T, C shift will be a current value (attribute value or count value) shift.
(Shifting with the setting value is not possible.)
Usable device
Word device
W
T
C
SD
Z
DSFR
DSFL
Head number of the devices to be shifted (BIN 16 bits)
Number of devices to which shift is executed (BIN 16 bits)
Shift range (n points)
(D)+
(D)+
(D)+
(n-1)
(n-2)
(n-3)
0 is entered
0
Shift range (n points)
(D)+
(D)+
(D)+
(n-1)
(n-2)
(n-3)
5 - 69
Constant
Pointer
Level
K
H
P
N
(D)
n
(D)
n
Description
(D)+2 (D)+1
(D)
(D)+2 (D)+1
(D)
0 is entered.
0
Digit
desig-
Index
nation
: Usable

Advertisement

Table of Contents
loading

Table of Contents