mbuesch / pyprofibus

PROFIBUS-DP stack

Home Page:https://bues.ch/a/profibus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standalone Profibus slave with communication through virtual serial ports.

victoriv opened this issue · comments

Hi there!

I found this library, and it looks perfect since I would like to implement a Profibus Master in Python. However, I would also like to setup a standalone Profibus slave in order to test the implementation of my master. In the end, I would like to have the master and the slave communicate through virtual serial ports. Is this possible to achieve using this library?

I'm looking forward to hear any thoughts about this.

Regards,
Victor

Hello Victor,

thanks for your question.
Yes, pyprofibus would be usable as a base for such a development.
Implementation of the slave side would need some development effort, though.
There are quite some things missing, like certain telegram types or the client side state machines.

If you want to implement any of these, I'd be happy to take your pull requests.

Thank you for the quick reply!
I will do some research to see if this is something I should spend time on.

Nice.
I'll keep this issue open. It probably is a question other people are interested in, too.
Please feel free to add more discussion about slave support here.