Skip to main content

Python PROFIBUS module

Project description

pyprofibus - PROFIBUS-DP stack

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


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


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.
    • examples/

    • examples/example_dummy_oneslave.conf

    • examples/

    • examples/example_dummy_twoslaves.conf

    • examples/

    • examples/example_dummy_inputonly.conf

  • Example that runs pyprofibus as master connected to an ET200S as slave.
    • examples/

    • examples/example_et200s.conf

  • Example that runs pyprofibus as master connected to an S7-315-2DP as slave.
    • examples/

    • examples/example_s7-315-2dp.conf



Copyright (c) 2013-2023 Michael Buesch <>

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyprofibus-1.12.tar.gz (612.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page