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 config
#2
RTU read test value are decimal. To read 7 registers starting from 0 use mb:readregisters(0, 7).
You can also create a profile for this device (save as .json file and upload into Profiles in Modbus tab):
Code:
{
  "manufacturer": "RS",
  "description": "GZWS-N01",
  "mapping": [
    {
      "name": "Temperature",
      "bus_datatype": "float16",
      "datatype": "int16",
      "type": "register",
      "address": 0,
      "value_multiplier": 0.1
    },
    {
      "name": "Humidity",
      "bus_datatype": "float16",
      "datatype": "uint16",
      "type": "register",
      "address": 1,
      "value_multiplier": 0.1
    },
    {
      "name": "Illumination",
      "bus_datatype": "uint16",
      "datatype": "uint16",
      "type": "register",
      "address": 6
    }
  ]
}
Reply


Messages In This Thread
modbus config - by 02dag - 06.01.2018, 21:49
RE: modbus config - by admin - 08.01.2018, 07:52
RE: modbus config - by 02dag - 09.03.2018, 20:30

Forum Jump: