Regarding how to verify register addresses
-
Hello sir,
we are using the Qt(GCC 5.3.1 20160406(RedHat 5.3.1-6), 64 bit) application for our commercial project. We are using the Modbus Master program directly from the examples section for our project.
We are using the above example to display the Temperature and Humidity values from the module (HT202000E1, Lumel make) whose values are stored directly in the register set of the module. while accessing to those values, instead of the stored values in the registers we are getting some another values which are displaying by default each and every time we power on the module and if we do read operation the values displaying through the input registers are incrementing automatically by a value of 2. I tried all the combinations to get the result like changing the registertype from 0 to 4, but I'm not getting the result.
will you please suggest me some ways to debug the code like how to track the register addresses or the values exists in the registers and so on such that I can go through the procedures to get the result.Thanks & Regards
Anusha Reddy.