Panasonic FP7 Series Command Reference Manual page 1109

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

Advertisement

[S]...DT2
DT0
"8"
DT1
"0"
DT2
"b"
"d"
DT3
DT4
"f"
DT5
"h"
DT6
"j"
"l"
DT7
"n"
DT8
DT9
Byte address
High
DT100
DT101
DT102
DT103
H 00000007
DT104
DT105
DT106
Writing file "data1.csv"
"abcdefghijklmnopqrstuvwxyz",
File pointer
Example 6)
● 10000 pieces (10000 words) of signed 16-bit integer data are read from the area starting with
device DT10000, and the data pieces are written in CSV format into "\FP7\DT.CSV" in the
SD memory card in new file mode.
● An empty line is inserted in the data by zero suppression. Line breaks (0Dh+0Ah) are
inserted as delimiters for the 10th data and the end of the data.
WUME-FP7CPUPGR-12
[n]...6
[D1]..."¥abc¥data1.csv"
"7"
"9"
"a"
...Head of device
"c"
to be read
"e"
"g"
"i"
"k"
"m"
H 0000
Low
U10
...Writing format
H 0002
...Writing mode
H 0100
...Option (*)
...Writing position
...Amount of writing data
U0
18.3 CWT (File Data Write Instruction)
[D2]...DT100
(*) Option
・bit0-7(0): Line break settings
・bit8(1): Postfix
・bit9(0): Zero suppression
Writing file "data1.csv"
"abcdef"abcdef",pqrstuvwxyz",
File pointer
DT103
H 00000010
DT104
DT105
U6
DT106
- Invalid
- Insert a comma (2Ch)
- Invalid
...Writing position
...Amount of writing data
18-15

Advertisement

Table of Contents
loading

Table of Contents