Hello,
I am trying to use the PAC Control integration kit.
Using PAC version R10.4c.
I have a device that has data held in two registers as floats. Here is a screenshot from the manual:
I want to retrieve the probe_value that is held in registers 3 and 4.
My issue is that I am not sure how to get 1 value out of 2 registers.
I am a somewhat familiar with the Modbus integration kit, I think I am just not setting it up correctly.
I have tried both these configurations and neither has given 1 number as a value:
I have also tried moving the starting register + and -1, and also tried increasing the NumReturnValues
I can read the modbus_address using 1 as the starting address as an uint, but can’t get any floats working.
Could somebody please point me in the right direction or let me know what is wrong?
Thank you!
That looks correct for what you are reading. Since the address in the documentation (Sensorex?) starts with 0, you would add 1 to this, since the integration kit uses register numbers.
How do you have the PH17_Parameters table setup? What value ends up in PH17_ph after the call?