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

Retentive timer

Inna
2020-12-16
2020-12-20
  • Inna - 2020-12-16

    We are converting our Ladder application to Codesys LD.  Our Ladder supports a retentive timer. Its behaviour as follows:
    1. As long as the input is TRUE,  the timer counts down from its preset time.
    2. When the input ceases to be true, the time left is "frozen", i.e., the timer stops counting but remains at the point in the countdown that it reached while the input was true.
    3. When the input again becomes true, the timer resumes its countdown from the "frozen" point.

    Is there such a timer in Codesys LD?

    Thanks in advance

     
  • Morberis

    Morberis - 2020-12-17

    There is not a timer like that nor do the Oscat libraries have a timer with that functionality. You can make your own though, here is a good guide on that.

     
    👍
    2
  • Inna - 2020-12-20
     

    Last edit: Inna 2020-12-20

Log in to post a comment.