Panasonic FP7 Series Command Reference Manual page 1117

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

Advertisement

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"
DT50
DT51
DT52
DT53
DT54
DT55
DT56
Data content of file "data1.csv" (16-bit DEC format)
File pointer
DT100
DT101
DT102
DT103
DT104
DT105
DT106
DT107
DT108
DT109
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.
WUME-FP7CPUPGR-12
[S2]...DT50
U1
...Reading format
H 0002
...Reading mode
H 0000
...Reserved for system
H 00000000
...Reading position
U0
...No. of read data
12,123,1234,12345,5,56,567,5678,56789,1,
U0
U0
U0
U0
U0
U0
U0
U0
U0
U0
18.4 CRD (File Data Read Instruction)
[n]...5
[D]...DT102
DT100
DT101
DT102
DT103
DT104
DT105
DT106
DT107
DT108
DT109
Data content of file "data1.csv" (16-bit DEC format)
12,123,1234,12345,5,56,567,5678,56789,1,
File pointer
U0
U0
U12
U123
U1234
U12345
U5
U0
U0
U0
18-23

Advertisement

Table of Contents
loading

Table of Contents