https://github.com/mbuesch/pyprofibus
PROFIBUS-DP stack
https://github.com/mbuesch/pyprofibus
plc profibus profibus-dp sps
Last synced: over 1 year ago
JSON representation
PROFIBUS-DP stack
- Host: GitHub
- URL: https://github.com/mbuesch/pyprofibus
- Owner: mbuesch
- License: gpl-2.0
- Created: 2016-04-10T10:55:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T22:48:11.000Z (almost 2 years ago)
- Last Synced: 2025-04-10T15:17:05.929Z (over 1 year ago)
- Topics: plc, profibus, profibus-dp, sps
- Language: Python
- Homepage: https://bues.ch/a/profibus
- Size: 705 KB
- Stars: 138
- Watchers: 24
- Forks: 53
- Open Issues: 10
-
Metadata Files:
- Readme: README.rst
- License: COPYING
Awesome Lists containing this project
README
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
============
* `Python `_ 3.5 or later.
* Or alternatively `Micropython `_. Please see the `pyprofibus Micropython help `_ for more information.
License
=======
Copyright (c) 2013-2024 Michael Büsch
Licensed under the terms of the GNU General Public License version 2, or (at your option) any later version.