CSV File Output Format and File Format Configuration
• Output format
The CSV file output format is as follows.
Triggered at:,2015/12/30 15:40:30
Scan,D0010,D0020,D0030,D0040,D0050,D0060,D0070,D0080
Old,1,9,17,25,33,41,49,57
,2,10,18,26,34,42,50,58
,3,11,19,27,35,43,51,59
,4,12,20,28,36,44,52,60
,5,13,21,29,37,45,53,61
,6,14,22,30,38,46,54,62
,7,15,23,31,39,47,55,63
New,8,16,24,32,40,48,56,64
・
・
・
When the TRACE instruction is executed and the CSV file for the same date does not exist in the folder designated by S1, a new
CSV file is created and the trace data is output as shown in above output format example. When the date changes and the TRACE
instruction is executed, a new CSV file is created with a new file name.
• File format
The decimal symbol and separating character in CSV files can be specified in the function area settings. For details, see Chapter 11
"SD Memory Card" in the
Examples: TRACE
When M0 is turned on, the accumulated data of D0 through D5 (data type W (word)) and D10 (data type F (floating point)) are
saved as decimal values in a CSV file on the "RESULT" folder on the SD memory card.
Output sample
Triggered at:
2012/02/06 10:20:30
Scan
D0000
Old
12345
12345
12345
:
12345
12345
New
12345
The sample user program described below operates as follows.
• M100 is turned on when the writing trace data to the SD memory card completes.
• The TRACE instruction status code is stored to D100.
• The execution status saved in D100 is checked and Q0 is turned on if an error occurs.
FC6A Series MICROSmart User's Manual
"
D0001
2
2
2
:
:
2
2
2
FC6A S
MICROS
ERIES
MART
.
"
D0002
D0003
12345
56789
12347
56789
12349
56789
:
:
12379
56789
12381
56789
12383
56789
L
P
M
ADDER
ROGRAMMING
ANUAL
25: D
L
ATA
D0004
D0005
1
56789
1
56788
1
56787
:
:
1
56772
1
56771
1
56770
FC9Y-B1726
I
OG
NSTRUCTIONS
D0010
-3.402823E+38
-3.402823E+38
-3.402823E+38
:
-3.402823E+38
-3.402823E+38
-3.402823E+38
25-19