uaPLUS Reference
Server with DA Functionality
Send comments on this topic.

Glossary Item Box

For a stand-alone UA server the uaPLUS.Net4.exe is the main application.

uaPLUS uses the same plug-in DLL interface as the Advosol DANSrv OPC DA .NET Server and XDASrv XML DA server toolkits.
The application plug-in DLLs can be used with the generic server of either toolkit.
This ensures a smooth transition from DCOM based OPC DA to UA.
It also provides a rather simple way to create UA servers with DA functionality.

 The NSPlugin.dll interface was originally designed for the DANSrv OPC DA Server.
The DANSrv generic server does much of the OPC DA specified data processing, keeping the NSPlugin.dll code simple, practically only transferring changed item values between the devices and the generic server.
This concept also works well with the uaPLUS generic server, which does the UA specific data handling.

 

UA Mapping

The DA items managed by the plug-in are mapped to UA objects at startup.
The NSPlugin.dll is represented as the root object with the default name    DAplugin
The name can be changed with a definition in the AppSettings section of the application configuration file (uaPLUS.Net4.exe.config)
      <add key="DArootName" value="myName"/>

Servers implemented with uaPLUS DLL version can set the name by writing the static object uaPLUS.daRootName before the uaPLUS instance is created.

The DA branch structure defined in NSPlugin.dll is mirrored under this UA object.

The items are defined as a fully qualified identifier string with the decimal point '.' as the delimiter for the branch structure.
The generic UA server builds all the necessary UA objects and references for a hierarchical structure.
E.g. the item definition "aaa.bbb.ccc" builds the UA object structure:
      Objects
          root for plug-in    (the name is defined in the UA server applications configuration file)
              aaa
                  bbb
                      ccc

 

 

New Project for DA functionality
A new server development project can be:

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.