Rockwell Automation 1426 PowerMonitor 5000 Unit User Manual

Page 106

Advertising
background image

106

Rockwell Automation Publication 1426-UM001F-EN-P - November 2013

Chapter 6

Logging

2.

Write the Configuration.Log_Read table with Selected Log = 11.

The Configuration.LogRead table contains the following elements:

Element 0. Write a value of 11 to request the next waveform 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

3.

Read the waveform file name from the
LoggingResults.WaveformFileName table one or more times until the
desired waveform file name is returned.

The LoggingResults.WaveformFileName table returns a string containing
the requested file name. The file name syntax is described above in
Waveform File Names on page [nn - ed. Please update and link].

The Configuration.WaveformFileName table contains the file selection
string "Waveform_ID_YYYYMMDD_HHMMSS_MicroS_hh/Cycle/
MagOrAng/Channel/iOrder". Options include the following:

The desired waveform file name from which to return records

Appended selection switches:

Cycle = present cycle offset to be returned; range = 0 … total cycles
in the waveform -1

MagOrAng; 0 = magnitude data, 1 = angle data

Channel = the selected channel to return; range = 0 (V1)…7 (I4)

Order = the range of harmonic components to return; 0 = DC…31,
1 = 32…63

Following the write to the Configuration.WaveformFileName table, each
read of the LoggingResults.Waveform_Log table returns a successive
portion of the waveform record. The appended selection switches in the
filename written to the Configuration.WaveformFileName table define the
first record retrieved in the sequence of data retrieval. If no selection
switches are included with the filename, the first record returned is the
waveform header.

The sequence of waveform data retrieval proceeds according to the
following logic.

For Cycle 0 to N

For MagOrAng = Magnitude to Angle

For Channel = 0 to 7

For iOrder = 0 to 3

Next iOrder

Next Channel

Next MagOrAng

Next Cycle

4.

Write the selected file name into the Configuration. WaveformFileName
table.

5.

Perform sequential reads of the LoggingResults.Waveform_Log table and
store the results in a suitable location.

Advertising