Trace (Data Trace) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

TRACE (Data Trace)

TRACE
The filename of created CSV files is as follows:
• All-in-One CPU module:
The CSV file name is "DATE.csv." The date when the DLOG instruction is turned on is used as DATE.
Example: When the date is December 30, 2015, the file name is "20151230.csv".
• Plus CPU module:
A new folder "YYYYMMDD" (Year, Month, and Date) is created and csv files are stored in the folder. Underscore "_" and 2-digit
number "00 to 99" are appended to the csv filenames. When the file size exceeds the log data file size, a new file is created and
2-digit number is incremented and appended to the filename.
Example: When the date is April 1, 2017 and the first file in the day is created, the file is "20170401\20170401_00.csv."
When a CSV file with the same date does not exist in the folder designated by S1, the CSV file is created and the trace data is
output. The oldest data is output at the top of the trace data, and the latest data is output at the bottom of the trace data.
Output example
Triggered at:
Scan
Old
New
When a CSV file for the same date already exists in the folder designated by S1, the header and trace data are appended to the
CSV file.
Output example
Triggered at:
Scan
Old
New
Triggered at:
Scan
Old
New
When the execution of the TRACE instruction finishes, the device designated by D1 is turned on and the status code is stored to
the device designated by D2 according to the execution result. For status codes, see "3. D2 (destination 2): Execution Status" on
page 25-17.
S1
D1
D2
*****
*****
*****
2012/02/06 08:30:23
D0010
12345
12345
12345
2012/02/06 08:30:23
D0010
12345
12345
12345
2012/02/06 17:16:15
D0010
1212
1212
1212
FC6A S
MICROS
ERIES
MART
The TRACE instruction saves the values for the previous number of scans for the
specified device in the specified data format as a CSV file on the SD memory card.
When the input is turned on, the date and time and the values of the previous
scans for the specified device are output to the CSV file in the folder assigned by
S1. When the execution of the instruction finishes, the device assigned by D1 is
turned on and the execution status is stored to the device assigned by D2.
When the folder assigned by S1 does not exist on the SD memory card, that
folder is created. The folder path is "FCDATA01\TRACE\User specified folder." For
details on the folder structure, see Chapter 11 "SD Memory Card" in the "FC6A
Series MICROSmart User's Manual".
Header row 1
Header row 2
Data 2 scans before
Data 1 scan before
Latest data
Appended header row 1
Appended header row 2
Appended data 2 scans before
Appended data 1 scan before
Appended latest data
L
P
M
ADDER
ROGRAMMING
ANUAL
25: D
L
ATA
OG
FC9Y-B1726
I
NSTRUCTIONS
25-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents