3-way motor valve