EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 610

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
608
7 APPLICATION INSTRUCTIONS
7.6 Reading/Writing Data Instructions
Ex.
When "Reading data after converted to CSV format" (String (ASCII data)) is specified
[Data stored in CSV format] Enclosed values as shown to the left are
read.
(Total of six elements, three columns
from two lines of PARTS.CSV, are read.)
(1) Loaded data
(2) File name
(3) Control data
[Control data] 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 to D103: String in the 1st column of
the 2nd line
D104 to D107: String in the 2nd column
of the 2nd line
D108, D109: String in the 3rd column of
the 2nd line
D110 to D113: String in the 1st column of
the 3rd line
D114 to D117: String in the 2nd column of
the 3rd line
D118, D119: String in the 3rd column of
the 3rd line
No.
PARTS.CSV
, Name Value1, Value2, CR LF
AA_0001 , Prts_A 100, 200, CR LF
BB_0002 , Prts_B 300, 400, CR LF
SP.FREAD
D10
K2
U0 "PARTS" D99
M0
(1)
(2)
(3)
[Data to be loaded to the device]
H0130
D10
H0000
D11
K6
D12
K100
D13
D14
K2
D15
K3
D16
K2D17
K6D099
H4141D100
H305FD101
H3030D102
H0031D103
H7250D104
H7374D105
H415FD106
H0000D107
"Prts_A"
H3031D108
H0030D109
"100"
H4242D110
H305FD111
H3030D112
H0032D113
H7250D114
H7374D115
H425FD116
H0000D117
"BB_0002"
"Prts_B"
H3033D118
H0030D119
"300"
"AA_0001"
No.
PARTS.CSV
, Name Value1, Value2, CR LF
AA_0001 , Prts_A 100, 200, CR LF
BB_0002 , Prts_B 300, 400, CR LF

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals