GithubHelp home page GithubHelp logo

preller / opcuadevicerepository Goto Github PK

View Code? Open in Web Editor NEW

This project forked from servicerobotics-ulm/opcuadevicerepository

0.0 1.0 0.0 6.05 MB

Traditional OPC UA Servers/Clients

License: Other

CMake 2.61% C++ 97.39%

opcuadevicerepository's Introduction

OpcUaDeviceRepository

This repository consists of device driver implementations, each providing an OPC UA interface. The OPC UA interface is implemented using the open62541 C library which is encapsulated within the leightweight C++ Wrapper (see subfolder Open62541CppWrapper). Individual devices might have additional, platform-specific dependencies related to the respectivelly used device library.

This repository is maintained by Servicerobotik Ulm. For more information see:

Installation dependencies

  • open62541 using the github repository (install as described below) ** tested with commit in master branch 755abcfc54f5c7f438d0e1dee91370df28e6c02e
  • CMake min. version 3.0
  • A C++ compiler supporting the C++ 11 standard

Compile instructions for the open62541 library

Arranging prerequisites

$ sudo apt-get install git build-essential gcc pkg-config cmake python python-six

Cloning open62541

$ git clone https://github.com/open62541/open62541.git
$ cd open62541
$ git submodule init
$ git submodule update

IMG01

Building open62541

$ mkdir build
$ cd build
$ cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_METHODCALLS=ON -DUA_ENABLE_SUBSCRIPTIONS=ON -DUA_ENABLE_DISCOVERY_MULTICAST=ON ..
$ make
$ sudo make install

IMG02

Building and running OPCUA examples using single-file release open62541.h

$ cd examples
$ gcc -std=c99 -I../build/ ../build/open62541.c tutorial_server_variable.c -o server
$ ./server

IMG03

Open a Prosys OPC UA client to view/edit server nodes

Address: opc.tcp://<IP address of server / localhost>:4840 IMG04

Compile instructions for this repository

The following instructions will build the Open62541CppWrapper and all the OPC UA enabled Devices:

> mkdir build
> cd build
> cmake ..
> make 
> sudo make install # optional

opcuadevicerepository's People

Contributors

alex-lotz avatar dstampfer avatar nagrath-hsu avatar

Watchers

 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.