Dushyant Bangal
Dushyant Bangal

Reputation: 6403

How to use node-opcua to read from OPC DA Server?

The repository page for node-opcua says it supports DataAccess. But I was not able to find any example in which it connects to an OPC DA server and reads data.

So far I've tried the server_with_da_variables example. I have been able to read its data using sample_client.

Is the method same as connecting to OPC UA Server? Do we use endpoint URL and create session and read using NodeId, or is the procedure different?

Upvotes: 0

Views: 4520

Answers (2)

Kevin Herron
Kevin Herron

Reputation: 6985

I agree with ZbynekZ.

While confusing, when someone refers to an "OPC-DA" server they are referring to a COM-based server 99% of the time.

If you want to access a COM-based server through OPC-UA you'll need to put a UA wrapper application in front of it.

Upvotes: 0

ZbynekZ
ZbynekZ

Reputation: 1608

The "DataAccess" probably refers to Data Access features in OPC Unified Architecture (Part 8 of the OPC UA spec), and not to the COM-based OPC DA.

Upvotes: 2

Related Questions