I would like to add configs to a datapoint element (lets say "dp_A.dpe_1" [ datapoint type: dpt_X ] ). Doing this directly in the master datapoint "_mp_dpt_X" is not allowed because the datapoint element has a type-reference to the datapoint type "dpt_Y". This means I am forced to used the master datapoint "_mp_dpt_Y".
Now comes the frustrating part. All configs are already defined in the master-DP "_mp_dpt_Y" but are not adopted by neither "_MP_dpt_X" nor "dp_A.dpe_1".
The option "Transfer to all DPEs" does fix this (I guess this only effects DPEs of the same datatype, not type-reffed ones).
I can force the configs to be copied by changing some of its values and hitting "apply". It will trigger the copy-function to ALL relevant datapoint elements (including type-reffed ones). I do not like this option for two reason:
- I have to perform this for each config manually. This makes the concept of mass-parametrization using the master-DP somewhat useless. It just takes to much time.
- It overwrites the configs of many other DPEs. Some of those may have manually adjusted config-values which need to be preserved. I do not have an overview of all the type-reffed DPEs which will be affected. This bring a high risk of breaking the system.
This problem triggers a lot of questions for me. I hope some of you can help me clarify this a bit.
- Is this a bug?
- Do newer versions of WinCC OA handle this differently?
- Am I doing something wrong? (If so, how should I handle this?)
- Do other people beside me experience bug-like or unexpected behavior when working with master-DPs and type-refs?
- Are there any alternative methods?
Transfer configs from master-datapoint to a (type-refed) datapoint-element (WinCC OA 3.10)
- EER
- Posts:17
- Joined: Fri Jun 12, 2015 1:31 pm
Transfer configs from master-datapoint to a (type-refed) datapoint-element (WinCC OA 3.10)
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Transfer configs from master-datapoint to a (type-refed) datapoint-element (WinCC OA 3.10)
the basic concept of master datapoints, the dp instances and its configs has not been changed in newer versions.
In the Para module there are more options available in the context menu to select a specific config where the settings shall be copied to all instances.
Which values are replaced at the instances when doing changes at the master datapoint depends on the attributes which can be changed on the instances.
E.g. if you use an power config for archiving where the archive is "fixed" the changes for this attribute are copied to all instances without using the option "Transfer to all DPEs".
Best Regards
Leopold Knipp
Senior Support Specialist
In the Para module there are more options available in the context menu to select a specific config where the settings shall be copied to all instances.
Which values are replaced at the instances when doing changes at the master datapoint depends on the attributes which can be changed on the instances.
E.g. if you use an power config for archiving where the archive is "fixed" the changes for this attribute are copied to all instances without using the option "Transfer to all DPEs".
Best Regards
Leopold Knipp
Senior Support Specialist