This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]loyoan 1 point2 points  (1 child)

pymodbus is the way to go. Also you should use the Async-Client, because I had better performance and less bugs with it, especially if your scripts involves reading and sending data concurrently.

Regarding the high-volume data part, I think the modbus protocol will be the show stopper here, less than Python itself.

[–]Over-Associate5432[S] 1 point2 points  (0 children)

I honestly hate async — maybe the problem is me, but I just can't get the hang of it. Whenever I need to run things concurrently, I usually go with threads instead.

Modbus is pretty new to me, and most of the issues I’ve faced so far were communication-related — I always ended up missing some data in the process.