Delta AS Series Programming Manual page 606

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1105
D
SFRD
Device
X
Y
M
S
D
n
Data
type
S
D
n
Symbol
Explanation
1.
This instruction defines the data in the n word devices starting from the device specified by S as a first in-first out
list type, and takes the device specified by S as a pointer. This instruction decrements the value in the device
specified by S by one, writes the data in the device specified by S+1 into the device specified by D, shifts the data
in the devices specified by S+n-1–S+2 to the right, and leaves the data in the device specified by S+n-1
unchanged. When the value in the device specified by S is equal to 0, the instruction stops reading the data, and
sets the zero flag SM600 is ON.
2.
In general, the SFRDP pulse instruction is used.
3.
For 16-bit instruction, the value in the operand n must be between 2–512. For 32-bit instruction, the value in the
operand n must be between 2–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.
Operand
S, D, n
P
S
T
C
HC
Pulse instruction
S : First device
D : Device where the data is shifted
n : Data length
C ha pt er 6 A p pl i e d In s tr uc t io ns
Shifting the data and reading it from a
D
FR
SM
SR
16-bit instruction
AS
AS
Function
word device
E
K
16#
"$"
F
32-bit instruction
AS
6 - 3 2 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents