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 profie Satec PM130 Plus
#5
(27.01.2016, 07:12)admin Wrote: Try this, since the resulting value has to be multiplied by 0.001, bus_datatype field has to be set to float32, but datatype field (which tells what kind of data is read from ModBus) should be set to int32.

Code:
{
   "manufacturer": "satec",
   "description": "PM",
   "mapping": [
      {
         "name": "PF_L1",
         "bus_datatype": "float32",
         "datatype": "int32",
         "type": "register",
         "value_multiplier": 0.001,
         "address": 13342
      }
   ]
}

Thanks for fast reply. I think now the received value is not real ( screenshot in attachment). Value for power factor must be from -1000 to 1000 when is not multiplied.

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Modbus profie Satec PM130 Plus - by Desislav - 26.01.2016, 11:24
RE: Modbus profie Satec PM130 Plus - by admin - 26.01.2016, 13:55
RE: Modbus profie Satec PM130 Plus - by admin - 27.01.2016, 07:12
RE: Modbus profie Satec PM130 Plus - by Desislav - 27.01.2016, 09:03
RE: Modbus profie Satec PM130 Plus - by admin - 27.01.2016, 16:49
RE: Modbus profie Satec PM130 Plus - by admin - 01.02.2016, 14:23
RE: Modbus profie Satec PM130 Plus - by admin - 03.02.2016, 06:33

Forum Jump: