EasyManua.ls Logo

Rockwell Automation Allen-Bradley PowerMonitor 5000 Unit - Page 136

Rockwell Automation Allen-Bradley PowerMonitor 5000 Unit
514 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
136 Rockwell Automation Publication 1426-UM001J-EN-P - August 2019
Chapter 6 Logging
Energy Log Single Record Retrieval
A controller or application can sequentially retrieve records from the Energy Log
files by following the process that is described in this section, following these
general tasks. The tables that are referenced are in Appendix A
.
1. Read the number of log files from the Statistics.Logging
table.
2. Wri te the Configuration.Log_Read
table and read the filename from the
LoggingResults.EnergyLog_FileName
table until the desired log file is
selected.
3. Write the selected file name into the Configuration.EnergyLogFile
table.
4. Perform sequential reads of the LoggingResults.Energy_Log
table and
store the results in a suitable location.
The Statistics.Logging
table contains the following Energy Log information:
Element 5 and 6, the number of Energy Log records
Element 10, the number of Energy Log files
The Configuration.Log_Read
table contains the following elements:
Element 0. Write a value of 8 to request the next Energy Log file name
Element 1: Write a 0 to return the most recent file name first or a 1 to
return the oldest file name first
The LoggingResults.EnergyLog_FileName
table returns a string containing the
requested file name. The file name contains the starting date and time of the log
file, as described in File Names
on page 134.
The Configuration.EnergyLogFile
table contains the file selection string.
Options include the following:
The desired Energy Log file name from which to return records
Alternately, ‘allfiles, to return records from all Energy 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)

Table of Contents

Related product manuals