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 generator
#21
Yes, just create new sheet, name it and use in the custom_value field. You can add as many you want.
------------------------------
Ctrl+F5
Reply
#22
Nice work thank !
Just a precision for others, I used office 13 and doesn't work.
I upgrade to 2016 and perfect working !
Reply
#23
I created a profile with modbus profile generator,but I'm not sure that i did it correctly would you guys check it for me please ?
Code:
{
  "manufacturer": "YORK",
  "description": "HA-MA164AD",
  "mapping": [
    {
      "name": "Indoor Unit Setpoint Temperature C\u00B0",
      "address": 1,
      "bus_datatype": "uint32",
      "datatype": "uint32",
      "type": "register",
      "units": "A",
      "writable": "true"
    },
    {
      "name": "Indoor Unit Mode Selection",
      "address": 2,
      "bus_datatype": "uint32",
      "datatype": "uint32",
      "type": "register",
      "units": "A",
      "writable": "true"
    },
    {
      "name": "Indoor Unit Fan Speed",
      "address": 3,
      "bus_datatype": "uint32",
      "datatype": "uint32",
      "type": "register",
      "units": "A",
      "writable": "true"
    },
    {
      "name": "Indoor Unit Control Mode",
      "address": 4,
      "bus_datatype": "uint32",
      "datatype": "uint32",
      "type": "register",
      "units": "A",
      "writable": "true"
    },
    {
      "name": "Indoor Unit On/OFF",
      "address": 1,
      "bus_datatype": "bool",
      "datatype": "uint32",
      "type": "coil",
      "units": "A",
      "writable": "true"
    }
  ]
}

Attached Files
.pdf   libble-eu.pdf (Size: 76.56 KB / Downloads: 5)
Reply
#24
The datatype and bus_datatype for your registers are uint16. For Coil you can delete datatype.
Use Read test tool to check it if all is correct. It is possible that you will have to shift registers by 1 as we starting to count from 0.
------------------------------
Ctrl+F5
Reply
#25
Also writable value should be true without quotes otherwise newer firmware won't accept the profile. Addressing starts with 0 and for mode/speed registers you can use 1 byte (uint8) data type.
Code:
{
  "manufacturer": "YORK",
  "description": "HA-MA164AD",
  "mapping": [
    {
      "name": "Indoor Unit Setpoint Temperature",
      "address": 0,
      "bus_datatype": "uint16",
      "datatype": "uint16",
      "type": "register",
      "writable": true
    },
    {
      "name": "Indoor Unit Mode Selection",
      "address": 1,
      "bus_datatype": "uint8",
      "datatype": "uint16",
      "type": "register",
      "writable": true
    },
    {
      "name": "Indoor Unit Fan Speed",
      "address": 2,
      "bus_datatype": "uint8",
      "datatype": "uint16",
      "type": "register",
      "writable": true
    },
    {
      "name": "Indoor Unit Control Mode",
      "address": 3,
      "bus_datatype": "uint8",
      "datatype": "uint16",
      "type": "register",
      "writable": true
    },
    {
      "name": "Indoor Unit On/Off",
      "address": 0,
      "bus_datatype": "bool",
      "type": "coil",
      "writable": true
    }
  ]
}
Reply
#26
Hello again;

When try to upload new profile i got this error message.

Attached Files Thumbnail(s)
   
Reply
#27
Attach your profile file. Seems like a copy/paste error.
Reply
#28
Here it is.

Attached Files
.json   HA-MA164AD.json (Size: 1.17 KB / Downloads: 1)
Reply
#29
Try the attached profile. Copied profile had different space characters which are not allowed. Also there were some errors in the profile definition.

Attached Files
.json   HA-MA164AD.json (Size: 1008 bytes / Downloads: 0)
Reply


Forum Jump: