The DANSrvAE Alarm&Events Option extends the DANSrv OPC DA server with an OPC AE V1.1 compliant server.
The DANSrvAE option is delivered with:
- The DANSrvAEnet4.Exe generic server that acts as an OPC DA V2/V3 and AE 1.1 compliant server.
- The NSPluginNet4.dll that contains the DA server customization classes and the AE server implementation as described in this documentation
The OPC DA specification defines data management features that are application independent. The DANSrv DA server toolkit implements these data management features in the generic server and defines a rather simple interface to the customization .Net assembly. The user only has to implement this interface to provide the application specific device access.
The OPC AE specification is different. Most features more or less on the kind of events that are to be handled. Therefore, the the generic AE server contains less functionality than the generic DA server. The generic AE server is mainly a .NET wrapper for the client calls and OnEvent client callbacks.
The NSPlugin customization plug-in module is a .Net assembly that is developed as a VB or C# class library.
It is developed in the same way as the DANSrv DA plugin. See the DANSrv documentation for details.
The NSPlugin assembly for the DANSrvAE server with DA and AE support must additionally implement the event server related classes as described in this document:
- EventServer
- EventAreas
- EventSubscription
- EventCondition
These classes are provided as a fully functional and compliance tested OPC AE V1.1 server implementation.
Depending on the application the sample implementation needs to be extended and modified.
Class members declared as public may NOT be modified. These are used by the generic server and any change would require an adaptation of the generic server. The public defined member are not application specific and there is actually no need for changes except for supporting new specification versions that may be released in the future.