Here is a visual layout of the PQ Event Record definition above (with the timestamp
stripped): (NOTE: 1b = 1 byte, 2b = 2 bytes, 6b = 6 bytes)
Present States (2b)
Capture # (1b)
Worst Excursion RMS - Va Surge
Worst Excursion RMS - Vc Surge
Worst Excursion RMS - Ib Surge
Worst Excursion RMS - Va Sag
Worst Excursion RMS - Vc Sag
Sample Calibration Ia (2b)
Sample Calibration Ib (2b)
Sample Calibration Ic (2b)
unused
unused
unused
NOTE: Byte order is in MSB.
Parsing a PQ Event Record
Use the table above to parse the PQ Event Record values you need. The following is
an example binary snippet of a PQ Event Record (with a table map of the contents):
Superscript #
1
2
3
4
5
6
Electro Industries/GaugeTech
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
The Leader In Power Monitoring and Smart Grid Solutions
PQ Event Record Definition 2
Size: 52 bytes
Timestamp (6b)
Flags (1b)
unused
unused
unused
PQ Event Record Binary Content Mapping
Content
timestamp
present states
event channels
capture number
flags
event cycle tag
B: Modbus Map and Retrieving Logs
Event Channels (2b)
Event Cycle Tag (2b)
Worst Excursion RMS - Vb Surge
Worst Excursion RMS - Ia Surge
Worst Excursion RMS - Ic Surge
Worst Excursion RMS - Vb Sag
Sample Calibration Va (2b)
Sample Calibration Vb (2b)
Sample Calibration Vc (2b)
unused
unused
unused
unused
unused
unused
unused
unused
Superscript #
13
Va sag
14
Vb sag
15
Vc sag
16
Va calibration
17
Ia calibration
18
Vb calibration
#
Doc
E149701
Content
B-59