OPC DA .NET Server Toolkit
The OPC DA .NET Server Toolkit (DANSrv) has an OPC DA V2.05 and V3.0 compliant generic server and a .NET customization assembly (NSPlugin.dll).
No COM programming is required. The server customization for a particular application is done in the .NET customization assembly. Many VB.NET and C# samples are provided. Custom applications can be based on these sample applications or be wizard created. The wizard GUI offers choices for the needed customization functions and creates sample code for the selected features.
The DANSrv server toolkit is well suited to quickly implement simple servers or to create high performance OPC servers with ten thousands of items.
The NSPlugin.dll .NET customization assembly interface defines a small number of methods that are called from the generic server and a few callback methods that allow the customization assembly to call methods in the generic server, such as writing new item values into the cache.
The server development is nothing more than building this DLL with C# or VB.NET.
The DANSrv OPC server .NET toolkit is offered in two editions:
Standard Edition |
All basic features for OPC V2/V3 servers with a static item address space. |
Professional Edition |
Additional features increase the functionality and the performance. |
Embedded UA Server
The DANSrv Professional Edition can include the uaPLUS generic server DLL to allow parallel access from OPC DA and OPC UA clients.
A license of the uaPLUS server toolkit is required in addition to the DANSrv license.
Both editions support 32-bit and 64-bit operation. A version of the generic server is provided for each platform. The server customization .Net plug-in assembly works on both platforms. No recompile is required, the Visual Studio 2005/../2015 compiled assembly works with either generic server.
Use .NET for OPC Server development
C# and VB.Net are the preferred tools of many software developers. OPC servers can be developed much like any other .NET application, if based on the DANSrv Toolkit. No DCOM issues have to be handled by the developer. The toolkit generic server handles the DCOM client interface and the .NET wrapping. The OPC server can interface devices with TCP/IP or serial communication or front-end another application or a database. The database access or the 'device' communication is what has to be implemented in the customization assembly.
Direct I/O port access can also easily be handled through .Net. port access classes usually provided with the hardware.
Increasingly remote OPC server access is necessary. DCOM is not well suited for and OPC XML DA web service OPC UA may have to be used.
Advosol Inc. offers the XDASrv XML DA server toolkit and uaPLUS OPC UA server toolkit that use the same customization assembly as the DANSrv OPC DA .NET server toolkit. Your investment in OPC server development is secured and you don't need to worry about high costs for supporting the new OPC standards.
The .Net server customization assembly can be linked with existing .Net applications using WCF or TCP/IP. This concept works well for complex servers with e.g. a user interface and works equally well in OPC DA COM servers and XML DA web services. See the White Paper for an overview.
Access from UA Clients
Instead of embedding the UA server, the UAtoCOM converter server can be used to enable UA client applications to access the OPC DA server.
With access either direct or thru the converter server OPC DA and OPC UA clients can simultanously access the same DA server.
Another option is the use of the DANSrv customization plug-in .NET assembly with the uaPLUS server toolkit. This approach may be preferrable if the server is mainly accessed form UA clients.
DA clients can still access the uaPLUS server thru the COMtoUA converter DCOM server.
The OPC DA .NET Server Features include:
Additional Features of the Professional Edition Include:
OPC Alarms & Event Option:
The OPC AE .NET Server Toolkit can be combined with this OPC DA .NET Server toolkit to make the server compliant with OPC DA2, OPC DA3 and OPC AE1.1.
OPC AE event sorces can be DA server items or any other signal source.
Sample Servers
The following sample server customizations are provided as Visual Studio 2003 solutions with VB and C# source code:
|
This is a simple server with a few items, statically defined within the code. |
|
This sample works as the 'Simple' sample and additionally defines and handles custom item properties. |
|
This sample is very similar to the 'Properties' sample but implements a dynamic item address space. |
|
This sample loads the item configuration from the file CfgSample.xml and creates the defined items at startup. |
|
This sample defines 20000 items at startup and updates the first 1000 items every 100ms. |
|
This sample uses a TCP socket on port 6500 for device communication. For tests a Device simulator console application is provided. |
|
This sample application shows how a server can be implemented to handle a huge number of items. |
|
This sample shows how .NET application can be coupled with the OPC DA server using .NET WCF. See the White Paper for an overview. |
Tools
The OPCDA.NET server toolkit provides tools for quick and simple server development and testing:
|
The wizards creates a project with small sample code and server registration settings as defined in the user dialog. It also creates unique GUIDs for the server. The server project is created either for .NET4.x or .NET 2/3/3.5 |
OPC DA V2 Test Client
This is an easy to use client that is well suited to test the server for correct item handling.
OPC DA V3 Test Client
This client uses mainly OPC DA V3 functions and allows most OPC DA V3 features to be tested interactively.
Error Lookup
OPC and related Windows error codes are explained.
ConfigBuilder
The ConfigBuilder Tool creates and changes XML files with item configuration definitions.
The XML configuration file can be used in the customization module to create the item address space of the server.
This tool is available only in the Toolkit Professional Edition.
System Requirements:
© Copyright 2000-2023 COGITO SOFTWARE CO.,LTD. All rights reserved