Giter VIP home page Giter VIP logo

harnsgateway's Introduction

Read this in other languages: English, δΈ­ζ–‡.

What's harnsGateway

HarnsGateway is used to connect industrial equipment.
It can be installed on embedded devices to as edge industrial gateway.
It can also be run as a service on the edge IoT platform to as soft gateway.

What's the functions of harnsGateway

  • Collect equipment data from south end
    Supported protocol list:
  1. ModbusTcp ModbusRtu ModbusRtuOverTcp
  2. S71500
  3. OpcUA
  • Control equipment from north end input Supported protocol list:
  1. ModbusTcp ModbusRtu ModbusRtuOverTcp
  2. S71500
  • Edge computing

How to Build

  1. git clone https://github.com/harnsFactory/harnsgateway.git
  2. cd harnsgateway
  3. make
  4. cd harnsgateway/_output/bin/

How to Start

  1. QuickStart
    ./gateway --mqtt-broker-urls=127.0.0.1:1883 &
  2. Systemd

How to Use

example Connect Modbus device

  1. Started modbus simulator(ModSim32) And update some parameters: deviceId = 1,functionCode = 3,And set first address value = 188.
    stepOne
    Then start service on port 502.
  2. Create modbus( api doc )device in harnsGateway.The device id property userd in MQTT topic.
    stepTow.png
  3. Get gateway meta information( api doc ).The gateway id property used in MQTT topic.
    stepThree.png
  4. Subscript MQTT topic.
    stepFour.png
    Topic is 'data/{gatewayId}/v1/{deviceId}'.
  5. Delete the Device.

How to Run Test

harnsgateway's People

Contributors

mryanchongbin avatar

Stargazers

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