Monitor float value over time period (average)

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
michael.danzer
Posts:13
Joined: Thu Aug 03, 2017 11:13 am

Monitor float value over time period (average)

Post by michael.danzer »

Hi,

is there a already implemented way of monitoring a float value and return the average value over time (e.g. average voltage level over a time period of the last 5 minutes)?

Thanks
Michael Danzer

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Monitor float value over time period (average)

Post by leoknipp »

Can you please describe more accurate what "monitoring" means.
Do you want to calculate an average value for a given time span or do you want to see values stored in the database?

Best Regards
Leopold Knipp
Senior Support Specialist

michael.danzer
Posts:13
Joined: Thu Aug 03, 2017 11:13 am

Re: Monitor float value over time period (average)

Post by michael.danzer »

Hi!

Thanks for the reply.

I want to calculate the average value for a given time span. As i recall correctly, the value data will also be stored in an 5 minute database.

Regards
Michael

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Monitor float value over time period (average)

Post by leoknipp »

With a statistical datapoint function (config _dp_fct) you can calculate average values for a given timespan.
When an archiving (config _archive) is defined for the same dp element the calculated values can be stored in the database.

For detailed information please have a look the WinCC OA documentation:
Module PARA --> Data point configs --> _archive
Module PARA --> Data point configs --> _dp_fct

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1