Direct On Line Motor Control