Giter VIP home page Giter VIP logo

opcua-modeling-tutorial's Introduction

OPC UA Modeling Tutorial

This repository contains additional files for the OPC UA Modeling Tutorial on https://opcua.rocks/from-modelling-to-execution-opc-ua-information-model-tutorial/

An Example Server based on this Model is provided here: https://github.com/Pro/opcua-modeling-tutorial-server

How to use

The master branch only contains the *Model.xml files, not the compiled NodeSet2.xml files.

On every push to a branch, an is executed and the resulting model files are pushed back to the branch 'master-published'.

Have a look at the resulting files here: https://github.com/Pro/opcua-modeling-tutorial/tree/master-published/Published

If you like to manually build the files on your machine, follow these steps:

This build process is using a pre-built docker container based on the official UA-ModelCompiler source code. There's currently an open pull-request (OPCFoundation/UA-ModelCompiler#36) to add the necessary docker files to the official repository. In the meantime you can use my docker container: sailavid/ua-modelcompiler.

  1. Install docker on your machine
  2. Clone this repository
  3. cd skill-nodeset
  4. Then run the provided build.sh or the docker container for FooFltModel:
    docker run \
    	  --mount type=bind,source=$(pwd),target=/model/src \
    	  --entrypoint "/app/PublishModel.sh" \
    	  sailavid/ua-modelcompiler \
    	   /model/src/FooFltModel FooFlt /model/src/Published

This will create all the compiled NodeSet2.xml files inside the Published folder. With this command you can also compiler your own model files, just adapt the last line accordingly.

opcua-modeling-tutorial's People

Contributors

pro avatar brainsucker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.