Delta AS Series Programming Manual page 596

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1102
D
WSFR
Device
X
Y
M
S
D
n
1
n
2
Data
type
S
D
n
1
n
2
Symbol
Explanation
1.
This instruction divides the data in the n
these groups to the right. This instruction then shifts the data in the n
starting from D to fill the vacancy.
2.
In general, the WSFRP pulse instruction is used.
3.
For 16-bit instruction, the operand n
between 1–256. For the application of 32-bit instruction, you need to use ISPSoft V3.09.07 or later and AS PLC
CPU FW V1.08 or later.
4.
The value in the operand n
Operand
S, D, n
, n
P
1
S
T
C
HC
Pulse instruction
S : First device where the value is shifted
D : First device where the value is shifted
: Length of the data to be shifted
n
1
: Number of bits in a group
n
2
word devices starting from D into groups (n
1
must be between 1–512. For 32-bit instruction, the operand n
1
must be between 1–n
.
2
1
C ha pt er 6 A p pl i e d In s tr uc t io ns
Shifting the data in word devices to the
2
D
FR
SM
SR
16-bit instruction
AS
AS
word devices starting from S to the devices
2
Function
right
E
K
16#
"$"
F
32-bit instruction
AS
words in a group), and shifts
2
must be
1
6 - 3 1 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents