modbus Hex address Conversion
<p>I am trying to read data from GE-PQM II energy meter. Energy meter supports real time monitoring via 2 wire RS-485 MODBUS connection. I use libmodbus library in c to read modbus registers.</p>

<p>In GE communication guide (<a href="https://www.ccontrols.com/support/dp/GEK-113532.pdf" rel="nofollow">https://www.ccontrols.com/support/dp/GEK-113532.pdf</a>) the address of the register are given in hexadecimal. I converted hex to decimal.</p>

<p>I am trying to read values from modbus register (02F0,02F1) - corresponding decimal values are 752,753</p>

<p><a href="http://i.stack.imgur.com/KtwC4.png" rel="nofollow">GE-PQM sample</a></p>

<p>My code:</p>

<pre><code>rc = modbus_read_registers(ctx, 752, 753, clock);
</code></pre>

<p>output :</p>

<pre><code>ERROR Too many registers requested (753 &gt; 125)
Too many data
</code></pre>

<p>Anything wrong in hex conversion ?  or some where else?</p>