Tanks motor control