Coder Social home page Coder Social logo

sheerprogrammer / mtconnect.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trakhound/mtconnect.net

0.0 0.0 0.0 2.56 MB

MTConnect.NET is a fully featured .NET library for MTConnect® Agents, Adapters, and Clients. Supports MTConnect Versions up to 1.8. Supports .NET Framework 4.6.1 up to .NET 6

Home Page: http://www.TrakHound.com

License: Apache License 2.0

C# 100.00%

mtconnect.net's Introduction

MTConnect.NET Logo

MTConnect.NET

Overview

MTConnect.NET is a fully featured .NET library for MTConnect® to develop Agents, Adapters, and Clients. Supports MTConnect Versions up to 1.8.

The Agent, Buffers, and Adapter are separated into individual classes in order to allow for modular implementations such as the following :

  • A traditional Agent that uses a REST Api, in-memory buffer, and Adapters that communicate using the SHDR protocol
  • An agent imbedded with the Adapter (which elminates the need for the Adapter TCP communication)
  • Buffers that read from a permanent storage source (ex. SQL, SQLite, etc.)
  • Interfaces other than Http REST such as MQTT
  • Integration with cloud services such as AWS and Azure

Other features of MTConnect.NET :

  • Models framework for setting and accessing data using an object model as opposed to DataItem ID's and Types
  • Extensible through plugin libraries to extend Types
  • Full data validation
  • Fully documented objects using text from the MTConnect Standard. This enables Intellisense in applications such as Visual Studio.
  • Full list of Component, Composition, and DataItem types. See Devices for more information.
  • Default Units and UnitConversion is done automatically when sending Streams and when reading Streams.
  • Full client support for requesting data from any MTConnect Agent (Probe, Current, Sample Stream, Assets, etc.). See Clients for more information.

Applications

  • MTConnect Agent : A traditional MTConnect Agent using a REST Api, in-memory buffer, and SHDR for Adapters. Uses the MTConnectHttpServer as the web server.

  • MTConnect Agent - AspNetCore : Similar to the MTConenct Agent application but uses either the built-in Kestrel server or can be setup through IIS (Internet Information Services). This allows the agent to be used with all of the features available through ASP.NET and IIS such as security, permissions, monitoring, etc.

  • MTConnect MQTT Agent : (In-Progress) An MTConnect Agent with an MQTT broker built-in.

Beta

A Discussion has been created to log the progress of the Beta. Feel free to use this discussion to request features or ask questions.

Nuget Packages

The Nuget packages for the libraries in this repo are listed below:

Supported Frameworks

  • .NET 6.0

  • .NET 5.0

  • .NET Core 3.1

  • .NET Standard 2.0

  • .NET Framework 4.8

  • .NET Framework 4.7.2

  • .NET Framework 4.7.1

  • .NET Framework 4.7

  • .NET Framework 4.6.2

  • .NET Framework 4.6.1

MTConnect Version Compatibility

MTConnect.NET is designed to be fully compatible for all versions of the MTConnect standard. This is done through processing by the MTConnectAgent class before data is output. This allows the version to be a parameter when requesting data from the Agent. More information can be found in the Devices README.

NOTE: All data items have not been set for compatiblity as of yet. This should be finished before the Beta is completed.

Data Validation

Validation is performed on a Device, Component, Composition, or DataItem level through the classes in Devices. This allows for validation without the need to use XML schemas.

Releases

Releases are available under the Releases tab

Agents

Agents are implemented using the MTConnectAgent class and IMTConnectAgent interface. The MTConnectAgent class implements the MTConnect® standard and is inteded to be full implemenation. More information about agents can be found at Agents and Agent Applications can be found at Agent Applications.

Traditional Implementation

Traditional Agent Architecture

Embedded Implementation

Embedded Agent Architecture

Adapters

SHDR Adapter

The only adapter currently available is one using the SHDR protocol. More information can be found at Adapters.

Developer Notes

This repo along with the libraries and applications are free to use and hopefully will help those that are looking at either getting started using MTConnect or those that are looking to use MTConnect for more advanced use cases. The Models framework will hopefully make using MTConnect much easier and straight forward and promote better usage of the standard's lesser used features.

Feel free to comment, or create pull-requests for anything that could be coded, formatted, or worded better. Attention to detail and continuous improvement are important in manufacturing so they should be just as important for manufacturing software.

One of this project's goals is to expand the use cases for MTConnect and by breaking apart the functionalities of the agent, hopefully that will allow others to be creative in how to use the MTConnect standard.

Hopefully this repo will serve as a "one stop shop" for .NET developers looking to use MTConnect. If anyone is interested in developing a similar repo for another framework or language, feel free to use this as a guide as I imagine some of the classes (which is the most tedious part of the code) could be converted to other languages fairly easily.

This MTConnect.NET update is Part 1 of The TrakHound Project which is a project to provide open source code as well as products for each part of a full IIOT implementation. Please show support for our project at www.TrakHound.com.

Thanks for your interest in using these libraries and applications and feel free to contribute or give feedback.

- Patrick

mtconnect.net's People

Contributors

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