M1 Support Forum delay output

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5773
    Jerry Galu

      Have a need to program a delay between two outputs but do not see a way to do this. My original rule is

      Whenever Area 1 Arm State becomes Disarmed

      Then Turn Out 9 Off

      (Insert a 2 second delay here)

      Then Turn Out 10 On

      I thought putting a counter in but cannot insert between the two outputs

      Thanks in advance for any suggestions

       

       

      #5775
      Richard Reyes

        You will need to create a counter, in this case called DelayCounter, and then multiple rules:

        *RULE 1*

        Whenever Area 1 Arm State becomes Disarmed

        Then Turn Out 9 Off

        *RULE 2*

        Whenever Area 1 Arm State becomes Disarmed

        THEN SET DelayCounter(Counter 1) TO 2

        *RULE 3*

        WHENEVER EVERY 1 SECONDS

        AND Area 1 Arm State = NOT SECURE

        THEN SUBTRACT 1 FROM DelayCounter (Counter 1)

        *RULE 4*

        WHENEVER DelayCounter (Counter 1) CHANGES TO 0

        Then Turn Out 10 On

        THEN SET Counter1Name (Counter 1) TO 2

        #5776
        Brad Weeks

          You could use a phantom unused output:

           

          Whenever Area 1 Becomes Disarmed

          Then Turn OUTPUT 9 OFF

          Then Turn OUTPUT 100 ON for 2 seconds

           

          Whenever OUTPUT 100 Turns OFF

          Then Turn OUTPUT 10 ON

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.
        Scroll to Top