Doc# E166703 E-8
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
NOTE: The sum of all descriptor sizes must equal the number of bytes in the data
portion of the Historical Log record.
Log Status Block:
The Log Status Block describes the current status of the log in question. There is one
header block for each of the logs. Each log's header has the following base address:
Log Base Address
System: 0xC737
Historical 1: 0xC747
Historical 2: 0xC757
Historical 3: 0xC767
Alarm: 0xC777
I/O Change: 0xC787
• Max Records: The maximum number of records the log can hold given the record
size, and sector allocation. The data type is an unsigned integer from 0 - 2^32.
Bytes Value Type Range # Bytes
0-3 Max Records UINT32 0 to 4,294,967,294 4
4-7 Number of Records Used UINT32 1 to 4,294,967,294 4
8-9 Record Size in Bytes UINT16 4 to 250 2
10-11 Log Availability UINT16 2
12-17 Timestamp, First Record TSTAM
P
1Jan2000 - 31Dec2099 6
18-23 Timestamp, Last Record TSTAM
P
1Jan2000 - 31Dec2099 6
24-31 Reserved 8