PLC traffic light program