https://circuit4hobby.altervista.org/plc-traffic-light.html
Due to a request I wrote this ladder diagram for a traffic light and tested it on my S7200 plc.
Outputs setting:
Q0.0-Q0.3 – green light
Q0.1-Q0.4 – yellow light
Q0.2-Q0.5 red light
Post time: Jun-18-2017