khoekie
Member
Hi.
I have been trying the Trafficsignal program, with sequence and wait and all. I kind of get that, but what I want to make is:
A sensor for light/dark (analog output) and an on/off button.
The on/off button you can turn a light on/off, if in on mode for 30 minutes, the sensor will take over. If it's getting dark and output value gets below X, then a timer should start and if it stays dark enough during 10 minutes, the light should come on. Then it should stay on until it gets light again, or until 11:30pm.
I have no idea where to start or how to start. I am a complete newbie and these kind of technics are not really my cup of tea. So anyone that can help? Even just parts of the solution would help me out. O, I use v2.3 of CoDeSys by ABB, if that's important to know.
I have been trying the Trafficsignal program, with sequence and wait and all. I kind of get that, but what I want to make is:
A sensor for light/dark (analog output) and an on/off button.
The on/off button you can turn a light on/off, if in on mode for 30 minutes, the sensor will take over. If it's getting dark and output value gets below X, then a timer should start and if it stays dark enough during 10 minutes, the light should come on. Then it should stay on until it gets light again, or until 11:30pm.
I have no idea where to start or how to start. I am a complete newbie and these kind of technics are not really my cup of tea. So anyone that can help? Even just parts of the solution would help me out. O, I use v2.3 of CoDeSys by ABB, if that's important to know.