Skip to main content

Cython wrapper for the SOEM Library

Project description

PySOEM is a Cython wrapper for the Simple Open EtherCAT Master Library (https://github.com/OpenEtherCATsociety/SOEM).

Introduction

PySOEM enables basic system testing of EtherCAT slave devices with Python.

Features

  • input process data read and output process data write

  • SDO read and write

  • EEPROM read and write

  • FoE read and write

Todo

  • EoE

Beware that real-time applications need some special considerations.

Requirements

Linux

  • Python 3

  • GCC (installed on your machine)

  • Python scripts that use PySOEM must be executed under administrator privileges

Windows

Installation

python -m pip install pysoem

or

pip install pysoem

Consider using a virtualenv.

Usage

Please have a look at the examples on GitHub.

Changes

v1.0.1

  • API change: remove the size parameter for foe_write

  • Introduces overlap map support

v1.0.0

  • No Cython required to install the package from the source distribution

v0.1.1

  • Introduces FoE

v0.1.0

  • Update of the underlying SOEM

v0.0.18

  • Fixes bug when Ibytes = 0 and Ibits > 0

v0.0.17

  • Exposes ec_DCtime (dc_time) for DC synchronization

v0.0.16

  • Improvement on SDO Aborts

v0.0.15

  • SDO info read

v0.0.14

  • Readme update only

v0.0.13

  • Initial publication

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysoem-1.0.2.tar.gz (338.3 kB view hashes)

Uploaded Source

Built Distributions

pysoem-1.0.2-cp39-cp39-win_amd64.whl (121.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

pysoem-1.0.2-cp38-cp38-win_amd64.whl (122.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

pysoem-1.0.2-cp37-cp37m-win_amd64.whl (119.9 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

pysoem-1.0.2-cp36-cp36m-win_amd64.whl (119.7 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

pysoem-1.0.2-cp35-cp35m-win_amd64.whl (116.5 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

Supported by

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