Commanding different axis in sequential order as function of direction of movement