hello , how would i wire relays to run my home made milling machine table to go in and out when on auto , here is what i have now .cross feed travels to the left hits a limit switch stops timer kicks in and puts24VDC to a wire that will feed the in /out action ,this happens at each end of the cross feed travel . the in/out motor is AC and reverses fine ,i have limit switches on both ends of the in/out travel which are NC ,it also must start from any position , i need a wiring diagram on how to accomplish this, i have lots of industrial weidmuller relays dpdt and 4pdt thanks from to old