Delta AS Series Programming Manual page 1139

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
2303
Device
X
S
D
n
Data
type
S
D
n
Symbol
_6
Explanation
1.
This instruction writes data into the file register. The description of the operands is as follows.
S: The initial address of the data source; it is suggested that you declare an array type variable.
D: The initial address where the instruction stores data. It is suggested that you assign an address for the file
register and declare an array type variable.
n: The length of the data that the instruction writes into the file register, between 1–2048. If the value
exceeds the range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B.
If the device S or D exceeds the allowed range, SM0 is ON, and the error code in SR0 is 16#2003.
2.
Since it takes 60–120 ms for the instruction to write the data, it is suggested that you use this instruction when the
PLC is idle. For example, when there is no external interrupt task, no high-speed output, or any immediate events
for the PLC to process.
3.
The instruction writes only when the contact switches from OFF to ON and writes only once.
NOTE: You can write into this file register a maximum of 100,000 times.
6 - 8 6 0
MEMW
P
Y
M
S
T
C
S : The first address of the data source
D : The first address where the data is stored
n : Data length
Operand
S, D, n
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
Function
Writing data into the file register
SR
E
K
16#
"$"
32-bit instruction
AS
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents