Mitsubishi MELSEC Q Series Programming Manual page 810

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

Advertisement

SP.FREAD
(h) When data is read after CSV format conversion, the numerical values that are out of
range or the elements other than numerical values in the object CSV format file are
converted into 0
(i)
When data is read after CSV format conversion, numerical values are read and
converted as follows:
(j)
Do not execute this instruction in an interrupt program.
(Otherwise, a malfunction may result.)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• Drive specified by drive designation device (
card. (For QCPU)
• Drive specified by drive designation device (
Memory card. (For LCPU)
• Values designated in control data (
range. (Excluding
• Value designated by number of data blocks to be read (
• Invalid device is designated.
• File name designated by file name character string (
not exist in the designated drive.
• Size of read data exceeds the size of reading device.
• When binary data is read, the number of data in the file is less than the size designated by
the number of request read data (
(High Performance model QCPU of which the first 5 digits of the serial number are '01111'
or lower)
• Access error occurred in the ATA card. (For QCPU)
• Access error occurred in the SD Memory card. (For LCPU)
• The device specified by
(For the Universal model QCPU, LCPU.)
7-436
.
H
Numerical Values in
-32768 to -1
CSV Format
Without
32768 to 65535
a sign
Word
device
With a
-32768 to -1
sign
+2)
D0
or
D0
0 to 32767
0 to 32767
0 to 32767
) contains the medium other than the ATA
S0
) contains the medium other than the SD
S0
) and the subsequent devices are out of the setting
D0
D0
) or the subsequent devices does
S1
+2).
D0
exceeds the range of the corresponding device.
D2
32768 to 65535
32768 to 65535
-32768 to -1
(Error code: 4100)
(Error code: 4100)
(Error code: 4100)
+2) is out of the setting range.
(Error code: 4101)
(Error code: 4004)
(Error code: 2410)
(Error code: 4101)
(Error code: 4100)
(Error code: 4100)
(Error code: 4100)
(Error code: 4101)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents