HemiHalo
Member
Hello all,
I've never programmed PLC before, but all of a sudden I have to program some lights with an AB PicoController. Need help figuring it out.
There is a vehicle sensor as an input and 10 lights as outputs.
Basically when the sensor will send a pulse when it sees a vehicle underneath it, then light 1 should light up for 0.3 seconds, then light 2 for 0.3 seconds, etc. until light 10. This light cycle must go through three times. If another car is sensed during one of the light cycles, then the count must reset and another 3 cycles must take place.
Right now I have each light on a on/off-delay timer relay. Light 1 on at 0.0s, light 2 on at 0.3s, etc.. all off after 0.3s. But I don't know where to go from here. Can someone point me in the right direction?
I've never programmed PLC before, but all of a sudden I have to program some lights with an AB PicoController. Need help figuring it out.
There is a vehicle sensor as an input and 10 lights as outputs.
Basically when the sensor will send a pulse when it sees a vehicle underneath it, then light 1 should light up for 0.3 seconds, then light 2 for 0.3 seconds, etc. until light 10. This light cycle must go through three times. If another car is sensed during one of the light cycles, then the count must reset and another 3 cycles must take place.
Right now I have each light on a on/off-delay timer relay. Light 1 on at 0.0s, light 2 on at 0.3s, etc.. all off after 0.3s. But I don't know where to go from here. Can someone point me in the right direction?