25: D
ATA
L
OG
I
NSTRUCTIONS
25-14
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Configure the Settings tab.
(3) Enter "RESULT" in
S1 (Folder Name)
.
(4) Configure D0000 to output the decimal value of D0000 to the CSV files with the data type W (word).
(5) Set the repeat to 6 to output the values of D0000 through D0005 to the CSV files.
(6) Configure D0010 to output the decimal value of D0010 to the CSV files with the data type F (float).
The configuration is now completed.
• Operation Description
10 seconds after M0 is turned on, the DLOG instruction is executed one time. When the DLOG instruction is executed, the data
of D0 through D5 and D10 are output to the CSV file on the SD memory card as decimal values along with the current date and
time.
The saved location of CSV files is FCDATA01
\
DATALOG
\
RESULT. The oldest data is saved at the top of the log data, and the latest
data is saved at the bottom of the log data.
When the execution of the DLOG instruction is complete, the completion output M100 is turned on and the CMP instruction is
executed once. The CMP instruction compares the status code stored in the execution status D100 with 0 and turns Q0 on or off.
Q0 is turned on when an error occurs in the DLOG instruction.
While M0 is on, the log data is appended to the CSV file every 10 seconds.
Output results
Time
D0000
D0001
D0002
D0003
D0004
D0005
D0010
2012/02/06 10:20:30
12345
0
0
56789
0
0
-3.38
2012/02/06 10:20:40
12345
0
0
56789
0
0
-3.38
2012/02/06 10:20:50
12345
0
0
56789
0
0
-3.38
(3)
(4)
(6)
(5)
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 ...