How MTConnect Works
MTConnect is the open standard that lets CNC machines from different builders share what they are doing in one common language. Here is how it works, in plain terms, from the control to your monitoring screen.
Before MTConnect, getting data out of a CNC machine meant learning a different interface for every brand — and often paying for custom software for each one. A shop with three builders on the floor needed three integrations.
MTConnect fixed that by defining one common language for machine data. A Haas, a Mazak, and an Okuma that each support MTConnect describe their state the same way, so one piece of software can read all three.
MTConnect is read-only by design. It lets software watch machines. It cannot command them.
The four pieces of an MTConnect setup
| Piece | What it does | Where it runs |
|---|---|---|
| The machine control | Knows the machine's real-time state | On the machine |
| Adapter | Reads data from the control and translates it into a simple stream | Built into some controls, or on a PC or gateway |
| Agent | Collects adapter data, organizes it into the MTConnect model, and serves it over HTTP | Built into some controls, or on a PC or gateway |
| Client application | Requests data from the agent and turns it into something useful | Your monitoring software — for example FEAI Machine Monitor |
Some modern controls include the adapter and agent internally, so the machine itself answers MTConnect requests. Older machines usually need an external adapter. One agent can serve many machines, each as a separate device.
How a client gets data from an agent
MTConnect agents speak plain HTTP. Clients make four main kinds of request:
| Request | Returns | Used for |
|---|---|---|
/probe | The device description: components and every data item available | Discovering what a machine can report |
/current | The latest value of every data item | Live status |
/sample | A sequence of changes since a given point | Building a timeline without missing events |
/assets | Assets such as cutting tool information, where supported | Tool data and more |
Responses are XML (newer agents can also return JSON). Every observation carries a timestamp and a sequence number, so a client can request "everything since sequence 18,240" and reconstruct exactly what happened, even after a network blip — as long as the agent's buffer still holds those changes.
FEAI Machine Monitor uses exactly these requests — /probe, /current, and /sample — with HTTP GET only.
What MTConnect data looks like
Data items fall into three categories:
- Samples — continuously varying numbers, like spindle speed, feed rate, load, or position
- Events — discrete states and values, like execution state, controller mode, program name, or part count
- Conditions — health status: NORMAL, WARNING, or FAULT, with alarm codes and messages
For monitoring, the most important events are Execution (ACTIVE, READY, STOPPED, INTERRUPTED, FEED_HOLD, and others), PartCount, Program, ControllerMode, and Availability. What Data Does MTConnect Provide? covers each one.
A real request, step by step
Here is what happens when monitoring software connects to a machine:
- The client requests
http://192.168.1.50:5000/probeand learns the machine has a controller with a path, an execution data item, a part count, and a program. - It requests
/currentto get the latest values: execution ACTIVE, program O1234, part count 87. - It repeatedly requests
/sample?from=<next sequence>to receive every change since the last request. - It stores each change with its timestamp, building a minute-by-minute timeline.
- From that timeline it calculates running time, stops, utilization, OEE, and production.
MTConnect versions
The standard has evolved through 1.x versions to the 2.x series, adding richer device models, more data types, and JSON support. For basic monitoring — state, part counts, programs, alarms — almost any version provides what you need. The version that matters is whatever your agent runs, and good client software handles the differences.
Security and network considerations
- Read-only. Clients cannot change programs, offsets, or settings through MTConnect.
- Local. Agents run on your network. Nothing leaves the building unless your client software sends it out.
- Plain HTTP. Most agents use unencrypted HTTP on the shop network, so keep agents on a protected machine network or VLAN rather than exposing them to the internet.
- Firewalls. The monitoring PC needs to reach the agent's port. That is usually the only rule required.
FEAI Machine Monitor is local-first: it reads agents on your network and stores data on your own PC.
What MTConnect means for shop owners
If your machines support it, monitoring becomes a software decision, not a hardware project. You can try monitoring tools on your own machines without buying gateways.
It is multi-brand. Mixed fleets can be seen side by side in one view.
Support varies. Some controls include MTConnect as standard, others as a paid option, and some need a third-party adapter. Two machines from the same builder can differ by control version and options. Check machine by machine — our Haas, Mazak, Okuma, and Fanuc pages cover the common cases.
How to get started
- Inventory your machines — control model, options, and whether MTConnect is available.
- Look for existing agents — previous projects or dealers may have set them up. See Already Have MTConnect?
- Test one machine in a browser:
http://<ip>:<port>/current. How to Test an MTConnect Connection has the full checklist. - Connect a client and watch a week of data.
Ready to see your MTConnect data as a live timeline? Start free — 2 machines.
FAQ
What is MTConnect in simple terms?
An open, royalty-free standard that defines how manufacturing equipment publishes data — machine state, part counts, programs, alarms — in a common format over a normal network, so any compatible software can read it.
Who owns MTConnect?
The standard is maintained by the MTConnect Institute, which grew out of an initiative by AMT, the Association For Manufacturing Technology. It is free to use.
Is MTConnect read-only?
Yes. MTConnect is designed for reading data from equipment. Clients cannot command the machine through it, which is a major reason shops are comfortable using it.
What is the difference between an MTConnect agent and an adapter?
The adapter collects data from the machine control and translates it. The agent organizes that data and serves it to clients over HTTP. Some controls include both.
What port does MTConnect use?
Agents commonly listen on port 5000, but any port can be configured. Adapters commonly send data to the agent on port 7878.
Does MTConnect need internet access?
No. MTConnect works on your local shop network. Data only leaves the building if the client software sends it somewhere.