Communication protocols for electrical drives