MES · OPC-UA · INDUSTRIAL AI

Applied Industrial
Intelligence

From PLC data to operational diagnosis — in real time, with language your maintenance team actually understands.

By Jefferson — independent MES consultant with 7 years of field experience in Siemens, Rockwell, Aveva and Sepasoft projects.

ISA-95
Reference architecture
OPC-UA
Native protocol
JavaScript
Open implementation
PT + EN
Bilingual publication
How it works

Built for the Shop Floor

OPC-UA Agent

Real-time tag acquisition via ClientSubscription. PLC source timestamps for precise downtime calculation.

MES REST API

Enrichment with production order context, operator and parts/hour target via ISA-95 Level 3 integration.

OEE Engine

Per-shift Availability, Performance and Quality calculation. Event-precision downtime accumulation.

ReAct + LLM

Reasoning loop with Claude for root cause diagnosis. Delivery via Adaptive Card on Microsoft Teams.

Featured Series

OEE Agent — 8 Episodes
from PLC to Microsoft Teams

Data Inputs
  • 1 MachineState tag — OPC-UA
  • 2 FaultCode tag — OPC-UA
  • 3 Production order — MES API
  • 4 Fault history — MES API
OEE Agent
ReAct Loop
Observe · Reason · Act
Outcomes
  • Root cause diagnosis
  • Real-time shift OEE
  • Operational recommendation
  • Adaptive Card on Teams
Expected operational impact
Diagnosis time
Before: 30–60 min
After: < 2 min
Context available to technician
Before: Isolated fault code
After: Fault + Order + OEE + History
Systems consulted
Before: 3 separate systems
After: 1 Teams notification
Access EP01 →
What you'll learn

Topics that drive results

ISA-95

MES Architecture

System hierarchy, object models and Level 2–3 integration per the ISA-95 standard.

OPC-UA

PLC Integration

Data acquisition via ClientSubscription, certificate-based security and vendor-specific NodeIds.

OEE

Manufacturing KPIs

Availability, Performance and Quality calculation. MTBF, MTTR and micro-stoppage analysis.

LLM

AI Agents

ReAct pattern applied to industrial diagnosis. Integration with Claude API and local models via Ollama.

REST API

MES Integration

Consuming and publishing to MES platform REST APIs. Authentication, pagination and error handling.

Teams

Operational Alerts

Adaptive Cards for maintenance alerts with interactive actions. Webhooks and Bot Framework.

About the author

Jefferson

Independent consultant specializing in MES system integration with over 7 years of experience in industrial projects. Expertise in ISA-95 architecture, integration of Siemens and Rockwell controllers via OPC-UA, and implementation of MES platforms including Aveva and Sepasoft.

Smart Manufacturing Lab comes from real industrial projects — not a lab. Here you'll find what actually works in production: PLC integration, MES APIs, and AI agents that deliver diagnosis directly to your maintenance team.

ISA-95 OPC-UA MES OEE LLM Node.js Sepasoft Aveva
Consulting

Production environment implementation

Technical support for engineering and industrial IT teams in the evaluation, specification and implementation of MES solutions with AI agent integration — from OPC-UA data acquisition through to operational diagnostic delivery via Microsoft Teams.