Skip to main content

Python PROFIBUS module

Project description

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 <m@bues.ch>

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.9.tar.gz (590.0 kB view details)

Uploaded Source

File details

Details for the file pyprofibus-1.9.tar.gz.

File metadata

  • Download URL: pyprofibus-1.9.tar.gz
  • Upload date:
  • Size: 590.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for pyprofibus-1.9.tar.gz
Algorithm Hash digest
SHA256 42b166adf8a789ed8033df352e9489dd08be7179092f302088a948a1b17a83db
MD5 fcc252586765d528cbcc092b2371b669
BLAKE2b-256 bedeca16de459c37a8fc40acbbe3dc5bd36268d231ca15117ac2723a1a683f4e

See more details on using hashes here.

Supported by

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