Electro Industries Shark 200T Spezifikationen Seite 186

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 185
Doc# E149701 B - 26
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
Window Status: 0 (ignore)
Record Index: 0x0D = 13, start at the 14th record.
----------------------------------------------------
Receive: 0110C3510002 (command ok)
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
Seitenansicht 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare