11: SD M
EMORY
C
ARD
11-6
FC6A S
ERIES
MICROS
MART
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 specified device information 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 Ladder Programming Manual.
Note:
The following operations are possible with the Plus CPU module.
When using FC6A Plus CPU module, log data is 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 log data is 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 inserting an 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
Replacing the SD Memory Card While Saving Log Data
When using the Plus CPU module, the SD memory card can be replaced while the DLOG (Data Log) and TRACE (Data Trace)
instructions are being executed because the Plus CPU module is equipped with 1 MB of internal memory to temporarily save the
log data.
SD Memory Card Replacement Procedure
1.
Change M8072 (Unmount SD Memory Card) from off to on.
2.
Confirm that M8070 (SD Memory Card Mount Status) is off.
3.
Eject the SD memory card from the SD memory card slot.
4.
Insert the replacement SD memory card into the SD memory card slot.
Notes:
Format the replacement SD memory card in advance.
If the power supply for the Plus CPU module is turned OFF while the SD memory card is being replaced, the log data saved to the internal
memory will be erased.
If the log data saved to the internal memory exceeds 1 MB while the SD memory card is being replaced, the execution status of the DLOG
(Data Log) instruction or the TRACE (Data Trace) instruction will be "3: SD memory card writing error", and then subsequent log data are not
saved until the SD memory card is inserted.
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
2
10
18
New
3
11
19
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1722 8 FC6A SERIES User s Manual...
Page 12: ...TABLE OF CONTENTS Preface 11 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 182: ...2 PRODUCT SPECIFICATIONS 2 152 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 434: ...8 INSTRUCTIONS REFERENCE 8 18 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 520: ...11 SD MEMORY CARD 11 54 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 554: ...13 TROUBLESHOOTING 13 26 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 567: ...FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722 A 13 APPENDIX ASCII Character Code Table...