Skip to content

Sigma1912/pyprofibus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyprofibus - PROFIBUS-DP stack

https://bues.ch/a/profibus

pyprofibus is an Open Source PROFIBUS-DP stack written in Python.

Hardware

pyprofibus is able to run on any machine that supports Python. It also runs on embedded machines such as the Raspberry Pi or even tiny microcontrollers such as the ESP32 (Micropython).

Please read the hardware documentation for more information:

pyprofibus hardware documentation

Speed / Baud rate

The achievable Profibus-DP speed depends on the hardware that it runs on and what kind of serial transceiver is used. There is no software side artificial limit.

Please see the pyprofibus hardware documentation

Examples

pyprofibus comes with a couple of examples that can teach you how to use pyprofibus in your project.

  • Example that runs pyprofibus without any hardware. This example can be used to play around with pyprofibus.
    • example_dummy.py
    • example_dummy.conf
  • Example that runs pyprofibus as master connected to an ET200S as slave.
    • example_et200s.py
    • example_et200s.conf
  • Example that runs pyprofibus as master connected to an S7-315-2DP as slave.
    • example_s7-315-2dp.py
    • example_s7-315-2dp.conf

Dependencies

License

Copyright (c) 2013-2021 Michael Buesch <[email protected]>

Licensed under the terms of the GNU General Public License version 2, or (at your option) any later version.

Packages

No packages published

Languages

  • Python 71.2%
  • Verilog 23.6%
  • Shell 4.4%
  • Makefile 0.8%