mes-connector

Ingest machine states, production counts, and downtime events from MES and SCADA systems.

1|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/tapway/shogun-os --skill mes-connector-tapway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mes-connector
Source: https://github.com/tapway/shogun-os/tree/main/skills/manufacturing/mes-connector
Command: npx skills add https://github.com/tapway/shogun-os --skill mes-connector-tapway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymodbus, minimalmodbus, and includes scripts (resource) components.

What problem does it solve? Manufacturing teams need real-time visibility into shop-floor equipment, but machine data is locked inside MES, SCADA, and PLC systems on isolated OT networks. This Skill connects AI agents to those systems so machine states, production counts, and downtime events can be read programmatically. ## Core Features & Use Cases - Multi-Adapter Connectivity: Connects to Ignition by Inductive Automation via MQTT (Sparkplug B) and REST, plus Modbus TCP for direct PLC register reads on legacy equipment. - Standardized Data Reads: Reads machine states, production counts, downtime events, and quality metrics through a unified adapter interface with configurable tag mapping. - Use Case: A production manager asks the agent for the current state of equipment EQ-001; the Skill connects to the Ignition gateway, reads the OPC-UA tags, and returns state, speed, and uptime in seconds. ## Quick Start Ask the agent to connect to the Ignition MES server and report the current state and production count for equipment EQ-001.

Frequently Asked Questions about mes-connector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect an AI agent to an Ignition SCADA system?

Use the Ignition adapter with the gateway URL, username, and password set via environment variables. The adapter calls Ignition gateway scripts over REST to read OPC-UA tag values for machine states, counts, and quality metrics.

How to read PLC data over Modbus TCP in Python?

Use the Modbus adapter with pymodbus installed, providing the PLC host, port, and unit ID. It reads holding registers and converts register pairs into 32-bit integers and floats for counts, cycle times, and speed.

What is the difference between Ignition MQTT and Ignition REST adapters?

The MQTT adapter uses Sparkplug B for high-rate real-time subscriptions to machine state changes. The REST adapter suits medium-rate historical queries, tag definitions, and batch data retrieval.

Can Modbus TCP provide downtime event history?

No. Modbus TCP reads only current register values and does not store event history, so downtime events return real-time state only. For historical downtime capture, use the Ignition adapters instead.

Why does the Modbus connection fail to read registers?

Common causes include pymodbus not being installed, incorrect host or port, wrong unit ID, or reading the wrong register type. Verify network connectivity to the OT network and confirm the register map matches the PLC configuration.