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 TCP
#1
Hi,

I am trying to figure how to get data from my heat pump via modbus tcp.
I have connection with my device:


But is there some kind of tutorial how to read/write data from my device in LM?



I got a parameter list from Nibe, with all the objects.
Reply
#2
See this thread: https://forum.logicmachine.net/showthread.php?tid=903
Reply
#3
(25.03.2021, 15:57)admin Wrote: See this thread: https://forum.logicmachine.net/showthread.php?tid=903

I have seen this, but is it different between MODBUS TCP and RTU?
Reply
#4
If registry are the same then you can use same profile. Delete this part "bus_address": "4/1/0",
------------------------------
Ctrl+F5
Reply
#5
(25.03.2021, 16:11)Daniel. Wrote: If registry are the same then you can use same profile. Delete this part "bus_address": "4/1/0",

Can you show me an script example how to read this value in LM?
Reply
#6
Try this and please link the whole documentation next time. I've set the address to 0 as it looks like you need to subtract 1 from the documented address. Try setting it back to 1 if reading does not work. You will have to delete the device and create it again after uploading updated profile.
Code:
{
  "manufacturer": "NIBE Heat Pump",
  "description": "VVM S320 / S325",
  "mapping": [
    {
      "name": "Outdoor temperature (BT1)",
      "bus_datatype": "float16",
      "datatype": "int16",
      "type": "inputregister",
      "address": 0,
      "value_multiplier": 0.1
    }
  ]
}
Reply


Forum Jump: