Skip to content
Discussion options

You must be logged in to vote

Please read the documentation on how to use pymodbus or use one of the examples (like https://github.com/riptideio/pymodbus#example-code).

Creating an object of ModbusTcpClient does not make a connection.

Secondly you cannot use json directly with the modbus protocol, you need to call a modbus service, like e.g. ReadHoldingRegister()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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