Hello guys,
I am new at this forum and a beginner in codesys.
I am working on a small project, in which there are two lamps(Red L1, Green L2) and a button(T1).
The red lamp should be on for at least 5s and max 10s. If a button is pressed the red lamp should be off and th green lamp on after 3s.
The green phase should last for 5 s and then the red phase should start again.
I did write the following programm and no error is shown, but unfortunately it does not work.
I would be really grateful for any kind of help ... read more