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 scaling to float
#1
Hello,

I'm trying to scale a 0.1 m3/h register to m3
Code:
{
"manufacturer": "DabPumps",
"description": "Evoplus Small_test",
    "mapping":
    
    
        [        
        
        {    "name": "Flusso Stimato",
            "address": 220,
            "type": "register",
            "bus_datatype": "float16",
            "value_multiplier": 0.1,
            "writable": false,
            "units": " m³/h"
        }
        
        
    ]
}

It keeps giving me 0.00, if I remove value_multiplier it reads pretty much 7...how could it be?

I know that probably it's a simple thing but I can't see where I'm wrong

Thank you!
Reply


Messages In This Thread
Modbus scaling to float - by Kilogica - 15.12.2021, 16:18
RE: Modbus scaling to float - by Daniel - 15.12.2021, 16:22
RE: Modbus scaling to float - by Kilogica - 15.12.2021, 16:26

Forum Jump: