8-22
8.4 Reading Data from Specified File
SP_FREAD
Setting
data
Description
Setting range
Set by
Data type
[4]
[5]
File
position
When binary data read 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
: Setting disabled
When CSV format read 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/
Universal model QCPU of which the first 5
digits of the serial number are '01112' or
higher, set the file position (Row).
00000000
H
: Read from the beginning of the
file.
00000001
H
to FFFFFFFE
H
:Read from the specified row.
FFFFFFFF
H
: Read continues from the
previous read position.
00000000
H
to
FFFFFFFE
H
,
FFFFFFFF
H
User
BIN 16 bits
[6]
Number of
columns
specification
When binary read is specified for
, always
set 0.
When CSV format read is specified for
,
set the number of columns from where data
will be read.
0: No columns. Regarded as one row.
Other than 0: Regarded as the specified
number of columns.
0, 1 to
65535
User
[7]
Data type
specification
0: Word
1: Byte
0,1
User
Start number of the device for storing the read data.
Device
Item
Contents/Setting data
Setting range
Set by
Reading
result
(number of
read data)
Contains the number of actually read data
against the data specified for
[2]. The unit
for the value is determined by the data type
specification.
0 to 480
System
[1] to
+
Reading
data
Read data
0000
H
to
FFFF
H
System
d0
d0
d0
d0
d0
d0
d0
d0
d0
d1
d1
d0
d1
d1
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......