25: D
ATA
L
OG
I
NSTRUCTIONS
25-16
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Notes:
• The TRACE instruction accumulates data while FC6A Series MICROSmart is running but does not accumulate data when FC6A Series
MICROSmart is stopped.
• Data is accumulated while FC6A Series MICROSmart 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.
• Trace data is accumulated even when the MCS (master control set) instruction is on.
• For the configuration of the maximum log file size, see Chapter 5 "Functions and Settings" in the "FC6A Series MICROSmart User's Manual".
• The maximum number of TRACE instructions that can be programmed in a user program is three. Make sure that the folder name specified
by the TRACE instruction is not duplicated by any of the folder names specified by the other TRACE instructions. When the folders are
duplicated, trace data with a mixed format is output to the same CSV file.
• The number of scans of which the trace data can be saved to the CSV file when the TRACE instruction is executed one time depends on the
number of devices specified to trace and the display type for each device. For details, see "9. Trace data size" on page 25-18.
• The TRACE instruction cannot be used in an interrupt program. If used, a user program execution error will result, turning on special internal
relay M8004 and the ERR LED on the FC6A Series MICROSmart. For details about the user program execution errors, see "User Program
Execution Errors" on page 3-10.
• Trace data is not accumulated when the TRACE instruction is skipped by the JMP (jump) instruction. For the JMP (jump) instruction, see "JMP
(Jump) and JEND (Jump End)" on page 4-31.
• While the input to the TRACE instruction is on, the trace data is repeatedly output to the CSV file. When you want to output the trace data only one
time, add a SOTU (single output up instruction) or SOTD (single output down instruction) to the input conditions. For SOTU (single output up
instruction) or SOTD (single output down instruction), see "Basic Instructions" - "SOTU and SOTD (Single Output Up and Down)" on page 4-28.
• The data writing process to the SD memory card for the TRACE instruction takes several scans. Once a TRACE instruction is executed, the
process continues until the trace data transfer is complete, regardless of any change in the instruction input. While the trace data is being
written to the SD memory card, the instruction is not executed even when the input to the TRACE instructions are turned on. To execute the
TRACE instruction again, confirm that the previous data writing process has finished, and then execute the instruction.
Valid Devices
Note:
Specify the folder name by entering characters.
Special internal relays cannot be designated as D1. Special data registers cannot be designated as D2.
Settings
1. S1 (source 1): Folder Name
Specify the folder name on the SD memory card that will store the trace data using up to 8 single-byte alphanumeric characters.
Notes:
• The following single-byte characters cannot be used in folder names:
/
\
: * ? " < > | # { } % & ~
• Consecutive periods cannot be used in folder names.
• A period cannot be used at the start or the end of the folder name.
• Single-byte spaces at the start or the end of the folder name are omitted.
Device
Function
I
Q
M
R
T
C
D
P
Constant
Repeat
S1 (Source 1)
Folder name (Note)
—
—
—
—
—
—
—
—
—
—
D1 (Destination 1)
Completion output
—
X
—
—
—
—
—
—
—
D2 (Destination 2)
Execution status
—
—
—
—
—
—
—
—
—
2.
3.
1.
5.
6.
7.
8.
9.
10.
11.
4.
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...