OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.25k stars 659 forks source link

FoE error from the slave is not propagated #78

Open nakarlsson opened 7 years ago

nakarlsson commented 7 years ago

Propegate the FoE errors if one occur

ghost commented 3 years ago

Hi

I'll need to add this for a project of mine. Would you be interested in a pull request when its done?

Regards, Yves

nakarlsson commented 3 years ago

Yes, however it was a while since I looked at it. Question, should it be returned as WKC's < 0 or use the Error reporting mechanism used by CoE and those?

ghost commented 3 years ago

My first idea was to keep it analogous to the CoE implementation and use the error reporting mechanism, but I don't know much about the design of SOEM - I'm just guessing.