Save Log Data - IDEC MICROSmart FC6A Series User Manual

Windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

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
Time
2011/09/07 15:40:00
2011/09/07 15:41:00
2011/09/07 15:42:00
CSV file output sample with the TRACE instruction
Triggered at:
Scan
Old
New
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
Change M8072 (Unmount SD Memory Card) from off to on.
1.
Confirm that M8070 (SD Memory Card Mount Status) is off.
2.
3.
Eject the SD memory card from the SD memory card slot.
Insert the replacement SD memory card into the SD memory card slot.
4.
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 "11: RAM overflow", and then subsequent log data are not saved until the
SD memory card is inserted.
D0010
D0011
12345
1
1212
3
345
4
2011/09/07 15:40
D0010
D0011
1
9
2
10
3
11
FC6A S
MICROS
ERIES
MART
D0012
17
18
19
U
'
M
FC9Y-B1722
SER
S
ANUAL
11: SD M
C
EMORY
ARD
11-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents