Mitsubishi MELSEC Q Series Programming Manual page 806

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

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents