ethercrab-rs / ethercrab

EtherCAT master written in pure Rust
258 stars 25 forks source link

Add methods to transition out of OP back to INIT #190

Closed jamwaffles closed 8 months ago

jamwaffles commented 8 months ago

A subset for now:

These methods will allow for graceful shutdown of the EtherCAT network. Some users have been having issues with servo drives that only crop up when they're re-initialised after a Ctrl-C "shutdown" which just stops cyclic data and lets SubDevice watchdogs time out.

Transitioning to PreOpPdi doesn't make much sense from this direction, so this won't be supported (for now? Maybe someone needs this?).