I am currently setting up a test that requires the given (Picture below) motor setup to run one direction for about a minute or until limit switch is triggered then reverse direction for about a minute or until limit switch in triggered. These cycles should be able to run for at least 8hrs. Any input in the easiest way to make this happen? Limit switches can be removed if some sort of controller would be more effective. I Have very limit circuit creating abilities. Thanks.