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

Todo

  • FoE
  • EoE

Beware that real-time applications need some special considerations.

Requirements

Linux

  • Python 3
  • Cython (installed into your Python distribution)
  • GCC (installed on your machine)
  • Python scripts that use PySOEM must be executed under administrator privileges

Windows

  • Python 3
  • a 64-bit operating system
  • WinPcap

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

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.

Files for pysoem, version 0.0.18
Filename, size File type Python version Upload date Hashes
Filename, size pysoem-0.0.18-cp35-cp35m-win_amd64.whl (118.1 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size pysoem-0.0.18-cp36-cp36m-win_amd64.whl (121.3 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pysoem-0.0.18-cp37-cp37m-win_amd64.whl (121.3 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pysoem-0.0.18-cp38-cp38-win_amd64.whl (123.7 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pysoem-0.0.18.tar.gz (312.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page