This could be accomplished by using two contactors, one for the forward or CW rotation and one for the reverse and CCW rotation. The forward and reverse contactors were mechanically interlocked i.e., if one of them was closed the other could not close.