DANSrv Reference
OPC UA Capability
Send comments on this topic.
DANSrv OPC DA .Net Server Toolkit > Getting Started > OPC UA Capability

Glossary Item Box

The Professional Edition includes a version of the .NET4 DANSrv generic server that works with the uaPLUS generic server DLL to allow parallel access from OPC DA and OPC UA clients.

UA capability is added by including the uaPLUS.Net4.dll.


Only minimal code changes are required in the application specific implementation of NSPlugin.dll.

A license of the uaPLUS server toolkit is required in addition to the DANSrv license.

 

Steps to add UA capability

 

Sample Server with UA Capability

Study and test the CSsamplePropUA sample server project.
It contains the needed UA configuration file. However, you still need to use the UaServerConfigHelper utility to create a UA server certificate for this machine.

 

Server Execution

The DANSrvUaNet4.exe needs to be started manually or by a connecting OPC DA client before any UA client can access the server. UA doesn't automatically start the sever on connect as DCOM does.
The DANSrvUaNet4.exe server keeps running after the clients disconnected. The process needs to be terminated manually or from the NSPluginNet4.dll code.

The server can be registered to run as a Windows service by executing:
       DANSrvUaNet4.exe /Service /AutoStart

Executing DANSrvUaNet4.exe /UnregServer unregisters the server and stops/deletes the Windows service if registered as such.

 

UA Test Clients

Test clients with UA capability are provided in the Tools\UA setup subdirectory.

The UaClientConfigHelper utility is in the same directory. It need to be used to create a certificate for the client applications.
A server/client certificate exchange is not required as long as server and client run on the same machine.

 


 

© 2002-2017 Copyright Advosol Inc. All Rights Reserved.