OPC Unified Architecture (OPC UA) is the next generation solution compared to OPC Classic. One of the most important improvements in OPC UA is a powerful Address Space and Information Model concept. OPC UA allows exposing real-time process data and underlying infrastructure as a consistent information model built up with nodes. The process model is represented by nodes, attributes, and their mutual relationships. Therefore, using OPC UA this powerful concept allows us to expose not only raw process data but also entire consistent information about the process state and behavior. The flexibility of the OPC UA ensures that no existing or future systems are too complex to be exposed via OPC UA. Of course, such flexibility leads to difficulties during design, development, and deployment, that’s why the Object Oriented-Internet Address Space Model Designer (ASMD) was born.
The OOI ASMD supports the graphical design of the process model using OPC UA Information and Address Space concepts. The embedded model compiler may be used to generate all required file formats necessary to deploy custom models on the client, server, publisher and subscriber side using any existing Software Development Kit. It is compliant with the OPC UA Specifications OPC UA Part 3, OPC UA Part 5, and OPC UA Part 6. By design, it is also a consistent part of the broader concept Object-Oriented Internet.
NOTE:
- The design, development and deployment of the OPC UA Information Model detailed description is covered by the document Information Models Development.
- The help documentation is now available at OPC UA Address Space Model Designer Online Help
The ASMD was written by CAS Lodz Poland. I am the founder and Executive Director of CAS. Now CAS is just an individual business activity conducted by me, so I decided to move this software to Open Source.
We use Semantic Versioning for versioning. For the versions available, see the releases on this repository. For your convenience, the versions of the repository, tools and NuGet packages has been listed in the next subsections.
Version | Milestone | Date | Notes |
---|---|---|---|
4.2 | Maintenance and refactoring | 18-05-2020 | |
4.1 | Public release of the ASMD | Dec 17, 2019 | |
3.20.1 | ASMD last available Windows installation released by CAS | May 17, 2016 | deprecated |
- graphical modeling of the OPC UA Information Model according to OPC UA Part 5 specification
- easy addition and deletion of nodes from the model structure
- definition of nodes relationship (references) and types
- modes filtering
- search and find utility
- type declaration, definition and inheritance analysis
- state machine custom editor
- and more...
- graphical modeling of the OPC UA Address Space according to OPC UA Part 3 specification
- 3D modeling of the Information Model
- the layered structure of the Information Model
- contextual OPC UA Standard help documentation - synchronization of the model with OPC UA ebook
- interoperability without programming
- supports custom OPC UA Server/Client/PubSub configuration editor
- supports definition and edition of the data bindings (leveraging machine to sensor connectivity) coupling the Address Space variables with the process (sensors, actuators, etc.) making an in-memory process replica
- simple configuration of a custom OPC UA Server in context of the model design
- no programming skills are required
- import and validation of any custom UANodeSet files to a new project
- import the address space from an OPC DA server (embedded OPC DA Viewer) and create a new OPC UA Information Model - an easier way to converge your old OPC Classic server and the Unified Architecture world
- documentation generation in MS Word and MAML formats
- generates OPC UA compliant UANodeSet XML File according to the OPC UA Part 6 specification
- provides embedded OPCFoundation/UA-ModelCompiler maintained by the OPC Foundation as the default model build tool
- output window provides detailed diagnostic information about the build model process
- works with any existing code generator
- full adherence to OPC Specifications
- considerably improves robustness of the OPC UA Information Model deployment in any custom environment
- any OPC UA SDK integration-ready (OPC UA SDK independent)
Check out the WIKI - Help Documentation and Online Help to get a more detailed description.
This section describes prerequisites to use the tool, compile the code and run unit tests.
Download and run the file UA.ModelDesigner.exe
to unzip the content to the selected folder and create an icon on the desktop. The application will run after unpacking. To restart the application you may use the icon on the desktop or double click the application file <target>\UA.ModelDesigner\OOI.UA.ModelDesigner.exe
, where <target> is the already selected folder during the installation. To uninstall the software and embedded example simply delete the <target> folder and the icon.
This section contains information about the Address Space Model Designer sample solutions that illustrate the structure and techniques used for designing models and defining bindings between model nodes and real-time process data.
The section Information Models Development of the online ebook covers details on how to get started using the attached examples. The solution BoilerExampleSolution
contains a boiler model. This model is described in the ReferenceApplication Producer - Boilers Set Simulator. Check out the section Companion Specification - Information Model for Analyzers to get more about ADIExempleSolution
example.
Selected examples is added to the folder <target>\UA.ModelDesigner\EmbeddedExample
. The following step by step instruction will guide you on how to open the examples.
- The folder
EmbeddedExample
contains two examplesBoilerExampleSolution
- a set of unmanned boilers spread geographically, which have to be monitored and remotely controlledADIExempleSolution
- a set of models to be used as an example of adopting companion standard models, i.e. analyzer devices integration
- Now you may run the ASMD application and open the selected solution
You can open the solution into ASMD in the following way:
- Click on the main menu Open item
- Select the directory containing the sample solution
- Open the
BoilerExampleSolution.uamdsl
file - Click on the confirmation (Open) button
The files of the sample solution are listed in the following table.
File | Content |
---|---|
*.uamdsl |
Address Space Model Designer solution. This file contains the configuration of the sample solution and references to other files that are used in this solution (e.g. projects, plug-ins, etc.) |
*.csv |
A CSV file that contains Node Identifiers |
*.xml |
An XML file that contains the model |
*/CAS.UAServer.DemoConfiguration.uasconfig |
A sample configuration file of OPC UA Server. This file is created and edited by the plug-in providing the configuration editor. It is compatible with mpostol/OPCUA.Server Open Source Software. |
*/DefaultConfig.xml |
A sample OPC DA Server configuration file (compatible with mpostol/OPCDA.Server Open Source Software). |
*/DemoConfiguration.oses |
A sample OPC DA Client configuration (compatible with mpostol/OPCDA.Viewer and mpostol/OPCDA.DataPorter Open Source Software) |
Projects can be opened in Visual Studio 2017. Support for some projects depends on the Visual Studio edition and installed components.
- Open the
CommServer.UA.ModelDesigner.sln
solution file using Visual Studio 2017. - Hit
F6
to build all projects in the solution. - Set the
ModelDesigner.DesignStudio
as the Start-up Project - Press
F5
to run the tool using Debug configuration - Hit
Ctrl+r,Ctrl+a
to run all unit tests
The list of packages used is listed on the page Dependency graph of this repository. All packages are included in this GitHub repository in the local folder _nugets
or published on NuGet. The local folder is configured in the NuGet.Config
. The NuGet Gallery is the public package repository used by all package authors and consumers. All required packages are loaded before the build.
To get more visit the Microsoft documentation How to reinstall and update packages.
In this umbrella project, C# deliverables supporting a new Machine To Machine (M2M) communication approach based on the Data-Oriented Architecture (DOA) paradigm is to be researched. The goal is to provide a generic solution for publishing and updating information in a context that can be used to describe and discover it by software applications. It is implemented based on the
- OPC Unified Architecture - an industrial integration standard that fulfills the proposed architecture requirements.
- Object-Oriented Programming - well know and widely accepted programming language model in which data processing is organized around 4 major principles, namely encapsulation, abstraction, polymorphism and inheritance.
The GitHub Object Oriented Internet repository is aimed at the maintenance of this project. The ASMD contributes to this project and is compliant with the OOI concept.
CommServer is a package of software to manage data transfer using OPC standards. Built-in technologies and algorithms support Machine to Machine (M2M) meaningful interoperability. The CommServer was written by CAS Lodz Poland.
The GitHub repository commsvr-com/migration2os is aimed at the CommServer
software migration from on-premise subversion repository to GitHub and publishing it as the Open-Source Software (OSS). The members of the CommServer
family are to be converged with the Object-Oriented Internet paradigms and integrated with the solutions maintained in this repository.
The project CommServer Migration to Open-source will be used to coordinate the migration process of transferring multi-parts software from an on-premise subversion repository to a set of GitHub repositories.
OPC-UA-OOI.ConfigEditor is a package of software to manage the configuration of the Reactive Communication. The OPC-UA-OOI.ConfigEditor
was written by CAS Lodz Poland. The mpostol/OPC-UA-OOI.ConfigEditor repository is aimed at the software migration from on-premise subversion repository to GitHub and publishing it as the Open-Source Software (OSS). After migration, this repository will be used to manage all activities addressing the software maintenance process as a plug-in of the ASMD.
- OPC UA Address Space Model Designer Help
- WIKI - Help Documentation
- Mariusz Postol. Address Space and Address Space Model
- OPC UA Address Space Model Designer
- Wolfgang Mahnke, Stefan Helmut Leitner, Matthias Damm. OPC Unified Architecture. Berlin: Springer, 2009.
- OPC Unified Architecture Specification Part 3: Address Space Model, OPC Foundation, Rel. 1.04, 2017-11-22
- OPC Unified Architecture Specification Part 5: Information Model, OPC Foundation, Rel. 1.04, 2017-11-22
- OPC Unified Architecture Specification Part 6: Mappings, OPC Foundation, Rel. 1.04, 2017-11-22
- ReferenceApplication Producer - Boilers Set Simulator
- Companion Specification - Information Model for Analyzers
- Information Models Development
- ASMD releases page
- OPC 10020 - UA for Analyzer Devices (ADI), OPC Foundation Rel 1.1a, 2015
- Semantic Versioning
- Open XML SDK 2.5 for Microsoft Office; GitHub repository OfficeDev/Open-XML-SDK
- How to reinstall and update packages.
- Dependency graph
- OPCFoundation/UA-ModelCompiler
- OPC UA Information Model - How to Create Instances using ASMD; Video
- OPC UA Information Model - How to build the model; Video
- Introduction to OPC UA Address Space modeling using CAS Address Space Model Designer; Video
- OOI - OPC UA Address Space Model Designer V 4.1