pyprofibus icon indicating copy to clipboard operation
pyprofibus copied to clipboard

Standalone Profibus slave with communication through virtual serial ports.

Open victoriv opened this issue 4 years ago • 3 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

victoriv avatar Feb 28 '20 15:02 victoriv

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.

mbuesch avatar Feb 29 '20 20:02 mbuesch

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

victoriv avatar Mar 02 '20 07:03 victoriv

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.

mbuesch avatar Mar 02 '20 17:03 mbuesch