U1
H 0000
H 0300
DT100
DT101
DT102
...Writing format
...Writing mode
...Option (*)
(*) Option
・bit0-7(0): Line break settings
・bit8(1): Postfix
Writing file "data1.csv"
␣␣ 123, ␣ 1234,12345, ␣␣ ␣ ␣ 5, ␣␣ ␣ 56,
U1
U12
U123
DT0
DT1
DT2
U1234
U12345
U5
DT3
DT4
DT5
U56
U567
U5678
U56789
DT6
DT7
DT8
DT9
H 00000000
U0
DT103
DT104
DT105
DT106
...Writing position
...Amount of writing data
U5
DT105
...Amount of writing data
DT106
[S]...DT2 [n]...5 [D1]..."¥abc¥data1.csv" [D2]...DT100
・
bit9(1): Zero suppression
- Do not insert line breaks except at the end of the file
- Insert a comma (2Ch)
"␣ " indicates a space (20h)
...Head of device
to be read
Example 2)
● Five pieces (10 words) of unsigned 32-bit integer data are read from the area starting with
device DT4, and the data pieces are written in CSV format into the file "\abc\data1.csv" in the
SD memory card in new file mode.
● A blank line is inserted in the data through zero suppression, and a comma (2Ch) is inserted
at the end.
␣␣ ␣ ␣ 123456,␣␣ ␣ 1234567,␣␣ 12345678,␣ 123456789, ␣␣ ␣ ␣ 1234 (0Dh)(0Ah)
H 0200
U3
H 0000
DT100
DT101
DT102
...Writing format
...Writing mode
(*) Option
・bit0-7(0): Line break settings
・bit8(0): Postfix
Writing file "data1.csv"
H 00000000
U0
DT103
DT104
DT105
DT106
...Writing position
...Amount of writing data
U1234
U12345
U123456
DT0
DT2
DT4
U1234567
U12345678
U123456789
DT6
DT8
DT10
U1234
U12345
U123456
U1234567
DT12
DT14
DT16
DT18
[S]...DT4
[n]...5
[D1]..."¥abc¥data1.csv" [D2]...DT100
・
bit9(1): Zero suppression
- Do not insert line breaks except at the end of the file
- Insert a line break (0Dh+0Ah)
...Head of device
to be read
U5
DT105
...Amount of writing data
DT106
18.3 CWT (File Data Write Instruction)
18-12 WUME-FP7CPUPGR-12