"Restart On Retriger" task
Hi everyone.
I would like to understand how the "Restart On Retriger" function in task "Program" works. I need to run "Program" depending on the change of motion sensor violation bit. I have quite long time delays inside "Program" (between 15 and 45 minutes), so it is very important that at each change of the motion sensor violation (change from 0 to 1 or vice versa) my program is interrupted and restarted. How should "Restart On Retriger" be set in this case? On False or on True?
Regards,
Grzegorz
This is exactly what I meant and this is how I set up the "Restart on retriger" function. I use it in logic that controls air conditioning and lighting. I have created a quite complex programs that distinguish violation of the motion sensors during office hours and at night time. The purpose of these programs is, of course, reduce electricity consumption. Because operation of these procedures must be invisible to employees, therefore violation times of motion sensors must be quite long (Iset 45 minutes during daytime, 15 minutes at night). The launched program checks several conditions, then starts counting down the given time, checks a few conditions again and finaly performs the target actions (switches AC to economy mode, turns off all lights even when the violation of the motion sensor is blocked by user). This is the reason why I needed to use the "Restart on retriger" feature (to stop a running program while it was restarted).
Thanks a lot Ricardo for the clarification.
Regards,
Grzegorz