EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Word Shift Right

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...
408
7 APPLICATION INSTRUCTIONS
7.3 Shift Instructions
Word shift right
WSFR(P)
*1 Do not set a negative value in the number of word points (n2) to be shifted to the right.
Processing details
This instruction shifts word data for (n2) words to the right within the data range of (n1) words starting from (D). After the
shift, the function transfers (n2)-word data from (S) to the (n2) words from ((D)+(n1))-(n2).
QnUDVCPU, LCPU: The serial number (first five digits) is "16112" or later.
(S): Start number of the word devices to be stored in empty data after shifting to the right (BIN 16 bits)
(D): Start number of word device to shift to the right (BIN 16 bits)
n1: Word data length of shift data (n2 n1 512) (BIN 16 bits)
n2: Number of word points to shift to the right (n2 n1 512)
*1
(BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S) 
(D)  
n1  
n2  
(1) Overflow (deletion data)
(2) n2 words shift to the right (n2=3)
(3) Coping n2 words
Basic
High
performance
Process
Redundant
Universal
Ver.
LCPU
Ver.
WSFRP
WSFR
WSFR
WSFRP
S
D
D
n1
n1
n2
n2S
Command
Command
(3)
(1)
(2)
(D)+8 (D)+7 (D)+6 (D)+5 (D)+4 (D)+3 (D)+2 (D)+1 (D)
(S)+2 (S)+1 (S)
(D)+8 (D)+7 (D)+6 (D)+5 (D)+4 (D)+3 (D)+2 (D)+1 (D)
Number of (n2) points (n2=3)
(S) to (S)+2 before execution (n2=3) (D)+3 to (D)+8 before execution (n2=3)
Number of (n1) points (n1=9)
Before
execution
After
execution

Table of Contents

Related product manuals