libethercat icon indicating copy to clipboard operation
libethercat copied to clipboard

ec_set_state behavior

Open marcfir opened this issue 10 months ago • 1 comments

Currently ec_set_state tries to set the state for each slave. If some slaves cannot reach the state, they remain in the old state. But the master state is always set to the target state. Is this behavior intended?

marcfir avatar Mar 11 '25 14:03 marcfir

Sorry, for the late answer.

I know this is a little bit weard because if you switch from INIT->OP and one slave hangs in PREOP, the master afterwards also tries to execute INIT->SAFEOP and INIT->OP for that slave. Maybe we should change this to make it easier to see where the error is originated.

If i find some time i will change that (or maybe you can do it ;-))

robert-burger avatar Apr 10 '25 04:04 robert-burger