Hey Everyone,
I'm new around here and I just need some advice. In school we have some PLC training boards that have 13 pushbuttons, 13 lights, and a DirectSoft 205 PLC on it. We use those boards to write programs our professor assigns us.
One of the projects I have to write now is kind of like the old Simon Says game. There's supposed to be a learn mode and a play mode. In learn mode I press the pushbuttons in any random order I want. When I put it in play mode and hit start the lights should stay on for however long I hit the button and in the order I hit the buttons.
So for example if I’m in learn mode and hit X1 for 2 seconds and 5 seconds later I hit X10 for 8 seconds and then put it in play mode and hit start Y1 will come on for 2 seconds, then a 5 second delay, then Y10 will come on for 8 seconds and go off.
Its very easy for me to explain I just have no idea where to start. Is there any functions ya'll could recommend me using?
Thanks,
Cybertaz
I'm new around here and I just need some advice. In school we have some PLC training boards that have 13 pushbuttons, 13 lights, and a DirectSoft 205 PLC on it. We use those boards to write programs our professor assigns us.
One of the projects I have to write now is kind of like the old Simon Says game. There's supposed to be a learn mode and a play mode. In learn mode I press the pushbuttons in any random order I want. When I put it in play mode and hit start the lights should stay on for however long I hit the button and in the order I hit the buttons.
So for example if I’m in learn mode and hit X1 for 2 seconds and 5 seconds later I hit X10 for 8 seconds and then put it in play mode and hit start Y1 will come on for 2 seconds, then a 5 second delay, then Y10 will come on for 8 seconds and go off.
Its very easy for me to explain I just have no idea where to start. Is there any functions ya'll could recommend me using?
Thanks,
Cybertaz