Waveform file format – Rockwell Automation 1426 PowerMonitor 5000 Unit User Manual
Page 382

382
Rockwell Automation Publication 1426-UM001F-EN-P - November 2013
Appendix D
PowerMonitor 5000 Waveform Capture and Compression (M6 model)
Waveform File Format
The tables below illustrate the waveform file format.
The Cycle 1 through n data format is shown in this table.
Waveform Data Name
Data Type
Description
File ID
char[8]
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;
Revision
unsigned short
Waveform format revision
Compressed
char
Compressed or not
Compression Type
char
Compression type
Metering Mode
char
Metering mode is used to check the channels in each cycle in the future, currently, the
channels is fixed in 8 channels
Mac Address
char[6]
Mac Address of the device where the waveform is retrieved
Reserved
char[45]
Reserved for future use
Cycle #1 Data
char[3484]
The first cycle data
Cycle #2 Data
char[3484]
The second cycle data
Cycle #3 Data
char[3484]
The third cycle data
…
…
…
Cycle #N Data
char[3484]
The Nth cycle data
Waveform Data Name
Data Type
Description
Timestamp Seconds
unsigned long
Seconds of the first sample data timestamp
Timestamp Nanoseconds
unsigned long
Nanoseconds of the first sample data timestamp
Frequency
float
The average frequency of the current cycle
V1 Magnitude Data
char[233]
The compressed V1 magnitude harmonics data
V2 Magnitude Data
char[233]
The compressed V2 magnitude harmonics data
V3 Magnitude Data
char[233]
The compressed V3 magnitude harmonics data
VN Magnitude Data
char[233]
The compressed VN magnitude harmonics data
I1 Magnitude Data
char[233]
The compressed I1 magnitude harmonics data
I2 Magnitude Data
char[233]
The compressed I2 magnitude harmonics data
I3 Magnitude Data
char[233]
The compressed I3 magnitude harmonics data
I4 Magnitude Data
char[233]
The compressed I4 magnitude harmonics data
V1 Phase Data
char[201]
The compressed V1 phase harmonics data
V2 Phase Data
char[201]
The compressed V2 phase harmonics data
V3 Phase Data
char[201]
The compressed V3 phase harmonics data
VN Phase Data
char[201]
The compressed VN phase harmonics data
I1 Phase Data
char[201]
The compressed I1 phase harmonics data
I2 Phase Data
char[201]
The compressed I2 phase harmonics data
I3 Phase Data
char[201]
The compressed I3 phase harmonics data
I4 Phase Data
char[201]
The compressed I4 phase harmonics data