Project home: https://bues.ch/a/profibus Original repository at: https://git.bues.ch/git/pyprofibus.git https://bues.ch/a/profibus

Michael Buesch f7044c83fc release: Move micropython test build to test build hook il y a 3 ans
debian ea18051e92 Bump version il y a 3 ans
doc d0ef8d44fe fpga: Update makefiles il y a 4 ans
linuxcnc-demo-dummyphy 01dce1118e linuxcnc-demos: Convert joints->axis il y a 3 ans
linuxcnc-demo-et200s 01dce1118e linuxcnc-demos: Convert joints->axis il y a 3 ans
maintenance a1d1793ab3 release: Move micropython test build to test build hook il y a 3 ans
micropython 3965898eea Add micropython build to release test il y a 3 ans
misc 1ed8a3484a Remove Python2/Cython2 support il y a 5 ans
phy_fpga 14cdf5c6dc crcgen: Update il y a 3 ans
pyprofibus ea18051e92 Bump version il y a 3 ans
stublibs 18ead5c7c2 stub/configparser: Minor fixes and improvements of error texts il y a 4 ans
tests b13ec9811e tests: Add interpreter checks for all il y a 3 ans
.gitignore 67495644a2 doc: Convert to RST il y a 4 ans
.gitmodules d0ef8d44fe fpga: Update makefiles il y a 4 ans
COPYING 076c799f00 Initial commit il y a 9 ans
MANIFEST.in 3ea34360f4 readme: Add generated markdown il y a 3 ans
README.rst e137cedaad Update copyright il y a 3 ans
example_dummy.conf a038c2912b conf: Add name and index field to slave config il y a 4 ans
example_dummy.py f46b3e0686 micropython: Enable watchdog il y a 4 ans
example_et200s.conf a038c2912b conf: Add name and index field to slave config il y a 4 ans
example_et200s.py f46b3e0686 micropython: Enable watchdog il y a 4 ans
example_s7_315_2dp.conf a038c2912b conf: Add name and index field to slave config il y a 4 ans
example_s7_315_2dp.py f46b3e0686 micropython: Enable watchdog il y a 4 ans
gsdparser f0bf510eaf gsdparser: Add option to set output file il y a 4 ans
profisniff 692377512c phy_serial: Some simple speed optimizations il y a 4 ans
pyprofibus-linuxcnc-hal 7b0c451763 linuxcnc-hal: Fix missing out data il y a 3 ans
setup.py 66a6568588 setup: Update categories il y a 4 ans

README.rst

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
============

* `Python `_ 3.4 or later.
* Or alternatively `Micropython `_. Please see the `pyprofibus Micropython help `_ for more information.


License
=======

Copyright (c) 2013-2021 Michael Buesch

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