ethercrab-rs / ethercrab

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

Support up to 64 PDO entries when reading from EEPROM #231

Closed jamwaffles closed 3 months ago

jamwaffles commented 3 months ago

This PR also stops validating PDO ranges as I think I had that logic incorrect. For example, the EL2262 has a PDO mapping of 0x1701 which was outside the checked ranges, but is valid for a fixed set of mappings.

There's also some small refactoring around reading sub-items from the EEPROM which makes the code cleaner to read.

Closes #175