Defining OPC tag for OPC server

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
hakan
Posts:28
Joined: Wed Nov 24, 2010 9:38 am

Defining OPC tag for OPC server

Post by hakan »

Hi;
In our project We have to define OPC tags for WinCC OA opc server. But There are a lot of tags and It will be take a lot of time individually defining in DP Groups panels. Is there any solution for example is it possible import from file included necessary tags.

Thank you
Best Regards,
Hakan

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

Re: Defining OPC tag for OPC server

Post by leoknipp »

Hello,

you could use wildcards at the configuration of the DP-group to include the datapoint-elements which has to be available at the OPC-server. Another possibility would be the configuration of the DP-group with a dpSet() from a script where you read the list of OPC-tags from an external source/an file.

If you need further assistance please send an support request to the following email-address:
support.automation@siemens.com

Best Regards
Leopold Knipp
Senior Support Specialist

hakan
Posts:28
Joined: Wed Nov 24, 2010 9:38 am

Re: Defining OPC tag for OPC server

Post by hakan »

Hi;

I cant understant how can I use dpSet() function to add to OPC Read DP group for defining OPC Server tags. Can you give me a example shortly.

Best Regards,
hakan

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

Re: Defining OPC tag for OPC server

Post by leoknipp »

Hello,

to define the dp-group-settings you have to set two elements of the _DpGroup-datapoint which is defined as the dp-group used by the OPC-server.

_DpGroup_Public.Types - a dp-type-filter can be defined (if necessary), if no filter is necessary an empty string has to be defined
_DpGroup_Public.Dps - dp-filter or a list of datapoint-elements can be defined

Please notice that both arrays need to have the same number of items for the correct functionality.

If you need further assistance please send an support request to the following email-address:
support.automation@siemens.com

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1