Panasonic FP7 Series Command Reference Manual page 1110

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

Advertisement

18.3 CWT (File Data Write Instruction)
[S]...DT10000
DT10000
DT10001
DT10002
DT19997
DT19998
DT19999
DT20000
DT50
DT51
DT52
DT53
H 00000000
DT54
DT55
DT56
(*) Option
・bit0-7(0Ah): Line break settings
・bit8(0): Postfix
・bit9(1): Zero suppression
Writing file "¥FP7¥DT.CSV"
10000,
10001,
10010,
10011,
19990,
19991,
"
" indicates a space (20h)
DT55
DT56
Processing examples (.bin format file)
Example 1)
● Five pieces (five words) of 16-bit data are read from the area starting with device DT2, and
the data pieces are written in the BIN format into the file "\abc\data1.bin" in the SD memory
card in new file mode.
18-16
[D1]..."¥FP7¥DT.CSV"
[n]...10000
K10000
...Head of device
K10001
to be read
K10002
K19997
K19998
K19999
U0
U2
...Writing format
H 0000
...Writing mode
H 020A
...Option (*)
...Writing position
U0
10002,
10003,
10012,
10013,
19992,
19993
,␣
U10000
...Amount of writing data
・Insert line break after 10th data
・Insert line break (0Dh+0Ah)
・On
10004,
10005,
10006,
10014,
10015,
10016,
19994
19995,
19996,
,
[D2]...DT50
10007,
10008,
10009
10017,
10018,
10019
19997,
19998,
19999
WUME-FP7CPUPGR-12
0Dh0Ah
0Dh0Ah
0Dh0Ah

Advertisement

Table of Contents
loading

Table of Contents