metalogi4ai/mtconnect-metaagent

By metalogi4ai

Updated 8 months ago

#mtconnect, #sparkplugb, #opcua, #nc-link, #rethinkdb, #influxdb, #elasticsearch, #kafka, #mqtt

Image
Integration & delivery
Internet of things
Machine learning & AI
2

7.0K

metalogi4ai/mtconnect-metaagent repository overview

Metalogi MetaAgent provides a rich set of plugins that extend the connectivity of the MTConnect agent and give you the flexibility of mixing and matching the use of any machines/devices from any standards or machine vendors. It allows for seamless data integration for MTConnect, NC-Link, OPC UA, and any other manufacturing standards. You can also stream your data continuously in real-time to the data services for RethinkDB, InfluxDB, Elasticsearch, Apache Kafka, MQTT, and Eclipse Sparkplug B.

To run the agent in this container with the local conf directory holding the configuration files and the log directory containing the logs.

docker run --rm --name mtconnect-metaagent -it -p 5001:5001/tcp -p 4840:4840/tcp -p 1883:1883/tcp \
   -v ./conf:/metaagent/config \
   -v ./log:/metaagent/log \
   metalogi4ai/mtconnect-metaagent:latest

The Docker image allows for easy configuration using the following three directories:

  • /metaagent/config: Configuration directory with agent.cfg and Device.xml
  • /metaagent/log: agent.log files

These ports in the container may be remapped. Update their mapping to match your agent.cfg.

  • 5001: MTConnect agent port
  • 1883: optional MQTT broker implemented for NC-Link
  • 4840: optional OPC UA server port

These MTConnect agent extension plugins are bundled in the Docker container. Their setup is configured in the agent.cfg that typically should contain these settings for the default handling using an example Mazak Adapter:

Devices = Device.xml
SchemaVersion = 2.3
WorkerThre
Files {
  schemas {
    Path = ../schemas
    Location = /schemas/
  }
  styles {
    Path = ../styles
    Location = /styles/
  }
  Favicon {
      Path = ../styles/favicon.ico
      Location = /favicon.ico
  }
}

DevicesStyle { Location = /styles/styles.xsl }
StreamsStyle { Location = /styles/styles.xsl }

logger_config {
  output = file /metaagent/log/agent.log
  level = debug
}

Adapters
{
  Mazak
  {
    Host = demo.metalogi.io
    Port = 7879
  }
}

One or more additional Sink sections can be added. The setup example for these extensions can be found:

Tag summary

Content type

Image

Digest

sha256:fdc999769

Size

77.7 MB

Last updated

8 months ago

docker pull metalogi4ai/mtconnect-metaagent