Skip to content
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

Modbus Ip - It works but with Timeout Error #41

Open
asdelx1 opened this issue Jun 1, 2019 · 2 comments
Open

Modbus Ip - It works but with Timeout Error #41

asdelx1 opened this issue Jun 1, 2019 · 2 comments

Comments

@asdelx1
Copy link

asdelx1 commented Jun 1, 2019

Hello ! I could connect an arduino Due with a w5100 mini ethernet shield. I can use the entire library. I use modbus poll or radzio for a modbus tcp ip master. The problem is that for example if I read a hold reg, i get a timeout error or ( write error read error ) and then I can read. So it is Yes-No-Yes-No-Yes-No. It´s like i lose connection, maybe something about times. I use mudbus library and mgsmodbus and I didn´t have that problem !

problem

As you see , i can run it OK but first an error and then it goes, error.. goes.. error .. goes ? Don´t you think it can be a time problem at the library ?

mail : [email protected]

@mlednicky
Copy link

You need to uncomment line "#define TCP_KEEP_ALIVE" in used library.
If you read "README" file, you would knew.

@ProgSuriya
Copy link

nope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants