Example 2)
● Five pieces of data are read from the file "\abc\data1.csv" in an SD memory card, and the
data pieces are stored in the area starting with DT102 as five pieces (five words) of 16-bit
unsigned integer data.
● As the “Reading position specification mode 1” is selected, the file pointer moves after
reading.
[S1]..."¥abc¥data1.csv"
[S2]...DT50
U1
H 0002
H 0000
DT50
DT51
DT52
U0
U0
U0
DT100
DT101
DT102
U0
U0
U0
DT103
DT104
DT105
U0
U0
U0
U0
DT106
DT107
DT108
DT109
[n]...5 [D]...DT102
...Reading format
...Reading mode
...Reserved for system
File pointer
Data content of file "data1.csv" (16-bit DEC format)
12,123,1234,12345,5,56,567,5678,56789,1,
U0
U0
U12
DT100
DT101
DT102
U123
U1234
U12345
DT103
DT104
DT105
U5
U0
U0
U0
DT106
DT107
DT108
DT109
File pointer
Data content of file "data1.csv" (16-bit DEC format)
12,123,1234,12345,5,56,567,5678,56789,1,
H 00000000
U0
DT53
DT54
DT55
...Reading position
...No. of read data
DT56
Example 3)
● Five pieces of data are read from the file "\abc\data1.csv" in an SD memory card, and the
data pieces are stored in the area starting with DT102 as five pieces (ten words) of 32-bit
unsigned integer data.
● As the “Reading position specification mode 1” is selected, the file pointer moves after
reading.
18.4 CRD (File Data Read Instruction)
WUME-FP7CPUPGR-12 18-23