Doc
#
E149701
B-20
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
This step tells the Shark® 200 meter what data to return in the window.
2. Retrieve the records:
a. Read the record index and window: read the record index, and the data window
[0xC351, 125 reg].
• If the meter Returns a Slave Busy Exception, repeat the request.
• If the Window Status is 0xFF, repeat the request.
• If the Window Status is 0, go to step 2b (Verify record index).
NOTES:
• We read the index and window in 1 request to minimize communication
time, and to ensure that the record index matches the data in the data
window returned.
• Space in the window after the last specified record (RecordSize x Record-
PerWindow) is padded with 0xFF, and can be safely discarded.
b. Verify that the record index incremented by Records Per Window. The record
index of the retrieved window is the index of the first record in the window. This
value will increase by Records Per Window each time the window is read, so it
should be 0, N, N x 2, N x 3 . . . for each window retrieved.
• If the record index matches the expected record index, go to step 2c
(Compute next expected record index).
• If the record index does not match the expected record index, then go to
step 1d (Write the retrieval information), where the record index will be
the same as the expected record index. This will tell the Shark® 200
meter to repeat the records you were expecting.
c. Compute next Expected Record Index.
• If there are no remaining records after the current record window, go to
step 3 (Disengage the log).
Summary of Contents for Shark 200
Page 1: ...V 1 24 March 15 2018 ...