Giter Club home page Giter Club logo

Comments (2)

SciFiDryer avatar SciFiDryer commented on July 19, 2024

Hi and thanks for reporting the issue. Glad to see the software is helping expand knowledge around Modbus.

I think what is happening is that the other master is using write single register and write single coil requests (function codes 5 and 6 respectively). As the function name implies, they allow writing to just a single coil or register. Given data types like float and unsigned int 32 are quite common today (which need multiple registers), most Modbus software uses write multiple coils and write multiple registers. If there is a need to write just one register, the length of the write multiple request is just set to 1. ModbusMechanic does this too.

I originally never expected the write single request to be common enough to implement, but you raise an excellent point for slave device troubleshooting and completeness. If a slave device is sending requests for write single, they shouldn't be invisible to the watch window. If you start ModbusMechanic with the -debug option on command line you can see the raw packets by the way.

I have added the implementation in 7d19db3 and will publish an update (probably 2.1) shortly. My tests of 2.0 agree with yours, I do not see updates in the watch window or the slave simulator. Tests in master now show it is resolved.

from modbusmechanic.

SciFiDryer avatar SciFiDryer commented on July 19, 2024

Closing as I cannot reproduce the issue in 2.1.

from modbusmechanic.

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.