..bet that it's a micrologix, ...
I noticed the Bul 1762 in the ladder - ML1200
..bet that it's a micrologix, ...
Actually wouldn't the shortest be
-----------[ END ]
Did you go to IO Config and see what the PLC setup was?
Seeing the data array would be helpful, but I'm guessing it's to make the output LEDs light up in a chase pattern on a Micrologix 1100 or similar. Hopefully not a relay output model...I'd like to make a claim for the shortest program that actually does anything useful, i.e. controlling real-world outputs, in a real-world scenario.
Here's the only code in the controller.
If anyone would like to make a guess at the application I use this as a demo for, feel free....
daba, lol. I would need to verify it with diff screen shot showing the whole project & name, date.
Seeing the data array would be helpful, but I'm guessing it's to make the output LEDs light up in a chase pattern on a Micrologix 1100 or similar. Hopefully not a relay output model...
The only time I've ever used the SQO function was in the classroom. For a traffic light program. Masking 6 outputs (NS Green, NS Yellow, NS Red, EW Green, EW Yellow, EW Red), triggered by a period task and you have your traffic light solution.
Did you pick up on the periodic task icon, or was it a guess ?
Does that make me the winner with the single output?.... lol!
The only time I've ever used the SQO function was in the classroom. For a traffic light program. Masking 6 outputs (NS Green, NS Yellow, NS Red, EW Green, EW Yellow, EW Red), triggered by a periodic task and you have your traffic light solution.