nakarlsson
nakarlsson
I can reproduce it and will look into it.
@ArthurKetels , the SDOwrite does not happen due to slave state not refreshed. Can we remove the PREOP check for this scenario? https://github.com/OpenEtherCATsociety/SOEM/blob/304d1c05eab77dc0d426f1a5cf09c8cc7dc03713/src/ec_main.c#L1565
I did some tests incl calls when still in Init and so on, can't se any side effects
In this scenario the PO2SO hook can be used, the hook is covered by state check: We can add a state check in ec_sample. Shall we add the PREOP check...
No bug in SOEM I’m aware of. Sounds like something overflows, I suggest you do some deeper debugging. There is a small window in receive process data that read data...
Provide a Wireshark when doing the SDO write from SOEM. You can use slaveinfo and modifiy it to do a SDO write in the end.
You’re looking at the wrong function. SDOs are handled by the MBX handlar. To test you can add the pre/post hooks defined in the cfg struct. There you can se...
Post a Wireshark. You can check this for as sample. https://github.com/hefloryd/SOEM/commit/22d8f5d
@Lambo0604 , sorry for late response, you can increase the bandwidth using bigger Mailboxes. 128 is quite common but 256,512, 1024 should work equally good. You need to adjust the...