Mitsubishi Electric MELSEC-Q/L Programming Manual page 794

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

■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 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 following shows how the data is read in binary data reading operation.
Control data
D0
+0
H0000
+1
-
D0
+2
K3
D0
-
+3
D0
+4
K1
D0
+5
D0
+6
D0
K0
D0
+7
K0
Data device
+0
K3
D1
+1
H33 22
D1
Total
H55 44
D1
+2
Read
data
+3
H77
D1
■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 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.
7 APPLICATION INSTRUCTIONS
792
7.19 Other Instructions
Execution/completion type
(Not used)
No. of request read data
(Not used)
Location to start reading in the file
No. of columns designation
Data type specification
File data (in byte units)
H00
H11
H22
H33
H44
H55
66
H66
H77
H88
H99
HAA

Advertisement

Table of Contents
loading

Table of Contents