Question:
How can I display on screen the total amount of time the machine has been on, in hour/minute/second format?
Solution:
At E3Studio, follow these procedures:
- Insert a counter tag into a data folder, and set its Enable property as False.
- Set Preset property as 31536000, which corresponds to the total amount of seconds in a year.
- Link the counter tag’s Enable property to the tag that will fire the count (it can be an I/O tag, an internal tag, etc.).
- Insert a display onto screen and link it to the counter tag, dividing it by 86400 (amount of seconds in a day).
- Set the display’s format as HH:mm:ss.
- Run the application and change the value of the tag enabling the counter tag’s count.