-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for custom function codes. (IDFGH-13746) #75
Comments
Thanks you for the issue. Unfortunately, I can not add support of huge list of all Modbus commands into this stack.
The functions 0x13 and 0x14 included in the Modbus specification but are in the reserved list of commands (not standard). The support of custom commands and its handlers is not provided for now but this request is already added into feature list to implement.
~~Please investigate the above and let me know if this can work for you. ~~ UPDATE: I think the above will not be possible due to limitation of |
Checklist
Feature description
Add a way to write data to modbus slaves using arbitrary function codes. It could have an interface similar to eMBMasterReqWriteMultipleHoldingRegister but without the hardcoded function code.
Use cases
I need to upgrade the firmware of a modbus device and it uses function codes 0x13 and 0x14 to download and upgrade firmware respectively. These function codes are not supported today and i cannot find a way to send in custom function codes.
Alternatives
No response
Additional context
I dont know if these function codes are established function codes for this purpose or if it is specific to the device im working with.
The text was updated successfully, but these errors were encountered: