basic difference - OPC-DA vs OPC-UA ?

EICS

Member
Join Date
Dec 2008
Location
Melbourne, Australia
Posts
323
can someone explain the basic difference

between OPC-DA vs OPC-UA ?


am i correct that UA is relatively new where as DA has been around for some time
 
Last edited:
can someone explain the basic difference

between OPC-DA vs OPC-UA ?


am i correct that UA is relatively new where as DA has been around for some time

UA was developed nearly 10 years ago I believe. However uptake seems to have been a bit slow.

DA relies on Windows DCOM components, and is very, very finicky when it comes to communicating with clients that don't reside one the same machine. It also relies on DCOM security settings, which generally get turned off in an attempt to get the bloody thing to work.

UA was a complete rebuild, using no inherently windows-only components. In theory, Linux OPC UA servers and clients are possible (not sure if they exist). It uses IP addresses or host names to define end points and works quite ok over VPNs or routed networks.

If its a new system and both client and server support it, go for UA.

Matrikon make UA/ DA wrappers and tunneling software if you're stuck with one side needing to be DA.
 
- OPC UA is platform independent ... in fact I wrote my own OPC UA Client for Android

- OPC UA does not need to be secured through VPN due it already has its own encryption and authenticacion using trusted certificates.

And much more:
- The messages can be up to 16 Mbytes in size and also the protocol has the ability to split the message into pieces if some send or receive buffer is smaller. This means that several thousand tags can be read in a single request.

- The documentation is extensive, well structured and available for free to all, but if you are interested then be prepared to read thousands pages.

In short a far superior protocol compared with others in use actually.

It is to be hoped that in the future PLC manufacturers will incorporate it natively into their products.
Siemens and a few other already did.
 
A drawback is in the added complexity and if you don't watch out the certificate becomes invalid on site after a year or so. Oh joy.


It depends how you get your certificates created, but yeah. Certificate based authentication is an IT topic that gets introduced into a lot of OT applications without most of us really understanding the background.


OPC UA does allow guest/no security, as well as username/password for cases where medium security is OK.
 
It is more usual for certificates to be generated with an expiration of 5 or 10 years, my client generates them by default for 10 years.

As mk42 says, you do not always need to use certificates, if you select security=none and anonymous or username/password login, then certificate(s) are not needed.

An explanation of the cryptography used by OPC UA and many other encrypted protocols https://en.wikipedia.org/wiki/Public-key_cryptography
 

Similar Topics

Hi all, I have a noob question regarding data handling from sensors. I understand configurations and I/O mapping sensor input/output variables...
Replies
2
Views
215
Hello I am new here and new to PLC's, I wrote this program for a class that I am taking and my local tech school. The description is switch 7 will...
Replies
0
Views
402
Hello I am new here and new to PLC's, I wrote this program for a class that I am taking and my local tech school. The description is switch 7 will...
Replies
10
Views
1,955
I’m a bit stuck on HMI (KTP-1200) programming… See the picture attached. The PASS or FAIL box should only appear when the toggle switch is...
Replies
7
Views
1,052
Hey Programmers, Heres todays puzzle I was trying to solve... I have a Modbus TCP network with two Modicon M221 controllers live on my work bench...
Replies
0
Views
462
Back
Top Bottom