Example 2) When reading data from a file "\data1.txt" specifying the 4th byte from
the head of the file for the reading position
"x"
"t"
High
DT0
DT1
DT2
DT3
DT4
DT5
[S1] …DT0
Byte address
Loe
"a"
"."
"1"
"t"
" ¥ "
"a"
U10
"d"
"t"
H 0000
DT6
[D1] …DT100 [D2] …DT50
DT7
H 0000
Contents of file "data1.txt"
12345678 + CRLF
a,ab,abc,abcd,abcde + CRLF
:Position of file pointer
DT100
DT101
DT102
DT103
DT104
DT105
DT106
DT107
DT108
DT109
H 0000
H 0000
H 0000
H 0000
H 0000
H 0000
H 0000
H 0000
H 0000
H 0000
DT50
DT51
DT52
DT53
DT54
H 00000004
U100
H 0000
H 0000
...Position of 4th byte
from the head of file
...Max. size: 100 bytes
...Reserved for system
DT50
DT51
DT52
DT53
DT54
H 0000000A
U100
H 0000
H 0000
...Read data
Reading position at the end
High
DT100
DT101
DT102
DT103
DT104
DT105
Low
“5”
“7”
“6”
“8”
U4
H 0000
DT106
DT107
H 0000
H 0000
12345678 + CRLF
a,ab,abc,abcd,abcde + CRLF
Contents of file "data1.txt"
Byte address
H 0000
H 0000
DT108
DT109
H 0000
H 0000
18.9 CRD1 (One Line Read from File)
WUME-FP7CPUPGR-12 18-45