Mitsubishi MELSEC Q Series Programming Manual page 793

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(4) When writing binary data
(a) If the extension of the target file is omitted, ".BIN" is used as an extension.
(b) When the designated file does not exist, a new file is created and the data is added/
saved from the beginning of the file.
The attributes of this new file are set using the archive attributes.
(c) When the size of the data exceeds that of the existing area in the file during the writing,
the excess data is added/saved.
(d) If the file position specified is greater than the existing file size:
• The High Performance model QCPU of which the first 5 digits of the serial number
are "01111" or lower results in an error.
• The High Performance model QCPU/Process CPU/Redundant CPU/Universal
model QCPU/LCPU of which the first 5 digits of the serial number are "01112" or
higher performs writing at point 0 and is completed normally.
(e) 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.
(5) When writing data after CSV format conversion
(a) If the extension is omitted, ".CSV" is used as an extension.
(b) When the existing file is specified:
[High Performance model QCPU of which the first 5 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 5 digits of the serial number are "01112" or higher]
• When other than FFFFFFFF
data are saved, starting at the beginning.
• When FFFFFFFF
file.
(c) When the designated file does not exist, a new file is created and the data is added/
saved from the beginning of the file.
The attributes of this new file are set using the archive attributes.
(d) 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.
is set at (
+4,
H
D0
is set at (
+4,
+5), data are saved, starting at the end of the
H
D0
D0
SP.FWRITE
+5), file contents are all deleted and
D0
1
2
3
4
6
6
7
8
7-419

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents