I hope to add applicable scenarios for the modbus_reply() function. #774
SupermanOfHeiLinPu
started this conversation in
Ideas
Replies: 2 comments
-
Since 2013, there have been five attempts to add callbacks or user-defined functions to modbus_reply():
Sadly, none of these were successful for some reason. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for the list of callback PRs. One of them is also stored on my computer... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to write a Modbus slave software, but my register layout is as follows: [0, 5]: Input registers; [6, 10]: Holding registers; [11, 15]: Input registers; [16, 20]: Holding registers. In this case, the provided
modbus_mapping_t
andmodbus_reply()
functions in the library cannot achieve this functionality. I think we can write anothermodbus_reply()
function that uses a callback mechanism to retrieve and set data.Beta Was this translation helpful? Give feedback.
All reactions