Panasonic FP7 Series Command Reference Manual page 1138

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents