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 whether you accept or reject these cookies being set.

Problem Modbus profile Kostal
#1
hello i want to read the voltage from a Kostal Inverter, i use this Modbus profile but i have a false values, i think the Modbus Addresse are false?


{
  "bus_datatype": 14,
  "address": 148,
    "type": "register",
  "units": "V",
  "name":"AC Spannung Phase L1-L2 value",
  "datatype": "float32"
 },
{
  "bus_datatype": 14,
  "address": 164,
    "type": "register",
  "units": "V",
  "name":"AC Spannung Phase L2-L3 value",
  "datatype": "float32"
 },
{
  "bus_datatype": 14,
  "address": 170,
   "type": "register",
  "units": "V",
  "name":"AC Spannung Phase L1-L3 value",
  "datatype": "float32"
 },


Attached Files
.pdf   BA_KOSTAL_Interface_MODBUS-TCP_SunSpec 2019_02_12.pdf (Size: 695.77 KB / Downloads: 5)
Reply
#2
First register address should be 158, not 148. Do you get anything in Error logs or Modbus error log (depending on FW version). Have you set device port to 1502 (default is 502) and slave id to 71?
Reply
#3
i get any error logs, and i set device port to 1502 (default is 502) and slave id to 71 but the values are false


Attached Files Image(s)
   
Reply
#4
You need to set correct read_swap in your profile. Try "b", "n" or "bw"
http://openrb.com/docs/modbus.htm
Reply
#5
Thank you Admin that work now with non Swap
Reply


Forum Jump: