
Doc# E149701 B - 27
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
(#records-current index). In this example, this occurs when current index is 91
(the 8'th window). There are now 9 records available (100-91), so make Records
per Window equal 9.
11. Repeat steps 5 through 10.
NOTES:
• Go back to step 5, where a couple of values have changed.
Pass CurIndex FirstRecIndex RecPerWindow
0 0 0 13
1 13 13 13
2 26 26 13
3 39 39 13
4 52 52 13
5 65 65 13
6 78 78 13
7 91 91 9
8 100 ------ -------
• At pass 8, since Current Index is equal to the number of records (100), log retrieval
should stop; go to step 12 (see step 9 Notes).
12. No more records available, clean up.
13. Write 0x0000 -> [0xC34F, 1 reg], disengage the log.
Send: 0106 C34F 0000
Command:
Register Address: 0xC34F
# Registers: 1 (Write Single Register Command)
Kommentare zu diesen Handbüchern