[OPC Communication] I want to use OPC DA and OPC HDA using same name.

Discussion about recent product features & solutions!
4 posts • Page 1 of 1
dongil
Posts:49
Joined: Mon Oct 07, 2013 3:42 am

[OPC Communication] I want to use OPC DA and OPC HDA using same name.

Post by dongil »

HI..

I have some problem about the opc communication..

Our OPC client system can get data from both opc da and opc hda.
But I cannot get data from WinCC OA Server , because of the tag name.
opc da and opc hda are work, Separately .

When i see opc data using opc da. if DPE name is AA.value.PVLAST. and DP type is GROUP_A
I can see "WinCC_OA.AA.value.PVLAST"

When i see opc data using opc hda. if DPE name is AA.value.PVLAST. and DP type is GROUP_A
I can see "GROUP_A.AA.value.PVLAST"

Can I have the same tag name whenever I use opc da and opc hda ?
-- Can I change from WinCC OA. to GROUP_A. for opc da?
-- Can I chagne from GROUP_A. to WinCC_OA. for opc hda?

Please reply ASAP.

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: [OPC Communication] I want to use OPC DA and OPC HDA using same name.

Post by Gertjan van Schijndel »

The root node for the OPC DA server can be set with the config entry:

Code: Select all

[opcsrv]
rootNode = "GROUP_A"

dongil
Posts:49
Joined: Mon Oct 07, 2013 3:42 am

Re: [OPC Communication] I want to use OPC DA and OPC HDA using same name.

Post by dongil »

[opchda]

rootNode ="WinCC_OA"


Is it also work? because there are so many DP type name on the server ..

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: [OPC Communication] I want to use OPC DA and OPC HDA using same name.

Post by Gertjan van Schijndel »

You can also use the DP type as root node with the OPC DA server with the config entries:

Code: Select all

[opcsrv]
rootNode = ""
showDPTs = 1
BTW: The name for the OPC HDA server section is 'opchdasrv'.

4 posts • Page 1 of 1