Changes

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. 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:  
+
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 (2<sup>16</sup>)'''. 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]]
 
[[File:Configuration examples modbus higher uptime example.png]]
 +
 +
When the value climbs over 65535