Waveform header – Rockwell Automation 1426 PowerMonitor 5000 Unit User Manual

Page 108

Advertising
background image

108

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

Chapter 6

Logging

Waveform Header

If the value of Record_Indicator is 2, the LoggingResults.Waveform_Log table
returns the following information. The data type returned is REAL, although
some elements (MAC ID) are better interpreted as UINT32.

If the waveform retrieval is interrupted for more than 60 seconds, the sequence
needs to be reinitialized by writing the Configuration.WaveformFileName table.
Appending the filename with selection switches configured for the next record in
sequence begins the retrieval where it left off before the interruption.

Refer to

Waveform Recording (M6 model) on page 93

for more information

about waveform setup, operation, commands, related functions, and retrieval via
ftp and the native Ethernet port.

Element Number

Tag Name

Description

0

Record_Indicator

Indicates the significance of the data in the record 2 = the record contains general information of the log file
being retrieved, reference to each item description in the data table;

1

File_ID

The selected file ID

2

Waveform_Identifier_High

File ID (Int16)+ Waveform Identifier(Int48)
typedef struct
{

unsigned short sFileID; //this id is used for user selection, 1…256
unsigned short sWaveformID; //the Waveform id highest 2 bytes
unsigned long lWaveformID; //the Waveform id Lowest 4 bytes

}WAVEFORM_ID;

3

Waveform_Identifier_Low

4

Revision

Waveform file format revision

5

Compression

Indicate compression or not and the compression type, high 8 bits is compression flag , low 8 bits is
compression type

6

Metering_Mode

Metering mode, indicates voltages are L-N or L-L

7

Mac_Address_High

Mac address of power monitor - high 3 bytes

8

Mac_Address_High

Low 3 bytes

9…42

Reserved

Reserved for future use

Advertising