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

Although there are some pieces missing, the documentation is hosted on “Read the Docs” at: pysoem.readthedocs.io.

Please also have a look at the examples on GitHub.

Contribution

Any contributions are welcome and highly appreciated. Let’s discuss any (major) API change, or large piles of new code first. Using this pysoem chat room on gitter is one communication channel option.

Changes

v1.0.5

  • Introduces the manual_state_change property

v1.0.4

  • Proper logging

  • Introduces mbx_receive

v1.0.3

  • Fix the FoE password issue

v1.0.2

  • Licence change to MIT licence

  • Introduces configurable timeouts for SDO read and SDO write

  • Improved API docs

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.5.tar.gz (343.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pysoem-1.0.5-cp310-cp310-win_amd64.whl (111.6 kB view details)

Uploaded CPython 3.10Windows x86-64

pysoem-1.0.5-cp39-cp39-win_amd64.whl (124.7 kB view details)

Uploaded CPython 3.9Windows x86-64

pysoem-1.0.5-cp38-cp38-win_amd64.whl (126.2 kB view details)

Uploaded CPython 3.8Windows x86-64

pysoem-1.0.5-cp37-cp37m-win_amd64.whl (123.5 kB view details)

Uploaded CPython 3.7mWindows x86-64

pysoem-1.0.5-cp36-cp36m-win_amd64.whl (123.4 kB view details)

Uploaded CPython 3.6mWindows x86-64

File details

Details for the file pysoem-1.0.5.tar.gz.

File metadata

  • Download URL: pysoem-1.0.5.tar.gz
  • Upload date:
  • Size: 343.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for pysoem-1.0.5.tar.gz
Algorithm Hash digest
SHA256 18c3e572796f262f215d33a5e2c8682f93935b4a259c884270bf982b36f3ff99
MD5 4fe4892ac193ed596a513e9e1a56c9d8
BLAKE2b-256 e8ef3ade2d9aef4890a2b47e7c66359eab893bf83b144ce3d1f54b9bd9c764d1

See more details on using hashes here.

File details

Details for the file pysoem-1.0.5-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pysoem-1.0.5-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 111.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for pysoem-1.0.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 aa943c8aabb380c8ef43ac904a5c03561dfa29d7b4d70a0eef3180aadc6cab87
MD5 3e888084ee4aa99086f906ab246571f1
BLAKE2b-256 6bd50636d170f9be9cf1dd5a7be36ab4a82c62662f95ad5eabe260175c145d01

See more details on using hashes here.

File details

Details for the file pysoem-1.0.5-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pysoem-1.0.5-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 124.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for pysoem-1.0.5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6d11dc091e5a6b091a86d66983e0e27323d03b11c880c4d3c6b06dfd81ace034
MD5 37f0ccfb869b53aba4ba2f3adbb1002f
BLAKE2b-256 8e2a193a48f8483fc072a68f7d4f389cfc4c9a1aad907ef012e767aa8f00b659

See more details on using hashes here.

File details

Details for the file pysoem-1.0.5-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pysoem-1.0.5-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 126.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for pysoem-1.0.5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 754ebe0975f3313e94253d3110ff822cd094db061642846fe96459e8343fb31b
MD5 35170c64d23ab1ed0927c16617897720
BLAKE2b-256 40e9aa4cb643f4c63a8659e61679810aa67b28334c8510e10d44152ba282add4

See more details on using hashes here.

File details

Details for the file pysoem-1.0.5-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pysoem-1.0.5-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 123.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for pysoem-1.0.5-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8db82f799b93b7bf2fdd14980760eeb73b439287f8b69c7f02258ae7576e8754
MD5 e7aaf0eaf9b2b226fa0b492f2c33bc4b
BLAKE2b-256 ae5a65cb4f9c1b405d58e9ba9eff0cfb34f810b4dfea774e37f41f71480d4322

See more details on using hashes here.

File details

Details for the file pysoem-1.0.5-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pysoem-1.0.5-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 123.4 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for pysoem-1.0.5-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 be6fb792e1d79857d85246fee86407f95ddb48489f4b9b95141cfb55a0c9e8c8
MD5 cff1d376eea38966aabda17d5351684f
BLAKE2b-256 049d312838e7135009f3dbf03e4e430e236daef814235351ca5ad9a9aa3507c9

See more details on using hashes here.

Supported by

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