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

Hour Counter in codesys 3.5 with memory

2022-07-27
2023-04-06
  • edwin200000 - 2022-07-27

    Good afternoon,

    I am working on a HY-eVsion 10.4 (a plc and display in one) and using codesys 3.5 SP9.
    And my question is: Is there a kind of stopwatch in codesys3.5? That would be ideal.
    I actually need a hour counter. And every time I close off the HY_eVision 10.4 and restart it, It need to memorize the time he stood and go on. I can probably do that in the persistence variable. But I am looking for a kind of stopwatch.

    Thankyou in advance!

    Edwin

     
  • edwin200000 - 2022-07-27

    forgot to add image

     

    Last edit: edwin200000 2022-07-27
  • edepalos - 2023-03-26

    Managed to solve?

     
  • edwin200000 - 2023-03-27

    Jes thanks for asking, do want the code?

     
  • edwin200000 - 2023-03-27

    Jes thanks for asking, do want the code?

     
  • edepalos - 2023-03-27

    If it's Tohid Alizadeh's solution than I found that already, that is what I wanted to share with you. If You have any other then I'm open for it!

     
  • edwin200000 - 2023-04-06

    Hello edepalos,

    I didn't forget you, but I am very busy at the moment. When I will have more time I will share is with you.

     

Log in to post a comment.