Delta AS Series Programming Manual page 603

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
API
Instruction code
1104
D
Device
X
S
D
n
Data
type
S
D
n
Symbol
_6
Explanation
1.
This instruction defines the data in the n word devices starting from the device specified by D as a first in-first out
list type, and takes the device specified by D as a pointer. This instruction increments the value of the pointer by
one, and writes the data in the device specified by S into the device specified by the pointer. When the value of the
pointer is larger than or equal to n-1, the instruction stops writing data, and sets the carry flag SM602 is ON.
2.
In general, the SFWRP pulse instruction is used.
3.
This instruction is highly used as the function of PUSH. If you need to function of POP, refer to the instructions
SFRD and SFPO for more information.
4.
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.
6 - 3 2 4
SFWR
P
Y
M
S
T
C
Operand
S, D, n
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
S : Device where the data is shifted
D : First device
n : Data length
Function
Shifting the data and writing it into a word
device
SR
E
K
16#
32-bit instruction
AS
"$"
F
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents