Doc# E166703 E-5
E: Retrieving Logs
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Block Size: 192 registers per log (384 bytes)
The Historical Log programmable settings are comprised of 3 blocks, one for each log.
Each is identical to the others, so only Historical Log 1 is described here. All register
addresses in this section are given as the Historical Log 1 address (0x7917).
Each Historical Log Block is composed of 3 sections: The header, the list of registers to
log, and the list of item descriptors.
Header:
Registers: 0x7917 - 0x7918
Size: 2 registers
• # Registers: The number of registers to log in the record. The size of the record in
memory is [12 + (# Registers x 2)]. The size during normal log retrieval is [6 + (#
Registers x 2)]. If this value is 0, the log is disabled. Valid values are {0-117}.
• # Sectors: The number of Flash Sectors allocated to this log. Each sector is 262114
bytes, minus a sector header of 20 bytes. 3 sectors for V-Switch key 2, and 111
sectors for V-Switch key 3, are available for allocation between Historical Logs 1, 2,
and 3. The sum of all Historical Logs may be less than 3 sectors for V-Switch key 2,
and 111 sectors for V-Switch key 3. If this value is 0, the log is disabled. Valid val-
ues are {0-111}.
• Interval: The interval at which the Historical Log's Records are captured. This value
is an enumeration:
0x01 1 minute
0x02 3 minute
0x04 5 minute
0x08 10 minute
0x10 15 minute
Byte0123
Value # Registers # Sectors Interval