Mitsubishi MELSEC-Q/L Programming Manual page 641

Table of Contents

Advertisement

Setting
Data
+4
File
D0
position
+5
D0
D0
No. of columns
+6
D0
designation
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
Head number of the devices for storing the read data.
Device
Item
Reading result
(No. of read
D1
data)
D1
+1
D1
to
Reading data
+
D1
Meaning
Designate the file position to start reading when binary data
reading is designated by
.
D0
00000000
: Starting at the beginning of the file
H
00000001
to FFFFFFFE
: From the designated position
H
H
(The unit for the value is determined
by word/byte unit designation.)
FFFFFFFF
: Setting disabled
H
When CSV format read is specified at
• 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/LCPU of which the
first 5 digits of the serial number are "01112" or higher, set the
file position (Row).
00000000
: Read starts at the beginning of the file.
H
00000001
to FFFFFFFE
: Read starts at the specified row.
H
H
FFFFFFFF
H
: Read continues, starting at the previous read position.
When binary read is specified at
When read data after CSV format conversion is specified at
, set the number of columns from where data will be read.
D0
0
: No columns. Regarded as one row.
Other than 0: Regarded as 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
regarded as an extension.
Contents/Setting Data
Contains the number of actually read data against the data
designated by
+2. The unit on the value depends on data
D0
type specification.
Read data
D0
00000000
, always set 0.
D0
Setting Range
Setting Range
SP.FREAD
Setting
Set by
Data Type
Range
to
H
User
FFFFFFFF
H
0
to FFFF
H
H
BIN 16 bits
User
(0 to 65535)
0,1
User
Set by
Character
User
string
Set by
––
System
––
System
639
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents