
Doc
#
E166703
E-21
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
1. Read [0xC747, 16 registers], Historical Log 1 Header Block.
Send:
0103 C747 0010
Command
:
Register Address:
0xC747
# Registers:
16
---------------------------------------------------
Receive
:
010320 00000100 00000064 0012 0000
0C0717101511 0C0718101511***
0000000000000000
Data
:
Max Records:
0x100 = 256 records maximum.
Num Records:
0x64 = 100 records currently logged.
Record Size:
0x12 = 18 bytes per record.
Log Availability:
0x00 = 0, not in use, available for retrieval.
First Timestamp:
0x0C0717101511 = July 23, 2012, 16:21:17
Last Timestamp:
0x0C0717101511 = July 24, 2012, 16:21:17
NOTE
: This indicates that Historical Log 1 is available for retrieval.
2. Write 0x0180 -> [0xC34F, 1 register], Log Enable.
Send
:
0106 C34F 0180
Command
:
Register Address:
0xC34F
# Registers:
1 (Write Single Register Command)
Data
:
Log Number:
1 (Historical Log 1)