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.
Related terms
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.