Trex DCAS MES AI Ontology, OPC UA & OEE MCP Connector
Trex DCAS MES collects high-frequency PLC / OPC UA signals, station states, energy counters, speed losses and scrap codes across textile, automotive, food and metal plants. Feeding raw sub-second telemetry tables to an AI assistant overflows context tokens in seconds, while isolated MES queries lack ERP order priorities and spare-part inventory. Naditu serves bounded, governed plant objects linked to your ERP.
SQL / PostgreSQL Read Replica · Bounded Telemetry Rollups
Read-only on PLC/OPC UA streams · Approved CMMS/ERP actions
Canonical ontology mapping
Business objects & field-level governance.
Instead of exposing raw physical tables to an LLM, Naditu assembles governed domain objects and enforces caller role policies at query time.
Station & Line Live Status
Physical tables / entitiesWorkstation Master · Panel State · Active Order AssignmentGovernance & masking rulePlant, hall & line visibility scoped to operational roleOEE & Six Big Losses Rollup
Physical tables / entitiesShift OEE · Micro-Stoppages · Speed Loss · Setup/ChangeoverGovernance & masking ruleIdeal cycle time & OEE denominator rules locked in ontologyDowntime & Maintenance Breakdown
Physical tables / entitiesStoppage Intervals · Root-Cause Code · Maintenance InterventionGovernance & masking ruleTechnician & operator badge masking per KVKK / HR policyLot Traceability, Scrap & Energy
Physical tables / entitiesProduction Confirmation · Scrap Reason · Energy per Lot · ERP OrderGovernance & masking ruleUnit energy & scrap cost joined with ERP finance policies
| Business object | Physical tables / entities | Governance & masking rule |
|---|---|---|
| Station & Line Live Status | Workstation Master · Panel State · Active Order Assignment | Plant, hall & line visibility scoped to operational role |
| OEE & Six Big Losses Rollup | Shift OEE · Micro-Stoppages · Speed Loss · Setup/Changeover | Ideal cycle time & OEE denominator rules locked in ontology |
| Downtime & Maintenance Breakdown | Stoppage Intervals · Root-Cause Code · Maintenance Intervention | Technician & operator badge masking per KVKK / HR policy |
| Lot Traceability, Scrap & Energy | Production Confirmation · Scrap Reason · Energy per Lot · ERP Order | Unit energy & scrap cost joined with ERP finance policies |
Why raw SQL & generic MCP fail
Three physical schema traps solved in the layer.
Every operational system carries implicit join keys, status discriminators and multi-company rules that ungrounded Text-to-SQL guesses wrong.
- 01
High-frequency OPC UA tag floods vs. semantic rollup windows
Raw PLC tag tables record millions of counter ticks a week. Naditu routes AI queries to bounded shift, hour, order and stoppage-episode grains instead of raw tag dumps.
- 02
Unconfirmed operator stoppage codes ("Uncategorized / Stop 0")
Machines automatically log generic stop state until the operator classifies the reason at the panel. The ontology distinguishes pending-classification stops from confirmed root causes.
- 03
Counter resets and net-good vs. gross-counter math
PLC pulse counters wrap or reset on job changeovers, and gross counts include startup scrap. Naditu encodes net-good quantity logic reconciled with ERP confirmations.
Common engineering questions.
How does Naditu keep Trex DCAS telemetry from blowing up LLM token limits?
Instead of returning tens of thousands of raw PLC ticks, Naditu exposes structured ontology objects at stoppage-event, work-order, lot and shift grain with mandatory time bounds.
Can we cross-check Trex MES production counts against SAP, Logo or Nebim confirmations?
Yes. Naditu joins Trex station confirmations with ERP work-order receipts to surface unposted production or scrap discrepancies immediately.
Can an AI agent change PLC parameters or stop a machine through Naditu?
Never. Machine/PLC telemetry is strictly read-only in Naditu. Follow-up actions such as opening a maintenance ticket or reordering a spare part go through human-approved CMMS/ERP gates.
Engineering deep dives
Related architecture notes from the blog.
Trex DCAS MES, OPC UA telemetry, and OEE data for plant AI
Unifying Trex DCAS MES stations, OPC UA machine PLC tags, and OEE downtime reasons with ERP work orders inside a live manufacturing AI ontology.
Does Claude for Manufacturing work with SAP or your ERP?
Claude for Manufacturing connects to Oracle NetSuite and Infor M3. What a plant on SAP, Dynamics, Logo or another ERP can do, and what no connector solves.