Read motor configuration from xml