Hi, got a mental block lol.
Got a machine we are modifying, currently got most of the code in place. Working on a fault routine now. This machine doesn't have an HMI or wide array of PL. Nothing major just a simple vision system check. Currently have 6 faults that will stop the cycle running. I'm wanting to have the beacon light (Red light) blink for the cause of the fault. For example:
Scenario 1- Fault stop for bottle check NG: (two) .5 sec blinks - 2 sec red light off - (two) .5 sec blinks ..... repeat
Scenario 2- Fault stop for bottle check NG and reject sensor blocked: (two) .5 sec blinks -2 sec red light off - (three) .5 sec blinks - 2 sec red light off....... repeat
I have the code a few different ways but it looks "dirty". Any suggestions?
Thanks in advance