OPC HDA <-> OPC UA

Questions regarding installing, running and configuring UaGateway.

Moderator: uagateway

Post Reply
aignashev
Jr. Member
Jr. Member
Posts: 3
Joined: 15 Aug 2019, 16:47

OPC HDA <-> OPC UA

Post by aignashev »

Hi,
we trying to test UaGateway and have some questions:

In OPC UA we need HistoryRead Service.

In OPC HDA:
-Browse
-AsyncRead:ReadRaw
-AsyncRead:AdviseRaw
-AsyncRead:ReadProcessed
-AsyncRead:AdviseProcessed

Sync read works fine but AsyncRead doesn't work.
We have error E_NOINTERFACE IOPCHDA_AsyncRead
What methods does UaGateway support?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: OPC HDA <-> OPC UA

Post by Support Team »

Hello,

yes, the UaGateway supports the classic COM HDA interface. As you may know the AsyncRead is "optional" and must not be supported by an HDA Server. The OPC Specification says: "The client must be designed to not require that this optional interface exist." Your Client should "QueryInterface" and obtain which interfaces are supported, and automatically switch to what is available on that server.

The Browse and the SyncRead are "mandatory" and hence supported by the UaGateway.
Best regards
Unified Automation Support Team

aignashev
Jr. Member
Jr. Member
Posts: 3
Joined: 15 Aug 2019, 16:47

Re: OPC HDA <-> OPC UA

Post by aignashev »

Thank you for the answer.
Client's SCADA requires these methods.

Is it possible to add methods
-AsyncRead:ReadRaw
-AsyncRead:AdviseRaw
-AsyncRead:ReadProcessed
-AsyncRead:AdviseProcessed

is it paid support?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: OPC HDA <-> OPC UA

Post by Support Team »

Hello,

the SCADA system is "not compliant" to the OPC Specification when "requiring" the optional features. A compliant implementaiton of a SCADA system "can" use the optional features and "must" use the mandatory methods (if the optional are not present).

Please contact your SCADA vendor and ask for correct (compliant) implementation of the SCADA system.
Best regards
Unified Automation Support Team

aignashev
Jr. Member
Jr. Member
Posts: 3
Joined: 15 Aug 2019, 16:47

Re: OPC HDA <-> OPC UA

Post by aignashev »

Can you add support only for
-AsyncRead:AdviseProcessed

Is it paid option?
SCADA uses only Async methods and can not use Sync methods.

Post Reply