EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 785

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
783
7
When writing data after CSV format conversion
If the extension is omitted, ".CSV" is used as an extension.
When the existing file is specified:
When the designated file does not exist, a new file is created and the data is saved from the beginning of the file. The
attributes of this new file are set using the archive attributes.
An error occurs when the saving space becomes full while data is added and saved. In such a case, the data that is
successfully added/saved remains in the medium. The error completion is indicated after as much data as possible is
added/saved.
When the designated number of columns is "0", the data is stored as single-row data in CSV format file.
Ex.
When data is written after CSV format conversion and the designated No. of columns is "0":
[High Performance model QCPU of which the first five digits of the serial number are "01111" or lower]
File contents are all deleted and data are saved, starting at the beginning.
[High Performance model QCPU/Process CPU/Redundant CPU/Universal model QCPU/LCPU of which the first five digits of the serial number are "01112" or
higher]
When other than FFFFFFFFH is set at ((D0)+4, (D0)+5), file contents are all deleted and data are saved, starting at the beginning.
When FFFFFFFFH is set at ((D0)+4, (D0)+5), data are saved, starting at the end of the file.
H0100D10
SP.FWRITE D10K2U0 D20 D99
M0
* Designation in word units
D11
D12
D13
D14
D15
D16
D17
D20
D21
D22
D099
D100
D101
D102
D103
D104
D105
D106
-
K0
K0
K0
K0
K0
H4241
H4443
H0045
K7
K0
K10
K20
K30
K40
K-50
K100
Execution/completion type
Not used
Writing result (No. of written data) (In normal completion, it is the same number as the number of
data to be written.)
No. of columns designation
Data type specification
File name (If a file name consists of 8 or less characters, "00"s are stored in the remaining area.)
"ABCDE"
No. of request write data
Write data
0
,
10 20 4030
,,
-50 100
,, ,
CR
LF
Data to be read out to EXCEL file
Data to be written to the file
Not used
-
File position

Table of Contents

Related product manuals