I make an EtherCAT encoder device. Go through how it is done, what tools and code are used. Demonstrate and prepare for test.
SOES for Arduino
https://github.com/kubabuda/ecat_serv...
EEPROM generator
https://github.com/kubabuda/EEPROM_ge...
STM34F4 Encoder
https://github.com/goktugh/EncoderStm...