M1 Support Forum Setting Counter Causes System Reset Reply To: Setting Counter Causes System Reset

#5105
Jeff

    Correction due to typo above:

    WHENEVER NoMotion_B (Counter 10) CHANGES TO 0

    THEN SET TestCntr (Counter 12) TO 0

     

    Variations of the above that I have tried, all result in Elk resetting:

    WHENEVER NoMotion_B (Counter 10) CHANGES TO 0

    THEN SET TestCntr (Counter 12) TO 1

     

    WHENEVER NoMotion_B (Counter 10) CHANGES TO 0

    THEN SET TestCntr (Counter 12) TO 1

     

    WHENEVER NoMotion_B (Counter 10) CHANGES TO 0

    THEN ADD 1 TO TestCntr (Counter 12)

     

    WHENEVER NoMotion_B (Counter 10) CHANGES TO A VALUE LESS THAN 1

    THEN SET TestCntr (Counter 12) TO 0

     

    Scroll to Top