Giter Site home page Giter Site logo

mbuesch / pyprofibus Goto Github PK

View Code? Open in Web Editor NEW
121.0 24.0 46.0 722 KB

PROFIBUS-DP stack

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

License: GNU General Public License v2.0

Python 71.57% Shell 3.79% Makefile 0.76% Verilog 23.88%
plc profibus profibus-dp sps

pyprofibus's Introduction

pyprofibus - PROFIBUS-DP stack

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

pyprofibus home

Git repository

Github repository

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.
    • examples/example_dummy_oneslave.py
    • examples/example_dummy_oneslave.conf
    • examples/example_dummy_twoslaves.py
    • examples/example_dummy_twoslaves.conf
    • examples/example_dummy_inputonly.py
    • examples/example_dummy_inputonly.conf
  • Example that runs pyprofibus as master connected to an ET200S as slave.
    • examples/example_et200s.py
    • examples/example_et200s.conf
  • Example that runs pyprofibus as master connected to an S7-315-2DP as slave.
    • examples/example_s7-315-2dp.py
    • examples/example_s7-315-2dp.conf

Dependencies

License

Copyright (c) 2013-2024 Michael Büsch <[email protected]>

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.