working dm1 motor control