Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

TIMER being Paused.

Scottie
2006-07-10
2006-10-05
  • Scottie - 2006-07-10

    I would like to "pause" a TON during its operation. When the timer is "unpaused i would like to start from where it was, not from Zero.

    It appears the EN/ENO is close although it appears that the elapsed time recomences at a time that would have been if not paused at all,i.e it is still actually counting although not ENabled?

    Is there any other timers apart from TON that i can use?

     
  • Erik BΓΆhm - 2006-07-13

    Hi

    You could save the value of Timer.PT - Timer.ET at the moment you want to pause it, and call the Timer afterwards with this Value as PT.

    Best Regards

    Erik

     
  • Igor Petrov - 2006-10-05

    See example here

     

Log in to post a comment.