Coder Social home page Coder Social logo

industrial-edge / s7-connector-data-handling-getting-started Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 4.0 3.73 MB

This repository contains the source files to build the S7 Connector Data Handling Getting Started example.

License: MIT License

s7-connector ie-databus ie-flow-creator industrial-edge

s7-connector-data-handling-getting-started's Introduction

S7 Connector Data Handling Getting Started

This repository contains the source files to build the Simatic S7 Connector Data Handling Getting Started example.

Description

Overview

This application example describes the implementation and usage of the Flow Creator using the example of a sinusoidal wave.

S7newarchi.PNG

General task

The application read and write some data of the PLC. The data is published via SIMATIC S7 Connector and Databus where the Flow Creator can retrieve the data. First, the SIMATIC S7 Connector, Common Configurator needs to be configured. Afterwards it is possible to subscribe the different topics in the Flow Creator and edit, filter and display the messages which obtain the PLC Data information. The data can be visualized with different graphics such as charts, gauge or forms.

Requirements

Prerequisites

  • Access to an Industrial Edge Management System (IEM)
  • Onboarded Industrial Edge Device on IEM
  • Installed System Configurators for Databus and SIMATIC S7 Connector
  • Installed System Apps Databus and SIMATIC S7 Connector
  • Installed Apps common configurator
  • Edge device is connected to PLC
  • TIA portal project loaded on PLC (e.g. for HowTos_Sinus_Wave application)

Used components

  • Industrial Edge Management V1.13.10/Kubernetes
    • Databus V2.2.0-3
    • Databus Configurator V2.3.1-4
    • Common import converter V2.0.0-1
    • Registry Service V1.8.0-2
    • Flow Creator V1.15.0
    • IIH Essentials V1.8.1
    • Common Configurator V1.9.0-4
    • SIMATIC S7 Connector V2.0.0-1
  • Industrial Edge Device V1.16.0-1-a-rc1
  • TIA Portal V18
  • S7-1500 (PLC)
  • Web browser (Mozilla or Chrome)

Further requirements

  • IE Device is onboarded to a Industria Edge Management
  • Databus Configurator is deployed to the IE Management
  • Databus is deployed to the IE Device
  • S7 connector configured via Common configurator
  • Flow Creator is deployed to the IE Device

TIA Project

The used TIA Portal project can be found in the src -file under the following name and is also used for several further application examples:

Configuration steps

You can find the further information about the following steps in the docs

  • Configure PLC Connection
  • Configure Flow Creator

Usage

Once the application is successfully deployed, the sinus wave can be deployed in the web UI of the Flow Creator. The sinus parameters such as frequency, amplitude or offset can be controlled in the web UI. The web UI can be accessed via the button in the upper right corner. With the submit button the set parameters from above will be written into the PLC. The sinus can be viewed in the chart below.

InkedDashboardsettings_LI.jpg

Sinuswavechart.PNG

Implementation

A detailed description of the implementation of the project can be found in the implementation file

Documentation

Contribution

Thank you for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section. Additionally everybody is free to propose any changes to this repository using Pull Requests.

If you haven't previously signed the Siemens Contributor License Agreement (CLA), the system will automatically prompt you to do so when you submit your Pull Request. This can be conveniently done through the CLA Assistant's online platform. Once the CLA is signed, your Pull Request will automatically be cleared and made ready for merging if all other test stages succeed.

License and Legal Information

Please read the Legal information.

Disclaimer

IMPORTANT - PLEASE READ CAREFULLY:

This documentation describes how you can download and set up containers which consist of or contain third-party software. By following this documentation you agree that using such third-party software is done at your own discretion and risk. No advice or information, whether oral or written, obtained by you from us or from this documentation shall create any warranty for the third-party software. Additionally, by following these descriptions or using the contents of this documentation, you agree that you are responsible for complying with all third party licenses applicable to such third-party software. All product names, logos, and brands are property of their respective owners. All third-party company, product and service names used in this documentation are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.

s7-connector-data-handling-getting-started's People

Contributors

ariefkasim avatar bala667 avatar evakaul avatar hummeln7872 avatar nicolew11 avatar rifelipe avatar stancd-siemens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

s7-connector-data-handling-getting-started's Issues

Change accuracy of sinus value

The Sinus values is displayed in the Gauge with > 15 decimal places, that's way to many decimal places.
Please change the accuracy to 3 decimal places. Link

Dashboard.PNG

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.