libethercat
libethercat copied to clipboard
ec_set_state behavior
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?
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 ;-))