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

Michael Buesch 4848877ec8 micropython/main: Catch all exceptions in all cases 3 hours ago
debian 4805852e89 Bump version 6 days ago
doc 974b2877ba Update docs 5 days ago
linuxcnc-demo-dummyphy 9eb2633f4a linuxcnc-demo-dummyphy: Fix GSD path 4 days ago
linuxcnc-demo-et200s a038c2912b conf: Add name and index field to slave config 4 days ago
maintenance 8b5f3c4353 gen-doc: Exclude build and release directories 5 days ago
micropython 4848877ec8 micropython/main: Catch all exceptions in all cases 1 hour ago
misc 1ed8a3484a Remove Python2/Cython2 support 4 months ago
phy_fpga 73c2d99f47 crcgen: Update 1 week ago
pyprofibus 4310cd6ef5 Use tuple for 'in' compare 3 days ago
stublibs 18ead5c7c2 stub/configparser: Minor fixes and improvements of error texts 4 days ago
tests 2dc5860662 Fix gsd testcase 3 days ago
.gitignore 67495644a2 doc: Convert to RST 1 week ago
.gitmodules fe465a179c Update crcgen 11 months ago
COPYING 076c799f00 Initial commit 4 years ago
MANIFEST.in 87eefe178a manifest: Add micropython 1 week ago
README.rst ffd6dbe3f6 readme: Fix formatting 5 days ago
example_dummy.conf a038c2912b conf: Add name and index field to slave config 4 days ago
example_dummy.py a038c2912b conf: Add name and index field to slave config 4 days ago
example_et200s.conf a038c2912b conf: Add name and index field to slave config 4 days ago
example_et200s.py a038c2912b conf: Add name and index field to slave config 4 days ago
example_s7_315_2dp.conf a038c2912b conf: Add name and index field to slave config 4 days ago
example_s7_315_2dp.py 48a6499f5c Rename example file 1 week ago
gsdparser f0bf510eaf gsdparser: Add option to set output file 1 week ago
profisniff 692377512c phy_serial: Some simple speed optimizations 3 days ago
pyprofibus-linuxcnc-hal 98e062b54f linuxcnc-hal: Fix DPM interface use 3 days ago
setup.py 66a6568588 setup: Update categories 6 days ago

README.rst

pyprofibus - PROFIBUS-DP stack
==============================

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


Hardware
========

What hardware can pyprofibus be run on? 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 info.


License
=======

Copyright (c) 2013-2020 Michael Buesch

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