Karl Palsson
Karl Palsson
I believe #140 would be a better solution to this problem, (and also solves many more)
What does the documentation for modbus_read_registers say? What would a negative value for parameter number 3 mean?
most likely the remote device doesn't understand you and ignored you. You are either using the wrong protocol, wrong wiring (on the other side of your gateway) or have the...
I would guess you _didn't_ send the same frame then :) if you turn on libmodbus' debug, you can see the bytes sent and received printed out. You can compare...
Duplicate of https://github.com/stephane/libmodbus/issues/373 but this time with a little more context. (select is used because is available on windows, poll is not)
These function codes 0x43 (67) and 0x46 (70) fall into the "user defined" range from 65 to 72, so we couldn't possibly add hardcoded support for this particular usage of...
convince @stephane that this problem still persists and that _a_ solution needs to be found eventually, preferably sooner rather than later :)
Does your parity match what the remote device is configured as? Does the baud rate match waht the remote device is configured as? Are you _sure_ ? run in verbose...
Is a patch for this even actually welcome? it seems way out of scope
Just ran into this myself. :+1: While I don't see anything in the spec that requires user functions to have the first byte be the remaining length, it seems a...