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.

Combine Modbus High Byte and Low Byte
#5
You must set datatype field as well:
Code:
{ "name": "V1", "bus_datatype": "float32", "datatype": "float32", "type": "register", "address": 0  },
{ "name": "V2", "bus_datatype": "float32", "datatype": "float32", "type": "register", "address": 2  },
{ "name": "V3", "bus_datatype": "float32", "datatype": "float32", "type": "register", "address": 4  }
Keep in mind that float32 value uses 2 registers so the next value address is previous + 2.
Reply


Messages In This Thread
RE: Combine Modbus High Byte and Low Byte - by admin - 08.10.2020, 08:05

Forum Jump: