Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
4 posts
• Page 1 of 1
vince2e
Posts:39
Joined: Tue Aug 02, 2016 4:19 pm
How to set a trigger to change time dependent smoothing values for archives/Set multiple time dependent smoothing values
Postby vince2e »
Hello All,
I want to store DPE values in the raima DB at different timing rates, but I can't figure out how to accomplish this with a CTRL script. The para wiziard only lets you set a time and/or value change, but I want to set a trigger to switch between multiple time values.
For example, when a furnace door opens I want to store Temperature values at 100ms and when the door is closed I want to store the Temperature values at 1s.
Re: How to set a trigger to change time dependent smoothing values for archives/Set multiple time dependent smoothing values
Postby RudiKreiner »
If you look in the WinCC help chapter Reference tables ->Data point configs->_archive you will find the names of the configs that you can manipulate in your script.
What you probably need for your case is System1:F1.Temperature.OpTemp.Status.TC1:_archive.1._std_time
Re: How to set a trigger to change time dependent smoothing values for archives/Set multiple time dependent smoothing values
Postby leoknipp »
If you want to change the settings of a config you have to use the function dpSet() or dpSetWait() in combination with the dp-element + config + attribute which shall be modified.
The list of configs and attributes can be found in the WinCC OA documentation: Reference tables --> Data point configs.
E.g. the config + attribute _archive.._std_time is used for the configuration of tme dependent smoothing
When modifying configs + attributes it can be necessary to modify several attributes at the same time. Also sometimes a detail number needs to be used. Otherwise the configuration cannot be saved.
The detail number is defined between the config and the attribute, ..
For basic information concerning the different configs please have a look at the WinCC OA documentation: Module PARA --> Data point configs.
Best Regards
Leopold Knipp
Senior Support Specialist