Introduction
The Siemens OPC UA Modeling Editor (SiOME) supports the user in creating OPC UA information models. In addition to the standard functionality, SiOME also has a powerful plugin interface that allows you to write custom plugins for your needs. Key features of this plugin API include:
- Comprehensive functions for modeling & mapping OPC UA interfaces
- Access to the contents of a TIA project, e.g. data blocks
- An out-of-the-box OPC UA client
- OPC UA PubSub functionalities
To get started with plugin development, there are two items provided:
- the siome-plugin-base-project to base your own plugins on.
- this documentation, covering important topics you need to know, from setting up your development environment to coding and interacting with the plugin API.
The descriptions in this document apply to the use of the following software components:
- Operating system: Windows 10
- Code editor: Visual Studio Code 1.84.2
- SiOME: 2.8.8
This document contains code examples. When a term in an example is intended to be adapted by the user, then a placeholder ist used at the respective location. The placeholder follow this syntax: a description or name of the placeholder which is surrounded by opening and closing double angle brackets: <<description or name of the placeholder>>
Example:
The code with placeholder is "... <<name of your variable>> ...
" and the name of my variable is "myVariable
" (double quotes are not part of the name), then the adapted code is: "... myVariable ...
".
'//...
' indicates that some lines inside the code have been omitted for space reasons.