PySOEM is a Cython wrapper for the Simple Open EtherCAT Master Library (https://github.com/OpenEtherCATsociety/SOEM).
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.
- Python 3
- Cython (installed into your Python distribution)
- GCC (installed on your machine)
- Python scripts that use PySOEM must be executed under administrator privileges
- Python 3
- a 64-bit operating system
- WinPcap
python -m pip install pysoem
or
pip install pysoem
Consider using a virtualenv.
Please have a look at the examples on GitHub.
- Exposes ec_DCtime (dc_time) for DC synchronization
- Improvement on SDO Aborts
- SDO info read
- Readme update only
- Initial publication