Logic Machine Forum
Problem Modbus profile Kostal - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Problem Modbus profile Kostal (/showthread.php?tid=1911)



Problem Modbus profile Kostal - sorrow - 14.02.2019

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"
 },


RE: Problem Modbus profile Kostal - admin - 14.02.2019

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?


RE: Problem Modbus profile Kostal - sorrow - 14.02.2019

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


RE: Problem Modbus profile Kostal - admin - 14.02.2019

You need to set correct read_swap in your profile. Try "b", "n" or "bw"
http://openrb.com/docs/modbus.htm


RE: Problem Modbus profile Kostal - sorrow - 25.02.2019

Thank you Admin that work now with non Swap


RE: Problem Modbus profile Kostal - Hyxion14 - 30.09.2021

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.


RE: Problem Modbus profile Kostal - admin - 30.09.2021

Does it work when using Read test? Check if port/slave id is correct.


RE: Problem Modbus profile Kostal - Hyxion14 - 01.10.2021

But, the reading test is for RTU, not for TCP, right?


RE: Problem Modbus profile Kostal - admin - 01.10.2021

2021 RC2 FW has Read test for both TCP and RTU


RE: Problem Modbus profile Kostal - pioneersteffen - 03.10.2021

(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


RE: Problem Modbus profile Kostal - pioneersteffen - 03.10.2021

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


RE: Problem Modbus profile Kostal - Hyxion14 - 04.10.2021

(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


RE: Problem Modbus profile Kostal - Hyxion14 - 31.10.2021

(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.


RE: Problem Modbus profile Kostal - Hyxion14 - 31.10.2021

(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.