milldrone if yours works that might be the way to go.
Whoa! Brian123 just pointed out several problems with what I posted.
ok im going to try to walk threw the process on this you just have one sensor preside for the starting line. so when the stage lights are on some one has to hit the start button or is it going to just go at some point. if it even needs a starter thats not so bad. i think your way might work better for us. that will lower the cost on sensors to so thats a plus.
Are you saying you want to
not follow the info here
http://www.nhra.com/basics/basics.html and you just want to use just 4 photo eyes total, two start and two finish?
If this is what you want. Would the order of events be something like this?
Operation without a starter person
1. Press "erase races" push button ( this will erase some previous races)
2. Auto/man selector switch in auto
3. First vehicle pulls up to starting photo eye beam and breaks beam, then his staged beam will light up
4. Second vehicle pulls up to starting photo eye beam and breaks beam, then his staged beam will light up .
5. A timer starts, after the timer times out the starting tree will sequence.
6. If a racer's starting photo eye beam is made before the green light then a redlight will turn on.
7. The first racer to cross the finish line photo beam will get a win light in his lane. This win light will stay on for X amount of time.
8. The moment the win light turns off the reaction times, and the elapsed times will be recorded. For the sake of simplicity no race can be started until the win light goes off. If two more racers are already staged then the timer mentioned in #5 will start and another race will begin shortly. If only one racer crosses the finish line, the moment the win light turns off whatever the time is for the other lane (looser) plus the reaction time will also be recorded. So it might have zero reaction time or whatever reaction time the loosers elapsed time will be the winners elapsed time plus the win light duration. If a zero is needed here the program might be more than 100 words but it can be done.
6. The tree will consist of two staged lights (one for each lane), three yellows a green light, a red light for each lane.
The operation with a starter person can be the same with a few exceptions the times can be recorded for the previous race the moment the starter presses the button for the next race (this will allow for a very slow contestant that otherwise would not have the chance to cross the finish line before the win light times out).
also point me in a direction for an hmi for use with this system.
Have you thought about what will be needed to see a laptop's screen or a HMI screen in full daylight? Think about what a football referee has to do to look at an instant replay when he is on the field.
Here are Automation Direct's offerings.
http://web1.automationdirect.com/adc/Shopping/Catalog/Operator_Interfaces/C-more_Touch_Panels/C-more_Touch_Panels_(all_sizes)
http://web1.automationdirect.com/adc/Shopping/Catalog/Operator_Interfaces/C-more_Micro-Graphic_Panels/C-more_Micro-Graphic_Panels_-a-_Keypad_Bezels_(all_types)
Here is some software that runs on a PC that acts as a HMI
http://web1.automationdirect.com/adc/Shopping/Catalog/Operator_Interfaces/Lookout_Direct_HMI
Here is a small screen that snaps into the front of the DL06.
http://web1.automationdirect.com/adc/Shopping/Catalog/Programmable_Controllers/DirectLogic_Series_PLCs_(Micro_to_Small,_Brick_-a-_Modular)/DirectLogic_06_(Expandable_Micro_Brick_PLC)/PLC_Units/D0-06LCD Most people think that this unit is very hard to work with. Because the programming is in the PLC for this display you will exceed the 100 word limit.
Previously I mentioned a way to get data out of the PLC. In order to do this you will need a "structured" list of racers so you can compare the PLC data to the list.