26: D
ATA
L
OG
I
NSTRUCTIONS
26-8
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
TRACE (Data Trace)
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
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
When the execution of the TRACE instruction is finished, 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. Execution status" on page 26-10.
Notes:
The TRACE instruction accumulates data while SmartAxis is running but does not accumulate data when SmartAxis is stopped.
Data is accumulated while SmartAxis is running even when the input to the TRACE instruction is off.
When the input to the TRACE instruction is turned on, the accumulated data is output to the CSV file.
The time required to create a new CSV file (create a file and output header) is ?? µs.
Trace data is accumulated even when the MCS (master control set) instruction is on.
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 designated
by S1. When the execution of the instruction is finished, the device designated by
D1 is turned on and the execution status is stored to the device designated by D2.
When the folder designated by S1 does not exist on the SD memory card, that
folder is created. The folder path is "DATA0001
\
TRACE
\
User specified folder." For
details on the folder structure, see Chapter 5 "Special Functions" - "SD Memory
Card" in the FT1A Series SmartAxis Pro/Lite User's Manual.
The CSV file name is "DATE.csv." The date when the TRACE instruction is turned
on is used as DATE.
Example: If the date is September 30, 2011, the file name is "20110930.csv".
D1
*****
S1
*****
TRACE
D2
*****
Triggered at:
2012/02/06 08:30:23
Header row 1
Scan
D0010
Header row 2
Old
12345
Data 2 scans before
12345
Data 1 scan before
New
12345
Latest data
Triggered at:
2012/02/06 08:30:23
Scan
D0010
Old
12345
12345
New
12345
Triggered at:
2012/02/06 17:16:15
Appended header row 1
Scan
D0010
Appended header row 2
Old
1212
Appended data 2 scans before
1212
Appended data 1 scan before
New
1212
Appended latest data
Summary of Contents for microsmart pentra
Page 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Page 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...