EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 794

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
792
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
When reading binary data
If the extension of the target file is omitted, ".BIN" is used as an extension.
When the designated file does not exist, an error occurs.
If the position specified is greater than the existing file size:
The following shows how the data is read in binary data reading operation.
When reading data after CSV format conversion
The elements in CSV format file (cells for EXCEL) are read by each row. The numerical value and character strings are
converted into binary data and stored in the device.
If the extension is omitted, ".CSV" is used as an extension.
When the designated file does not exist, an error occurs.
The data designated by the number of request read data ((D0)+2) are read from the beginning of the file. When the last
data of the file is reached before the specified number of data are read:
The High Performance model QCPU of which the first five digits of the serial number are "01111" or lower results in an error.
The High Performance model QCPU/Process CPU/Redundant CPU/Universal model QCPU/LCPU of which the first five digits of the serial number are '01112'
or higher will perform reading at point 0 and will be completed normally.
The High Performance model QCPU of which the first five digits of the serial number are "01111" or lower results in an error.
The High Performance model QCPU/Process CPU/Redundant CPU/Universal model QCPU/LCPU whose the first five digits of the serial number are '01112'
or higher reads the data up to the point where the reading is possible.
Location to start reading in the file
Control data
H0000
-
K3
D0
+0
D0
+1
D0
+2
D0
+3
D0
+4
D0
+5
D0
+6
D0
+7
K1
K0
K0
-
Execution/completion type
(Not used)
No. of request read data
(Not used)
No. of columns designation
Data type specification
H00
File data (in byte units)
D1
+0
H11
H22
H33
H44
H55
H66
H77
H88
H99
HAA
Data device
D1
+1
D1
+2
D1
+3
K3
H33 22
H55
44
H77
Read
data
Total
66

Table of Contents

Related product manuals