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 485 error ! :(
#15
(19.07.2022, 10:17)Daniel Wrote: Timeout is simply time which Master will wait for the slave to replay. Pool interval should be much longer than the timeout as it is per register where pool interval is for whole device.  How many registers do you read?

what do you mean with registers?
the profile for reading a modbus device? it are 67, 66 of them where already inside the Wiser (all of them from Schneider) and i add 1.
is it posible i did make a mistake with creating the profile?

Code:
{
  "product_code": "ABB_B21",
  "mapping": [
    {
      "bus_datatype": 14,
      "address": 20480,
      "value_multiplier": 0.01,
      "type": "register",
      "units": " kWh",
      "name": "Active import",
      "datatype": "int64"
    },
    {
      "bus_datatype": 14,
      "address": 20484,
      "value_multiplier": 0.01,
      "type": "register",
      "units": " kWh",
      "name": "Active export",
      "datatype": "int64"
    },
    {
      "bus_datatype": 14,
      "address": 20488,
      "value_multiplier": 0.01,
      "type": "register",
      "units": "kWh",
      "name": "Active Net",
      "datatype": "int64"
    },
      {
      "bus_datatype": 14,
      "address": 20489,
      "value_multiplier": 0.01,
      "type": "register",
      "units": "Kvarh",
      "name": "Reactive Import",
      "datatype": "int64"
    },
     {
      "bus_datatype": 14,
      "address": 20496,
      "value_multiplier": 0.01,
      "type": "register",
      "units": "Kvarh",
      "name": "Reactive Export",
      "datatype": "int64"
    },
     {
      "bus_datatype": 14,
      "address": 20500,
      "value_multiplier": 0.01,
      "type": "register",
      "units": "Kvarh",
      "name": "Reactive Net",
      "datatype": "int64"
    },
         {
      "bus_datatype": 14,
      "address": 20504,
      "value_multiplier": 0.01,
      "type": "register",
      "units": "Kvarh",
      "name": "Apparent Import",
      "datatype": "int64"
    },       
     {
      "bus_datatype": 14,
      "address": 20505,
      "value_multiplier": 0.01,
      "type": "register",
      "units": "Kvarh",
      "name": "Apparent Export",
      "datatype": "int64"
    },
         {
      "bus_datatype": 14,
      "address": 20512,
      "value_multiplier": 0.01,
      "type": "register",
      "units": "Kvarh",
      "name": "Apparent Net",
      "datatype": "int64"
    },      
     {
      "bus_datatype": 14,
      "address": 20516,
      "value_multiplier": 0.001,
      "type": "register",
      "units": "kg",
      "name": "Active Import CO2",
      "datatype": "int64"
    },
         {
      "bus_datatype": 14,
      "address": 20532,
      "value_multiplier": 0.001,
      "type": "register",
      "units": "currency",
      "name": "Active Import Currency",
      "datatype": "int64"
     },
              {
      "bus_datatype": 14,
      "address": 23296,
      "value_multiplier": 0.1,
      "type": "register",
      "units": "currency",
      "name": "Volatage",
      "datatype": "int64"
     },
                   {
      "bus_datatype": 14,
      "address": 23316,
      "value_multiplier": 0.01,
      "type": "register",
      "units": " W",
      "name": "Active power",
      "datatype": "int64"
     },
                        {
      "bus_datatype": 14,
      "address": 23296,
      "value_multiplier": 0.1,
      "type": "register",
      "units": " V",
      "name": "Voltage L1-N",
      "datatype": "int32"
     },
    {
      "bus_datatype": 14,
      "address": 23308,
      "value_multiplier": 0.01,
      "type": "register",
      "units": " A",
      "name": "Current Ampère L1",
      "datatype": "int32"
     },
     {
      "bus_datatype": 14,
      "address": 23316,
      "value_multiplier": 0.01,
      "type": "register",
      "units": " W",
      "name": "Active Total Power",
      "datatype": "int32"
     },
     {
      "bus_datatype": 14,
      "address": 23340,
      "value_multiplier": 0.01,
      "type": "register",
      "units": " Hz",
      "name": "Frequency",
      "datatype": "uint16"
     },
     {
      "bus_datatype": 10,
      "address": 35328,
      "value_multiplier": 0,
      "type": "register",
      "units": " time",
      "name": "date / time",
      "datatype": "int64"
     }
    ],
  "manufacturer": "ABB",
  "name": "B21",
  "product_range": "PM",
  "description": "Power Meter P21 1 fase"
}

from both devices i only use Active import, Active Export, Active total power in mapping, but i dont know if he still does do anything with all others.

(19.07.2022, 10:17)admin Wrote: You get less errors because the device is polled less due to large timeout value. In the device does not answer the communication is fully blocked for 15 seconds. Timeout for RTU should not be longer than 1 second for most devices.

Thanks Admin, now i understand it better.
i changed it back 60 for poll interval
and 1 second for timeout
Reply


Messages In This Thread
modbus 485 error ! :( - by phongvucba - 16.04.2022, 06:39
RE: modbus 485 error ! :( - by admin - 19.04.2022, 07:43
RE: modbus 485 error ! :( - by phongvucba - 19.04.2022, 09:28
RE: modbus 485 error ! :( - by admin - 19.04.2022, 11:22
RE: modbus 485 error ! :( - by CristianAgata - 19.07.2022, 19:57
RE: modbus 485 error ! :( - by phongvucba - 20.04.2022, 03:17
RE: modbus 485 error ! :( - by Dré - 19.07.2022, 09:31
RE: modbus 485 error ! :( - by Daniel - 19.07.2022, 09:33
RE: modbus 485 error ! :( - by Dré - 19.07.2022, 09:39
RE: modbus 485 error ! :( - by Daniel - 19.07.2022, 09:40
RE: modbus 485 error ! :( - by Dré - 19.07.2022, 09:42
RE: modbus 485 error ! :( - by Daniel - 19.07.2022, 09:44
RE: modbus 485 error ! :( - by Dré - 19.07.2022, 10:09
RE: modbus 485 error ! :( - by Daniel - 19.07.2022, 10:17
RE: modbus 485 error ! :( - by Dré - 19.07.2022, 10:26
RE: modbus 485 error ! :( - by admin - 19.07.2022, 10:17
RE: modbus 485 error ! :( - by Daniel - 19.07.2022, 10:29
RE: modbus 485 error ! :( - by Dré - 19.07.2022, 10:33
RE: modbus 485 error ! :( - by Dré - 19.07.2022, 18:09
RE: modbus 485 error ! :( - by admin - 20.07.2022, 08:28
RE: modbus 485 error ! :( - by CristianAgata - 20.07.2022, 11:22
RE: modbus 485 error ! :( - by Dré - 20.07.2022, 09:52
RE: modbus 485 error ! :( - by admin - 20.07.2022, 10:13
RE: modbus 485 error ! :( - by Dré - 20.07.2022, 13:13
RE: modbus 485 error ! :( - by Kilogica - 20.07.2022, 10:59
RE: modbus 485 error ! :( - by admin - 20.07.2022, 11:25
RE: modbus 485 error ! :( - by CristianAgata - 20.07.2022, 11:39
RE: modbus 485 error ! :( - by CristianAgata - 21.07.2022, 10:42
RE: modbus 485 error ! :( - by admin - 20.07.2022, 13:29
RE: modbus 485 error ! :( - by Dré - 20.07.2022, 15:04

Forum Jump: