Jump to content

Recommended Posts

Posted

Hello,

 

Seeking for assistance on how to program the below conditions,

If I wanted to see the history of the total numbers per hour, like it will be displayed in my HMI Events Screen. How will I do it?

Attached image is the one I am trying to work on, but still not working. Do you have any other suggestions what to use in the program for me to be able to display the logs per hour?

Thank you for any help you may give.

MOVE.png

Posted

Take a look at AccumulationTimer. This will output TIME data type. You can use TimeToNanoSec to convert if you wish.

You can use the method you are attempting but you'll need to reset the TON after the time elapses.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...