Operation Error
Setting
Data
U0
Dummy
Drive designation
S0
Head number of the devices storing the control data. The following control data is required.
Device
Item
Execution/
completion
D0
type
(Not used)
+1
D0
Writing result
(No. of written
+2
D0
data)
(Not used)
+3
D0
D0
+4
File
D0
position
+5
D0
No. of columns
+6
D0
designation
D0
Data type
+7
D0
specification
Head number of the devices storing a file name. A file name is expressed as follows:
Device
Item
File name
S1
to
S1
character
+
S1
string
Meaning
Contents/Setting Data
Designate the execution type.
0000
: Write binary data
H
0100
: Write data after CSV format conversion
H
Used by system
Contains the number of actually written data against the data
designated by
. The unit of the value depends on data type
S2
specified at
+7.
D0
––
Set the file position when binary data writing is specified by
00000000
:Starting at the beginning of the file
H
00000001
to FFFFFFFE
: From the specified position
H
H
(The unit of the value depends on data
type specification.)
FFFFFFFF
: Addition starts from the end of the file.
H
When write data after CSV format conversion is specified at
D0
• For the High Performance model QCPU of which the first 5
digits of the serial number are "01111" or lower, always set
the beginning (0
) of the file.
H
• For the High Performance model QCPU/Process CPU/
Redundant CPU/Universal model QCPU of which the first 5
digits of the serial number are "01112" or higher, set the file
position.
00000000
to FFFFFFFE
H
H
: Starting at the beginning of the file
FFFFFFFF
: Adding at the end of the file
H
When binary write is specified at
When write data after CSV format conversion is specified at
, set the number of columns where data will be written.
D0
0
: No columns. Regarded as one row.
Other than 0
: Set to the specified number of columns.
0: Word
1: Byte
Contents/Setting Data
Designate the character string of a file name.
• When omitting an extension, also omit the "." (Period).
• Limit the file name within 8 characters + period + 3
characters.
• When 9 or more characters are used, the extension is
ignored regardless of its presence, and "BIN" or "CSV" is
automatically assigned as an extension.
Setting Range
.
D0
00000000
FFFFFFFF
, always set 0.
D0
Setting Range
SP.FWRITE
Setting
Set by
Data Type
Range
––
––
2
User
Set by
0000
H
User
0100
H
––
System
––
System
––
––
to
H
User
H
BIN 16 bits
0
to
H
FFFF
User
H
(0 to 65535)
0,1
User
Set by
Character
User
string
629
1
2
3
4
4
6
7
8