Git Product home page Git Product logo

Comments (3)

wlcrs avatar wlcrs commented on June 15, 2024

As I already said to you in #3: The inverter closes the connection instead of answering the query after issuing a read_register (0x03) command, so having an open 502 port to connect to is clearly not enough.

The device will always close the previous connection when another connection is made to that 502 modbus port. So make sure that nothing else is trying to connect to the inverter via Modbus. This can also cause the behavior that you're seeing.

To debug, you should verify that you can succesfully retrieve a value via Modbus from the inverter.

I've only worked with Modbus directly via Python. A minimal example to debug:

from pymodbus.client.sync import ModbusTcpClient as ModbusClient
client = ModbusClient('<ip>', port=502)
client.connect()
client.read_holding_register(address=30000, count=15 ,unit=0)

If you want to use a GUI to query, you'll have to search for yourself (maybe http://www.minaandrawos.com/tcp-modbus-examiner-tool/ works for you?)

from huawei_solar.

Marchellos avatar Marchellos commented on June 15, 2024

from huawei_solar.

wlcrs avatar wlcrs commented on June 15, 2024

It may be possible that you'll need to contact your installer to enable it via that way. My account certainly doesn't have enough access rights for that kind of changes to the installation.

from huawei_solar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.