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

Arduino Fio Compatible #37

Open
OptimalControls opened this issue Dec 1, 2021 · 2 comments
Open

Arduino Fio Compatible #37

OptimalControls opened this issue Dec 1, 2021 · 2 comments

Comments

@OptimalControls
Copy link

Dear people, I tested this library under Arduino Fio, unfortunetely, if you have more than 4 slaves, they fail to comunicate.
I tested the same with Nano, without any problems, but Fio seems to need further adjusments in the library, maybe because of its 8mhz clock. Please, if you have any update or work around let me know.
Regards,
Oscar

@angeloc
Copy link
Owner

angeloc commented Dec 1, 2021

I cannot replicate your setup, it would be more than welcome if you can do a proper debug to understand where the problem lies.
Of course the master is subject to the cpu speed and bus speed, if your cpu is running slowly and the bus is not working at full speed, you cannot have enough time to interrogate all the nodes.
Usually the master is a bigger and heavire machine like a linux embedded.

@negroKiordi
Copy link

negroKiordi commented Jun 28, 2022

Dear people, I tested this library under Arduino Fio, unfortunetely, if you have more than 4 slaves, they fail to comunicate. I tested the same with Nano, without any problems, but Fio seems to need further adjusments in the library, maybe because of its 8mhz clock. Please, if you have any update or work around let me know. Regards, Oscar

Hello, may you have the same problem as me. I have open the issue 39 "malfuntion in a bus with high trafic". I have found a solution changing the implementation of the time out T1_5 in modbus_update() function.

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