Mitsubishi Electric MELSEC-Q/L Programming Manual page 796

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

Advertisement

• If the number of columns varies in each row, the data is also read by ignoring the rows.
Such file cannot be created using EXCEL. This happens when CSV file is modified by a user.
Ex.
If the number of columns varies in each row when the data is read:
Data saved as a CSV file
Main / sub item
Length
Temperature
Data to be read into devices
SP.FREAD
Control data
Loaded data
Stores the number of read data
Main/sub item
Data between , and ,
Measured value
Read
data
Temperature
K-21
7 APPLICATION INSTRUCTIONS
794
7.19 Other Instructions
,
,
Measured value
CR LF
,
-21
, CR LF
U0
K2
D10
D20
D99
D10
H0100
D11
-
D12
K7
D13
-
D14
K0
D15
K0
D16
K0
D17
K0
D20
H4241
D21
H4443
D22
H0000
D099
K7
D100
K0
D101
K0
D102
K0
D103
K0
D104
K0
D105
K0
D106
K-21
,
Excess
CR LF
M0
Data that was read
File name
Control data
Execution/completion type
Not used
Number of request read data
Not used
File position
Number of columns designation
Data type specification
File name
"ABCD"
Reading result (Number of read data)
Conversion data (0) is stored since "Main/sub item" is nonnumeric data.
Conversion data (0) is stored since " " is nonnumeric data.
Conversion data (0) is stored since "Measured value" is nonnumeric data.
Conversion data (0) is stored since "Excess" is nonnumeric data.
Conversion data (0) is stored since "Length" is nonnumeric data.
Conversion data (0) is stored since "Temperature" is nonnumeric data.
Since " -21 " is a numeric value, it is converted to a binary value.

Advertisement

Table of Contents
loading

Table of Contents