Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pysoes? Simple EtherCAT Slave Stack wrapper #115

Open
MikelAyani opened this issue Aug 8, 2023 · 2 comments
Open

Pysoes? Simple EtherCAT Slave Stack wrapper #115

MikelAyani opened this issue Aug 8, 2023 · 2 comments

Comments

@MikelAyani
Copy link

Hi,
Sorry if this is not the proper place to ask, but do you think it would be feasible to create a similar wrapper for the SOES (Simple Open EtherCAT Slave Stack) library? I am looking for a way to create soft EtherCAT Slaves for testing purposes.
I also wonder if you did the wrapper for the SOEM totally by hand or used a tool to make part of it.
Thanks in advance!

@bnjmnp
Copy link
Owner

bnjmnp commented Aug 21, 2023

Hi, sorry for the late response, it is holyday time.
I remember there was a similar question in issue #31, maybe my answer there is already satisfying enough?
Apart from that, creating a basic SOES C-based firmware for the Infineon XMC4300 Relax EtherCAT® Kit is not that difficult. I did this myself based on an example I found inside the SOES project.

@MikelAyani
Copy link
Author

No problem, and thanks for the answer! Very interesting links.
Our idea is to create a basic emulated Ethercat slave. That said, there should not be special hardware involved, just a normal PC, doing soft-emulation. We just want the slave to interact with the telegrams. I understand that it may be a problem if real-time is required, but maybe could work for no-real-time applications? Another concern is if it would be possible to emulate several slaves in the same PC?
Regarding the wrapper, I have some experience working with Cython. I have checked your code here and I can understand it quite well. Did you develop it completely manually or you used a tool to generate it?
Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants