Electro Industries Shark 200 Installation & Operation Manual page 211

Upgradeable fully featured power & energy meter
Hide thumbs Also See for Shark 200:
Table of Contents

Advertisement

Window Status:
Record Index:
----------------------------------------------------
Receive:
NOTES:
• This step manually sets the record index, and is primarily used when an out-of-
order record index is returned on a read (step 6).
• The example assumes that the second window retrieval failed somehow, and we
need to recover by requesting the records starting at index 13 again.
8. For each record in the retrieved window, copy and save the data for later interpre-
tation.
9. Increment Current Index by RecordsPerWindow.
NOTES:
• This is the step that determines how much more of the log we need to retrieve.
• On the first N passes, Records Per Window should be 13 (as computed in step 4),
and the current index should be a multiple of that (0, 13, 26, . . .). This amount will
decrease when we reach the end (see step 10).
• If the current index is greater than or equal to the number of records (in this case
100), then all records have been retrieved; go to step 12. Otherwise, go to step 10
to check if we are nearing the end of the records.
10. If number records - current index < RecordsPerWindow, decrease to match.
NOTES:
• Here we bounds-check the current index, so we don't exceed the records available.
• If the number of remaining records (#records - current index) is less than the
Records per Window, then the next window is the last, and contains less than a full
window of records. Make records per window equal to remaining records
Electro Industries/GaugeTech
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
The Leader In Power Monitoring and Smart Grid Solutions
B: Modbus Map and Retrieving Logs
0 (ignore)
0x0D = 13, start at the 14th record.
0110C3510002 (command ok)
#
Doc
E149701
B-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Shark 200t

Table of Contents