Skip to content

Reconnect after Not connected. #1646

Answered by janiversen
RogerG77 asked this question in Q&A
Discussion options

You must be logged in to vote

you do not say which release you use?

is it the assert you have that fails or later ? pymodbus does "reconnect" meaning only after the first successful connect.

If you want us to look at what happens then please use "pymodbus_apply_log... as pr issue documentation so we can see what happens.

If you want to reconnect because the first connect fails, you simply need to call .connect(), if it happens later you need to do nothing.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@RogerG77
Comment options

Answer selected by RogerG77
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants