
Doc
#
E149721
B - 23
B: Modbus Map and 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
4. Compute #RecPerWin as (246\18)=13. Write 0x0D01 0000 0000 -> [0xC350, 3
reg] Write Retrieval Info. Set Current Index as 0.
Send
:
0110 C350 0003 06 0D01 00 000000
Command
:
Register Address:
0xC350
# Registers:
3, 6 bytes
Data
:
Records per Window:
13. Since the window is 246 bytes, and the record
is 18 bytes, 246\18 = 13.66, which means that
13 records evenly fit into a single window. This is
234 bytes, which means later on, we only need to
read 234 bytes (117 registers) of the window to
retrieve the records.
# of Repeats:
1. We are using auto-increment (so not 0), but
not function code 0x23.
Window Status:
0 (ignore)
Record Index:
0, start at the first record.
----------------------------------------------------
Receive
:
0110C3500003 (command ok)
NOTES
:
• This sets up the window for retrieval; now we can start retrieving the records.
• As noted above, we compute the records per window as 246\18 = 13.66, which is
rounded to 13 records per window. This allows the minimum number of requests to
be made to the meter, which increases retrieval speed.
Содержание Shark 200S
Страница 1: ...S h a r k 200S ...
Страница 2: ...This page intentionally left blank ...