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.

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: 16)
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 Thumbnail(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
#6
Hello there,

I also have problems communicating with the KOSTAL PLENTICORE investor.

I have loaded the profile that I attach in this post, but I do not receive data from the inverter, I do not know if the problem is the modbus addresses or what the problem may be.

Has anyone managed to correctly read the data of this inverter?

Thank you.

Attached Files
.json   modbus_plenticore.json (Size: 15.11 KB / Downloads: 13)
Reply
#7
Does it work when using Read test? Check if port/slave id is correct.
Reply
#8
But, the reading test is for RTU, not for TCP, right?
Reply
#9
2021 RC2 FW has Read test for both TCP and RTU
Reply
#10
(25.02.2019, 12:30)sorrow Wrote: Thank you Admin that work now with non Swap

Hi Sorrow,

how have you managed to import your profile? If I trying it I getting the attached error message.
Could this be the problem?

Best Regards 
Steffen

Attached Files Thumbnail(s)
   
Reply
#11
Hi @all

here is my short profile of the important values for my usage. I tested it and it works fine. It can be easily adopted.

Best Regards
Steffen

Attached Files
.json   Kostal_Plenticore.json (Size: 1.72 KB / Downloads: 10)
Reply
#12
(03.10.2021, 20:28)pioneersteffen Wrote: Hi @all

here is my short profile of the important values for my usage. I tested it and it works fine. It can be easily adopted.

Best Regards
Steffen

Thanks Steffen
Reply
#13
(01.10.2021, 06:19)Hyxion14 Wrote: But, the reading test is for RTU, not for TCP, right?

Hi, I have updated the FW to 2021 RC2 and now I can do test for TCP from the Kostal inverter.

For example if I query register: 514 , it gives me the current battery charge value correctly.

But when I make the map, it does not give me any value.

The register I am trying to map is:

{
      "name": "Battery current SOC",
      "bus_datatatype": "uint16",
      "address": 514,
      "writable": 0,
      "unit":"%"
    }
In KNX I have created a Virtual group address at address 32/3/3 type 2 bytes unsigned integer.

Why the test works and reads the value correctly but when I do the mapping I don't get the value?

Thank you.
Reply
#14
(31.10.2021, 15:28)Hyxion14 Wrote:
(01.10.2021, 06:19)Hyxion14 Wrote: But, the reading test is for RTU, not for TCP, right?

Hi, I have updated the FW to 2021 RC2 and now I can do test for TCP from the Kostal inverter.

For example if I query register: 514 , it gives me the current battery charge value correctly.

But when I make the map, it does not give me any value.

The register I am trying to map is:

{
      "name": "Battery current SOC",
      "bus_datatatype": "uint16",
      "address": 514,
      "writable": 0,
      "unit":"%"
    }
In KNX I have created a Virtual group address at address 32/3/3 type 2 bytes unsigned integer.

Why the test works and reads the value correctly but when I do the mapping I don't get the value?

Thank you.

Problem Solved.

Attached is the json profile of the Kostal Plenticore Inverter.

I hope it will be helpful.

Attached Files
.json   Kostal_PLENTICORE_V3.json (Size: 15.75 KB / Downloads: 24)
Reply


Forum Jump: