Interrupt frequency as function of rating of servomotor or desired control frequency