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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
forgot to add image
Last edit: edwin200000 2022-07-27
Managed to solve?
Jes thanks for asking, do want the code?
Jes thanks for asking, do want the code?
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!
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.