Manual

122 Rockwell Automation Publication 1426-UM001F-EN-P - November 2013
Chapter 6 Logging
The Configuration.DataLogFile table contains the file selection string. Options
include the following:
The desired Data Log file name from which to return records
Alternately, ‘allfiles, to return records from all Data Log files
An appended chronology switch:
/r’ to begin with the most recent record
‘/f ‘to return the oldest record first (default if no chronology switch is
appended)
For example, writing the string ‘DataLog_20130112_0630_11/r’ selects the file
DataLog_20130112_0630_11. Successive reads of the
LoggingResults.Data_Log
table return sequential data log records, starting with
the last record.
The LoggingResults.Data_Log
table contains the most recent record read from
the selected data log file, and contains the following elements.
Element 0 indicates the type of record. Options are:
0 = No record returned
1 = Parameter values
2 = Parameter index values
3 = Log file not found
Element 1 returns a unique record ID or the total number of records,
depending on the value of Element 0.
Elements 2…5 return the date and time stamp of the record
Elements 6…34 return parameter values or parameter index values
depending on the value of Element 0.
Parameter index values are associated with parameter tag names as listed in
Tab l e 1 9
Data Log Parameter List.
Commands
Clear data log (Command_Word_2 value = 10)
Related Functions
Voltag e, current, frequenc y, p ower metering
Data log
Configuration lock