How can you control a motor by direction of "up" & "down" or "left" & "right" and not going to far without harming a motor? Use the 2 control switches on the left to control the direction, and the 2 end switches to stop the motor from going to far(connected to the motor drive).
RED LED----------------------------------RIGHT DIRECTION
BLUE LED---------------------------------LEFT DIRECTION
LEFT SWITCH ABOVE LEDS--------LEFT DIRECTION MOTOR STOPPER
RIGHT SWITCH ABOVE LEDS-----RIGHT DIRECTION MOTOR STOPPER
FAR LEFT-LEFT SWITCH-------------LEFT DIRECTION
FAR LEFT-RIGHT SWITCH----------RIGHT DIRECTION
10Ω(BLUE RESULTS)-----------------MOTOR