Modbus access is very slow in Micropython / UIFlow libaray
-
Hi there,
I am experiencing very slow modbus access times which are (I am quite suire) not caused by the slow data transfer, but must be something else in the stack. I set multiple coils, read two registers and read multiple inputs. Each access takes about 400ms (estimatedd). I set the timeout to 200ms. I am using modbus on the RS485 bus. I am sniffing the data so I am sure, that the response from the addressed devices comes swiftly - I would say with about 10ms delay, so that is not the problem. Did anyone experience similar issues? Do you have a solution?
Alex
-
Micropython/UIFlow library's slow Modbus access may be due to inefficient code implementation or hardware limitations. Check for optimizations, reduce unnecessary delays, and ensure proper configuration. Additionally, consider hardware capabilities for better performance.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login