15:17, EEST
April 19, 2021
I’ve been trying to make the UA Gateway work with an OSISoft PI HDA server, but to no avail.
I’ve successfully added the server to the UA Gateway and I can see/browse the tags and nodes without any problem.
However when I try to write a value, or just via UAExpert read the value I always get the BadUserAccessDenied error. I’m not connecting via anonymous access, I am connecting via the same username/password as the HDA server is running in. If I directly connect to the Osisoft OPC HDA Server via an opc HDA tool(Matrikon’s) I can see the historical values and I can write data without any problems. With the UAExpert tool via the UA Gateway I can only read historical values and browse the tags, nothing further.
I’m at a loss here, there is no documentation available on how to solve this problem and our client is asking for a rapid solution, please provide some assistance!
12:33, EEST
April 3, 2012
Hi,
First a note that OPC Classic is not my personal expertise, but this is a combination of my interpretations and I did also ask Unified Automation (that develops the UaGateway) about this, a better answer might arrive later, but this is what I can do for this now. Thus some questions and notes:
1. It is not possible to have a Classic OPC Server that would support both DA and HA, they are different specifications and servers by the nature of OPC Classic (that is one of the reasons why OPC UA was made). Thus, I believe that they would be separate servers added to UaGateway, if this “OSISoft PI HDA” would actually also have a DA server in addition to a HA server. IF that is the case, maybe the other tool can somehow give the assumption of a single server, but in reality it would have both as a separate connections.
2. What do you mean by “Write” here? An OPC UA Write? Because that cannot never work to a HA server, there is no concept of a “Write” as OPC UA Write in HA (only in DA). There is a IOPCHDA_SyncUpdate in HA for updating the history data, though that per Unified is an optional interface that UaGateway doesn’t support. It only support the IOPCHDA_SyncRead that is used to read the history. Did you mean IOPCHDA_SyncUpdate?
3. Could it be possible to produce a trace of UaGateway showing that attempt to read (AppTrace=Data, StackTrace=Debug). If is, send it to support@prosysopc.com and a note that I’ll probably need to share that info with Unified Automation.
13:43, EEST
April 19, 2021
13:57, EEST
Moderators
February 1, 2019
Hello, concerning your questions, below is the reply:
1. Your server might support OPC DA and HDA. However, according to OPC Specifications, a server can’t support both DA and HDA at the same time. They would be considered as 2 different servers (OPC DA server + OPC HDA server) from the OPC Client’s point of view.
2. UA Gateway doesn’t support writing history to an OPC HDA server. Reading the history should definitely work with UA Gateway. OPC HDA defines a couple of interfaces where some of them are mandatory and some are optional. UA Gateway supports IOPCHDA_SyncRead but not the optional interface IOPCHDA_SyncUpdate. Uisng UA Expert or Prosys OPC UA Client/Browser makes no difference.
3. If you are able to read historical values and browse the tags via UA Gateway, then it’s functioning properly. You can ignore #3.
Most Users Ever Online: 1919
Currently Online:
58 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 734
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16, edgardo3518Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1