Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 614

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• When the number of columns differs in each row, the elements outside the specified number of columns are ignored and 0
is added to the cells where no element exists.
Ex.
When the number of columns differs in each row
[Data saved in CSV format]
Main/sub item
,
Length
CR LF
Temperature
,
-21
[Data to be read into devices]
SP.FREAD
U0
[Control data]
D10
0100H
D11
-
D12
K6
D13
K0
D14
K0
D15
K0
D16
K2
D17
K0
[Loaded data]
D99
K6
D100
K0
D101
K0
D102
K0
D103
K0
D104
K0
D105
K-21
7 APPLICATION INSTRUCTIONS
612
7.6 Reading/Writing Data Instructions
,
Measured value
,
Excess
, CR LF
(1)
D10
"ABCD"
D99
M0
K2
(1) Columns out of the specified range are ignored.
CR LF
(2) Loaded data
(3) File name
(4) Control data
(2)
(3)
(4)
D10: Execution/completion type
D11: Completion status
D12: Number of read-target data
D13: Maximum number of read data
D14, D15: File position
D16: Number of columns
D17: Data type specification
D99: Number of data actually read
D100: Since "Main/sub item" is not a numerical value, the conversion data, 0, is stored.
D101: Since " " is not a numerical value, the conversion data, 0, is stored.
D102: Since "Length" is not a numerical value, the conversion data, 0, is stored.
D103: Since no element exists, the conversion data, 0, is added.
D104: Since "Temperature" is not a numerical value, the conversion data, 0, is stored.
D105: Since "-21" is a numerical value, it is converted to a binary value.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents