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.

correct math for energy metering
#9
   
AAA my brains Smile

Anyway I am wrong somewhere..

part of my .json file:

{
    "product_code": "Gavazzi EM-340",
    "mapping": [
        {
            "bus_datatype": 14,
            "address": 0,
            "type": "register",
            "units": "V",
            "value_multiplier": 0.1,
            "name": "Voltage L1-N",
            "datatype": "int32"
        },
        {
            "bus_datatype": 14,
            "address": 2,
            "type": "register",
            "units": "V",
            "value_multiplier": 0.1,
            "name": "Voltage L2-N",
            "datatype": "int32"
        },
        {
            "bus_datatype": 14,
            "address": 4,
            "type": "register",
            "units": "V",
            "value_multiplier": 0.1,
            "name": "Voltage L3-N",
            "datatype": "int32"
        },
        {
            "bus_datatype": 14,
            "address": 6,
            "type": "register",
            "units": "V",
            "value_multiplier": 0.1,
            "name": "Voltage L1-L2",
            "datatype": "int32"
        },
but at modbus mapper again formats not correct.. Maybe because from register 0 I need read 2 words by length??

   

Alex
Reply


Messages In This Thread
correct math for energy metering - by AlexLV - 24.06.2019, 20:42
RE: correct math for energy metering - by AlexLV - 25.06.2019, 20:00

Forum Jump: