8.3 Writing Data to Specified File
8-11
8
QCPU
INS
T
R
UCTIONS
SP
_FWRITE
SP_FWRITE
*2 : Indicates the range applicable only for the Universal model QCPU.
Setting
data
Description
Setting range
Set by
Data type
[4]
[5]
File
position
When binary data write is specified for
• Set the file position.
00000000
H
:Start of the file
00000001
H
to FFFFFFFE
H
: From the specified position
The unit for the value is
determined by the data type
specification.
FFFFFFFF
H
: Addition starts from the end
of the file.
When CSV format write is specified for
• 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
H
) of the file.
• For the High Performance model QCPU/
Process CPU/Redundant CPU of which the
first 5 digits of the serial number are '01112'
or higher, set the file position.
00000000
H
to FFFFFFFE
H
: Start of the file
FFFFFFFF
H
: Addition from the end of the file.
00000000
H
to
FFFFFFFF
H
User
BIN 16 bits
[6]
Number of
columns
specification
When binary write is specified for
, always
set 0.
When CSV format write is specified for
,
set the number of columns where data will be
written.
0: No columns. Regarded as one row.
Other than 0: Set to the specified number of
columns.
0 to
65535
User
[7]
Data type
specification
0: Word
1: Byte
0,1
User
Bit device that turned ON at the completion of the processing.
(
+1 is also turned ON at error completion.)
Bit
Device
Item
Contents/Setting Data
Setting Range
Set by
[0]
Completion
signal
Indicates the completion of the processing.
ON: Completed OFF: Not completed
––
System
[1]
Error
completion
signal
Indicates whether the processing is normally
completed or abnormally completed.
ON: Error completion
OFF: Normal completion
––
d0
d0
d0
d0
d0
d0
d0
d0
d0
d1
d1
d1
d1
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......