Code Monkey home page Code Monkey logo

cumulocity-opcua-gateway-solution's Introduction

OPC Server and Gateway

This solution creates a sample OPCServer including the required gateway to connect the OPC server to Cumulocity. See as well: OPC UA Agent Cumulocity The registration data are stored in the ./data directory that are mapped as a volume to the docker service gateway. And thus still exits after a restart.

Update the Cumulocity gateway version to the most recent, this can be found here.

Edit docker-compose.yaml and adapt the properties OPC_UA_GATEWAY_VERSION, baseUrl, identifier and tenantId to match your environment:

    version: "3.9"
    services:
    opcserver:
        build:
        context: ./opcserver
        ports:
        - "4840:4840"
    gateway:
        build:
        context: ./gateway
        args:
            OPC_UA_GATEWAY_VERSION: 1017.0.289
        environment:
        - baseUrl=https://TENANT_URL
        - tenantId=TENANT_ID
        - gatewayIdentifier=GATEWAY_IDENTIFIER_LINE1
        - gatewayName=Line1 Gateway
        volumes:
        - ./data/:/data

The start the solution by running:

docker-compose up -d --no-deps --build

Register opcserver

Enter url opc.tcp://opcserver:4840 to connect the opc simulation server with Cumulocity gateway.

Register OPC server

Browse OPC tree

Once the gateway scanned the OPCTree you can view its content:

Browse OPC tree


This widget is provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master pro

cumulocity-opcua-gateway-solution's People

Contributors

sagiotpower avatar techcommunity avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.