11: SD M
EMORY
C
ARD
11-6 FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
U
SER
’
S
M
ANUAL
FC9Y-B1722
Save Log Data
Using the DLOG (data log) instruction and the TRACE (data trace) instruction, specified device values will be saved to the SD
memory card as log data (CSV files). The DLOG instruction outputs the date and time and the values of the specified devices to the
CSV file in the specified folder. The TRACE instruction outputs the date and time and the values for the previous number of scans
for the specified devices to the CSV file in the specified folder. For details on the DLOG and TRACE instructions, refer to Chapter 25
"Data Log Instructions" in FC6A Series MicroSmart LAD Programming Manual.
Notes:
• Logs are acquired while the DLOG instruction and the TRACE instructions are executed without an inserted SD memory card. When the SD
memory card is inserted, the acquired logs are saved to file and operation of the instruction continues as is.
• If FC6A Series MicroSmart operation is stopped or if the power is cycled without an inserted SD memory card, the acquired log data is entirely
cleared.
Note: The FC6A Series MicroSmart cannot write data to the SD memory card when its write-protect switch is on. Always set the SD memory card's
write-protect switch to off before inserting it in the FC6A Series MicroSmart.
Output sample
CSV file output sample with the DLOG instruction
CSV file output sample with the TRACE instruction
Time D0010 D0011
2011/09/07 15:40:00 12345 1
2011/09/07 15:41:00 1212 3
2011/09/07 15:42:00 345 4
Triggered at: 2011/09/07 15:40
Scan D0010 D0011 D0012
Old 1 9 17
21018
New 3 11 19