Gerald
20 Oct 05, 05:26 PM
Greetings I would appreciate some ideas on how to change the delays to a Minder ignore. Ie waiting and check again for the condition to make the Hysteresis program adjustable for local cloud conditions.
{Basic control of this group Module SPD_Min_On_Cntrl}
if (GetenableState("01 Enable Min SPD") = ON) then
begin
if (GetLightingState("02 PE LOW") = On) then
begin
Delay("0:00:02");
if (getLightingState("DB SPD 50")= Off) then
begin
SetLightingState("DB SPD 50", On);
end
end
end;
{Basic control of this group Module SPD_Min_Off_Cntrl}
if (GetenableState("01 Enable Min SPD") = ON) then
begin
if (GetLightingState("02 PE LOW") = Off) then
begin
Delay("0:00:02");
if (getLightingState("DB SPD 50")= On) then
begin
SetLightingState("DB SPD 50", Off);
end
end
end;
{Basic control of this group Module SPD_Min_On_Cntrl}
if (GetenableState("01 Enable Min SPD") = ON) then
begin
if (GetLightingState("02 PE LOW") = On) then
begin
Delay("0:00:02");
if (getLightingState("DB SPD 50")= Off) then
begin
SetLightingState("DB SPD 50", On);
end
end
end;
{Basic control of this group Module SPD_Min_Off_Cntrl}
if (GetenableState("01 Enable Min SPD") = ON) then
begin
if (GetLightingState("02 PE LOW") = Off) then
begin
Delay("0:00:02");
if (getLightingState("DB SPD 50")= On) then
begin
SetLightingState("DB SPD 50", Off);
end
end
end;