This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus RTU behavior
#1
Hi,
When I run read test from device I get correct result. 

   

When I try with this profile:

{
  "manufacturer": "Kamstrup",
  "description": "Fjernvarme modbus",
  "mapping": [
    { "name": "Heat_Energy", "bus_datatype": "float32", "type": "inputregister", "address": 20, "writable": 0}
  ]
}

I get this error in log:

   

I select rtu2 with default timeout and poll interval. What am I missing?

-John
Reply
#2
You are missing "datatype": "float32". Without that it will only read single register producing an error.
Reply


Forum Jump: