Countdown before firing piston


#1

Hi,

Any suggestions on how to have a timer activate before firing the action of the piston, even if the “if” is true?
What I need to happen is when the “if” is true, WebCoRE counts down first, and if the “if” is still true, it then fires the action…thanks


#2

this would turn off the switch after 10 seconds if condition was still true:

if condition
   with switch
      wait 10 seconds
      turn off
   end with
end if

#3

Thanks…it worked


#4

you are welcome.