Mitsubishi MELSEC Q Series Programming Manual page 802

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

Advertisement

SP.FREAD
Setting
Data
+4
D0
+5
D0
D0
+6
D0
+7
D0
Head number of the devices storing a file name. A file name is expressed as follows:
Device
S1
to
S1
+
S1
Head number of the devices for storing the read data.
Device
D1
D1
+1 to
D1
+
D1
7-428
Meaning
Designate the file position to start reading when
binary data reading is designated by
00000000
: Starting at the beginning of the file
H
00000001
to FFFFFFFE
H
:From the designated position
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
File
are "01111" or lower, always set the
position
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
H
the file.
00000001
to FFFFFFFE
H
:Read starts at the specified row.
FFFFFFFF
: Read continues, starting at the
H
previous read position.
When binary read is specified at
set 0.
When CSV format read is specified at
No. of
the number of columns from where data will
columns
be read.
designation
0: No columns. Regarded as one row.
Other than 0: Regarded as the specified
number of columns.
Data type
0: Word
specification
1: Byte
Item
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 +
File name
character
period + 3 characters.
• When 9 or more characters are used,
string
the extension is ignored regardless of its
presence, and "BIN" or "CSV" is
automatically assigned as an extension.
Item
Contents/Setting Data
Contains the number of actually read data
Reading
against the data designated by
result (No. of
unit on the value depends on data type
read data)
specification.
Reading
Read data
data
Setting Range
.
D0
H
D0
00000000
H
FFFFFFFF
H
, always
D0
, set
D0
0
to FFFF
H
(0 to 65535)
0,1
Setting Range
Character
string
Setting Range
+2. The
D0
––
––
Set by
Data Type
to
User
H
BIN 16 bits
H
User
User
Set by
User
Set by
System
System

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents