Jump to content

Monitoring via Modbus: Difference between revisions

No edit summary
Line 158: Line 158:
==Interpreting the response==
==Interpreting the response==


The values are returned in decimal and, if you add '''-D''' to the command, hexadecimal forms. Sometimes the answer is self-explanatory as in the example above.
The values are returned in decimal and, if you add '''-D''' to the command, hexadecimal forms. Sometimes the answer is self-explanatory as in the example above. But, since a register only hold 2 bytes (16 bits) of information, the value stored in a register can't be higher than '''65535'''. So what happens if the router's uptime is higher than that? Lets examine another example where the router's uptime is higher than 65535:
 
[[File:Configuration examples modbus higher uptime example.png]]