I would like to convert the delays to "ignore" Plse

Discussion in 'Pascal Logic Code Examples' started by Gerald, Oct 20, 2005.

  1. Gerald

    Gerald

    Joined:
    Sep 9, 2004
    Messages:
    10
    Likes Received:
    0
    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;
     
    Gerald, Oct 20, 2005
    #1
  2. Gerald

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.