IDEC MICROSmart FC6A Series Ladder Programming Manual page 494

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

Advertisement

25: D
L
I
ATA
OG
NSTRUCTIONS
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).
(3)
(4)
(6)
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
2012/02/06 10:20:30
2012/02/06 10:20:40
2012/02/06 10:20:50
25-14
(5)
D0000
D0001
12345
0
12345
0
12345
0
FC6A S
MICROS
ERIES
MART
D0002
D0003
0
56789
0
56789
0
56789
L
P
M
ADDER
ROGRAMMING
ANUAL
D0004
D0005
0
0
0
0
0
0
FC9Y-B1726
D0010
-3.402823E+38
-3.402823E+38
-3.402823E+38

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents