Skip to content

Trouble with Custom Function Code: Unable to Decode Response from Slave Device #1776

Answered by janiversen
arthurgfhack asked this question in Help
Discussion options

You must be logged in to vote

A couple of things:

  • Please use our standard function to apply logging.
  • I think you miss to register your custom codes, please have a look at our examples.

To your questions:

  • I use a custom function code (to login to my solar panel inverter) and it works without problems.
  • The easy way is to copy a similar decoding class from the pymodbus library
  • Yes, you did not register the function code
  • No problem is supported (if you support it in your classes).

I think that should be help enough, otherwise ask.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@arthurgfhack
Comment options

@janiversen
Comment options

Answer selected by janiversen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants