Skip to main content
Captia Technology

What is MTConnect

Definition

What is MTConnect?

MTConnect is an open, royalty-free standard for publishing machine-tool data as XML over HTTP, published as an ANSI standard and maintained by the MTConnect Institute. It is read-only by design: an adapter on the machine feeds an agent that exposes the data with standardised names, types and units, with no ability to command the machine.

MTConnect is an open, royalty-free standard that defines how a machine tool publishes its information: state, execution, alarms, axis positions, spindle loads and the active program. Data is exposed as XML over HTTP with a shared semantic vocabulary, read-only, so any application can consume it without proprietary drivers.

Where MTConnect shows up on the shop floor

MTConnect grew out of the machining world, driven by AMT (The Association For Manufacturing Technology), with its first release in 2008 and later standardisation as ANSI/MTC1.4-2018. In Spain it appears mainly in machining shops and the machine-tool sector: machining centres, CNC lathes and grinders with recent controls that ship the interface out of the box, and older machines connected through an adapter that speaks the control’s native API. The architecture has three pieces: a control-specific adapter that translates machine data into a timestamped delimited text format; an agent, an HTTP server that keeps a buffer and answers /probe (the equipment model), /current (a snapshot) and /sample (buffer history); and the consuming application. Every data item declares its category (continuous sample, discrete event or condition) along with its type and units, so consumers know what they are reading without a mapping table.

MTConnect versus OPC-UA and native CNC APIs

The unavoidable comparison is with OPC-UA, and the underlying difference is scope. MTConnect is read-only by design: there is no mechanism to write to the machine or change the program, which dramatically shortens the risk conversation with production and maintenance. It also arrives with the domain vocabulary already settled (what a spindle is, what an axis is, which execution states exist) whereas OPC-UA provides transport, security and a generic meta-model that needs a companion specification to acquire that semantics. OPC-UA, in turn, is bidirectional, builds certificates and encryption into the standard itself and covers any kind of equipment. They are not mutually exclusive: the joint companion specification from the OPC Foundation and the MTConnect Institute projects the MTConnect model into an OPC-UA address space. Against native control APIs (FOCAS on Fanuc and equivalents from other builders), MTConnect is not a replacement: it sits on top of them through the adapter and normalises them, so the application stops depending on one library per brand.

Getting MTConnect data into a data layer

Ingestion is an HTTP client: read /probe once to discover what the machine publishes, then query /sample incrementally. The agent assigns every data item an increasing sequence number and returns the nextSequence to use in the following request, which lets a collector rebuild history with no gaps and no duplicates. An interval parameter turns the query into a continuous stream, reaching sub-second refresh when the adapter delivers at that cadence.

The critical sizing decision is the agent buffer, which is circular and fixed: if the collector is disconnected for longer than the buffer covers, that stretch is lost irreversibly. Choosing its size is really choosing how much network outage you tolerate, and it should be set against the realistic worst case (a weekend with the office switch down), not the typical one. The second delicate point is the timestamp: the adapter sets it, so comparing two machines requires their clocks to be NTP-synchronised; without that, correlating a stoppage with the event that caused it stops being reliable. The third is volume: continuous data (axis position, spindle load) multiplies stream size when sampled at high frequency, while events and conditions are sparse and cheap; separating the two regimes avoids paying storage for signals nobody queries.

Installation does not touch the process: adapter and agent only read, they change neither the part program nor the control logic, and they usually run on the control PC itself or on an industrial PC on the shop-floor network. The work that may require a stop is enabling digital access on older machines when the Ethernet card or the communications option is missing. On security, the classic agent exposes plain HTTP without authentication, so in practice it is deployed inside a controlled segment rather than published on the corporate network. Normalising across brands is the subject of industrial interoperability.

MTConnect solves capture at the machine tool and feeds OEE calculation and execution in the MES. It coexists with OPC-UA as the general standard of OT/IT convergence, and when the CNC does not publish a specific value the fallback is reading it from the machine’s PLC. In larger architectures the stream normally ends in a historian or a Unified Namespace.

Related terms

Related solutions

How we apply this concept in practice:

Frequently asked questions

Can MTConnect write to the machine or change the program?
No. MTConnect is a read-only standard: it publishes machine information and defines no mechanism for writing to the control. Sending commands or programs requires the CNC native interface, OPC-UA or another vendor-specific path.
Can MTConnect be used with an older CNC?
It depends on whether the control offers a digital interface. If an accessible native API exists, an adapter translates it into MTConnect without touching the machine. If the control has no communications at all, the corresponding card or option has to be fitted first, and that intervention may require a stop.
MTConnect or OPC-UA for monitoring a machine shop?
MTConnect brings the machine-tool vocabulary already settled and is read-only, which simplifies approval on the shop floor. OPC-UA is bidirectional, covers any equipment and carries security in the standard. In mixed fleets they coexist, and a companion specification projects the MTConnect model onto OPC-UA.
Which MTConnect data is needed to calculate OEE?
Execution state and conditions cover availability; the part counter and reject events cover quality. Performance additionally needs an ideal cycle time per part number, which lives not in the machine but in the production data master.

Keep reading

This term belongs to the scope of Captia Connect. You can find every other definition in the full glossary.