EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - 1-Word Shift to Right of N-Word Data, 1-Word Shift to Left of N-Word Data

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.3 Shift Instructions
399
7
1-word shift to right of n-word data, 1-word shift to left of n-word
data
DSFR(P), DSFL(P)
Processing details
DSFR
Shifts data n points from device designated by (D) 1-word to the right.
The device designated by (D)+(n-1) is filled with 0.
DSFL
Shifts data n points from device designated by (D) 1-word to the left.
The device designated by (D) is filled with 0.
(D): Head number of the devices to be shifted (BIN 16 bits)
n: Number of devices to which shift is executed (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(D) 
n 
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
P
D
n
D
n
DSFR, DSFL
DSFRP, DSFLP
indicates an instruction symbol of DSFR/DSFL.
Filled with 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 D D D
Filled with 0.
555 120
325
100
50 40
120
325
100
50 40 0
D
D
D D D D
D D
n
+(n-3)
+(n-1)
+(n-2)
+(n-1)
+(n-2)
+2 +1
+2 +1+3

Table of Contents

Related product manuals