Delta AS Series Programming Manual page 1140

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
2304
MDEL
Device
X
Y
M
ctrl
fname
Data
type
ctrl
fname
Symbol
Explanation
1.
This instruction writes data from the PLC to the memory card. The operands are described as follows.
ctrl: The control parameter
Item
File format
Reserved
You can use strings (less than 9 characters) in the in fname (file name).
fname occupies five devices. The file name contains a maximum of nine characters, including 16#00. If the
string does not end with 16#00, an error occurs. When the instruction reads the ending character, it stops
reading, and checks if the file name is legal. The characters in the file name can be A–Z, a–z, and 0–9. The
file name extension depends on the file format. The file that the instruction creates is in the default folder. If
the file name is "Test1", the instruction writes the characters into the devices as follows.
Operand
P
ctrl, fname
S
T
C
HC
Pulse instruction
: Control parameter
ctrl
fname : Data source
Code
The file name extension is .dmd.
0
The file name extension is .cvs.
1, 2, 7
3, 4, 5, 6
The file name extension is .txt.
The values of bit 8–bit 15 are 0.
-
Cha p ter 6 App l ied Ins truc tio ns
Deleting files on the memory card
D
FR
SM
SR
E
16-bit instruction
AS
AS
Description
Function
K
16#
"$"
F
32-bit instruction
-
6 - 8 6 1
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents