Hi All,
If I run the Async Client [1] and the Async Updating Server[2] from the PyModbus examples I get an error:
Server shows:
DEBUG:pymodbus.server.async:Client Disconnected: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.]
Client shows:
DEBUG:pymodbus.client.async:Client disconnected from modbus server: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.]
Any ideas on what has happened?
Note, on the client side I modified 1 line to match the server port of 5020 instead of 502
defer = protocol.ClientCreator(reactor, ModbusClientProtocol
).connectTCP("localhost", 5020)
[1]
https://pymodbus.readthedocs.org/en/latest/examples/asynchronous-client.html[2]
https://pymodbus.readthedocs.org/en/latest/examples/updating-server.html