gbradley (Customer) asked a question.

Resetting a Timer

When C2 is energized T1 starts counting down.

C30 is energized and keeps the Timer running.

The Math on the following rung just creates a Count Down Value for DS2

How can I Modify this rung so that If I press C2 again I can reset the Timer and begin counting again? That is start from 20 again every time that C2 is pressed even if it is in the middle of counting.

TimerOn


  • Todd Dice (Customer)

    You write address C2 but in your logic show C3, so in my example I use C3 and C100.

     

    Screenshot 2022-04-14 103333

    Selected as Best
  • Todd Dice (Customer)

    You write address C2 but in your logic show C3, so in my example I use C3 and C100.

     

    Screenshot 2022-04-14 103333

    Selected as Best
    • gbradley (Customer)

      You are correct. I wrote C2 when I should have typed C3.

      Your solution worked great!

      It seems like C100 never turns on, but it works exactly like I asked.

      Thankyou very much!

      • Durallymax (Customer)

        C100 is being used as an NC edge contact which is not in Clicks instruction list. It will only be on for one scan. Unlikely you will "see" it.

  • Durallymax (Customer)

    Here's another method that will work.

     

    Edit: I see @Todd Dice (Customer)​ did the same thing as my first one so I'll just leave the alternative option.

    Screenshot 2022-04-14 130627