Instruction Manual

Rockwell Automation Publication 1408-UM001D-EN-P - September 2013 65
Explicit Messaging Chapter 5
Log Data Table Methodology
The log data tables only hold one record instance for a specific log. Successive
reads of the data table return a successive record instance for that log. By writing
to specific configuration elements in the Log Request Table data table, you can
configure the log to return in a forward or reverse direction. You can also
configure the log to return a specific record for all logs except the Unit Status
Log, and Energy Log.
Refer to
Log Request Table on page 85 for more information.
Example 1: Read the 5
th
Log Record in the Load Factor Log
This example explains how to configure the Log Request Table to read the 5
th
log
record in the Load Factor Log.
1. Create a write message to write the following values to the Log Request
Tabl e .
2. Create a read message to read the values in the Load Factor Log table.
Element Item Name Value
0 Selected Log 4
1 Chronology of Auto Return Data 0
2 Mix/Max Record to be Returned 0
3 Number of Unit Status Records 0
4 Number of Energy Log Records 0
5 Number of Time of Use Log Records 0
6 Number of Load Factor Log Records 0
7 Load Factor or TOU Record to be Returned 5