Comments (2)
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.
Closing as I cannot reproduce the issue in 2.1.
from modbusmechanic.
Related Issues (20)
- Can't download HOT 1
- Linux - show only active ports HOT 2
- USB serial ports Linux HOT 7
- Feature Request: Write single register (0x06) HOT 3
- java.jang.UnsatisfiedLinkError in macOS Monterey (Apple Silicon) HOT 5
- Not work RTU mode when press "Transmit packet" button HOT 3
- Display error message when serial port fails to open on RTU scanner function HOT 3
- Just information how to use HOT 1
- TimeoutException when using Slave ID other than 1 HOT 6
- Add signed int data types HOT 8
- Function Code 16 (0x10) Preset Multiple Registers mislabeled HOT 3
- RTU Slave Simulator doesn't update watch window HOT 2
- (Preset) Write Single Register (6) incorrect value transmission HOT 3
- [RTU] Allow for higher baud HOT 2
- java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 HOT 4
- Register scan returns inconsistent results HOT 9
- Lower Baud Rates as low as 110 [Feature Request] HOT 1
- Using hide zero option also hides negative Float entries HOT 3
- RTU slave simulator device not known and exception HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modbusmechanic.