Variable Maximum over 1 day with time stamp of when the maximum was recorded

Variable Maximum over 1 day with time stamp of when the maximum was recorded

I have been asked to make an alarm list entry of a maximum value over 1 day from PLC variable with time stamp of when the maximum was recorded, so the user can look back at the last 30 alarms that will show the maximum value and time the value was recorded for the last 30 days. So far i have a system math variable looking fo the MAX of the PLC variable over 1 day then i would like to record the time stamp to another variable then a new maximum is reached. some how then push these two variables in to a alarm that sets once a day. not sure if this is the right way to approach this issue? Thanks James.

This is a migrated post! Originally posted on 24.10.2018 by user JamesPressure. Please be aware that information can be outdated.