Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
7-433
SP.FREAD
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.13 Reading Data from Designated File (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
H
.
(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 ( ) contains the medium other than the ATA
card. (Error code: 4100)
• Values designated in control data ( ) and the subsequent devices are out of the setting
range. (Excluding +2) (Error code: 4100)
• Value designated by number of data blocks to be read ( +2) is out of the setting range.
(Error code: 4101)
• Invalid device is designated. (Error code: 4004)
• File name designated by file name character string ( ) or the subsequent devices does
not exist in the designated drive. (Error code: 2410)
• Size of read data exceeds the size of reading device. (Error code: 4101)
• 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 ( +2).
(High Performance model QCPU of which the first 5 digits of the serial number are '01111'
or lower) (Error code: 4100)
• Access error occurred in the ATA card. (Error code: 4100)
• The device specified by or exceeds the range of the corresponding device.
(For the Universal model QCPU only.) (Error code: 4101)
Numerical Values in
CSV Format
-32768 to -1 0 to 32767 32768 to 65535
Word
device
Without
a sign
32768 to 65535 0 to 32767 32768 to 65535
With a
sign
-32768 to -1 0 to 32767 -32768 to -1
S0
D0
D0
D0
S1
D0
D0
D2