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 profile of LM internally supports ONLY uint16 registers without type switchin
#1
Hello, 

I've tried a lot to get a specific Value from my modbus device into LM.
First I've created an Modbus Profile. For some of the values it works correct but some others deliver no values.
If I do a connection test with the Modbus Test Modul the correct value is delivered.
So I found out (with Chat GPT) that it seems the test modul and the profiles works different. Can you confirm?

Test Modul:
- reads raw data
- actively interprets (int16 / uint16 / int32 / uint32)

The Modbus profile ALWAYS interprets as uint16, no type selection and no sign switching and that seems the issue.

Please find the .json profile below. It's just the faulty address.

Code:
{
  "product_code": "KWL_HBX_250_500",
  "manufacturer": "HELIOS",
  "name": "KWL_HBX",
  "description": "LogicMachine Modbus profile for HBX",
  "mapping": [
{
      "address": 80,
      "bus_datatype": 4,
      "type": "register",
      "name": "operating hours"     
    },
]
}
Reply


Messages In This Thread
Modbus profile of LM internally supports ONLY uint16 registers without type switchin - by Streety - 19.12.2025, 16:49

Forum Jump: