I need ideas on a relay based control for a preconfigured servo.
I configured the servo to be cw or ccw based the condition of the 2 inputs.
The functionality is as such. when you press the pushbutton and push the carriage the motor ride on away from the rear limit switch the motor will start spinning in CW direction until the travel ends and the front limit is hit. When this happens the motor should change direction to CCW
What I want to do is only use 1 push button and 2 travel limit sensors to achieve this.

I configured the servo to be cw or ccw based the condition of the 2 inputs.
The functionality is as such. when you press the pushbutton and push the carriage the motor ride on away from the rear limit switch the motor will start spinning in CW direction until the travel ends and the front limit is hit. When this happens the motor should change direction to CCW
What I want to do is only use 1 push button and 2 travel limit sensors to achieve this.
