Editorial Technical Reference

Machine-tool data processing unit: the cabinet box that reads the CNC and serves MTConnect or OPC UA data

The small fanless computer bolted into a CNC machine's cabinet to collect its data · MTConnect adapter and agent, OPC UA for Machine Tools variables, and how NIST wired and fenced off its own shop floor

On a machine tool, the 'processing unit' that plant IT asks for can be a small fanless computer in or beside the electrical cabinet, as in the picture: Ethernet and serial lines from the CNC go in, and a standard data stream comes out for monitoring, MES or analytics software. What it must do is set by three things: which interface the controller can speak (an MTConnect adapter, an OPC UA server, or neither), which signals the plant wants and how fast they change, and how the box is networked without exposing an old controller to the plant network.

Edge data-collection units for CNC machine tools: the computer that hosts the controller adapter, an MTConnect agent or an OPC UA for Machine Tools server, and its network connection to MES and monitoring software. Automatic assembly cells such as O-ring fitting machines are covered on the Automatic O-ring assembly page. The hardware ruggedness of box PCs (cooling, temperature range, shock, power input) is covered on the Industrial computer page, real-time soft-PLC control computers on the Control computer for real-time machine control page, and plain serial-to-Ethernet converters on the Serial device server page.

CNFX editorial research · Sources checked October 12, 2026 · 3 sources

Finned fanless computer mounted in a machine control cabinet with serial and Ethernet cables plugged in, a network switch and terminal blocks beside it, a second unit and circular connector cables on a bench, and a CNC machine behind
Illustrative cabinet-mounted data processing unit beside a CNC machine

01

Adapter in, agent out: SHDR lines from the CNC, HTTP documents on port 5000 and a 131,072-slot buffer

MTConnect splits the job in two. An adapter talks to the controller's own interface; an agent turns what the adapter sends into standard documents that any client can request. Both can run on the same cabinet box.

NIST describes the adapter as an optional piece of software or hardware that interfaces with the equipment's programming interface, and the agent as a special-purpose HTTP server that publishes MTConnect response documents. Clients make four requests: probe (the device model), current (the latest values), sample (a specified number of entries) and asset. NIST notes that the agent reports only changes in data items, and that the availability of data is the only data item a device must report to comply with the standard. [3]

The MTConnect Institute's C++ reference agent shows the default settings such a box starts with: it listens for HTTP on port 5000, takes an adapter on port 7878 in its minimal example, and keeps samples, events and conditions in a circular buffer of 2^17 = 131,072 slots, with up to 1,024 assets in memory. Its README describes SHDR as a timestamped pipe-delimited text stream over plain TCP, created for CNC controls and legacy equipment that cannot support MQTT or HTTP, and lists it as the adapter input for CNC and legacy equipment, with MQTT for IoT sensors and PLC networks. [1]

Editorial calculation: the buffer is counted in observations, not time. Assuming a machine whose adapter sends 50 changed values per second, 131,072 slots cover 131,072 ÷ 50 ≈ 2,621 s, about 44 minutes; a client that is offline longer than that loses the gap unless the buffer is enlarged or data is archived elsewhere. At 5 changes per second the same buffer covers about 7.3 hours.

Setting or requestReference value or meaningDecide for your machine
Agent HTTP port5000 by default [1]Port allowed through the cell firewall
Adapter connectionHost and port per adapter; 7878 in the minimal example [1]Which adapter the controller vendor supplies
BufferSizePower of 2; default 17 = 131,072 slots [1]Size against your change rate and client outages
MaxAssets1,024 by default [1]Tool and fixture assets to be stored
probe / current / sample / assetDevice model, latest values, a run of entries, asset documents [3]Which requests your MES or dashboard uses

For a quotation, give the controller make, model and software version, whether the builder supplies an MTConnect adapter or an OPC UA server, the data items wanted, the expected change rate, and how long data must survive a network outage.

02

Legacy machine signals and the OPC 40501-1 variables that replace them: production state, feed override, alarm severity 667

Where the controller or the box runs an OPC UA server instead, OPC 40501-1 (OPC UA for Machine Tools, Part 1, release 1.02.0 of 1 November 2024) gives the machine one information model for monitoring and job overview, aimed at MES, SCADA, ERP and analytics clients. [2]

The specification's informative Annex B maps the signals machine builders used to wire for leading customers onto its variables. A data processing unit that has to feed an existing dashboard can use this mapping to derive the old signals from the new model, or the other way round. [2]

Legacy signalOPC 40501-1 sourceComment from the specification
Productionv1.00: channel mode, active program state, feed override and channel modifiers; from v1.01: machine item state Executing and operation mode Processing [2]Combination of states, not one bit
Override 0, 70–99, ≥100 or =100 %ChannelMonitoringType FeedOverride as an absolute value [2]Per NC channel; a combined machine-level value also exists
Automatic, MDA or JOG modeChannelMonitoringType ChannelMode [2]Per channel
Spindle runningSpindleMonitoringType IsRotating [2]Per spindle
Error (any error present)Any alarm with severity 667 or above; from v1.01 also item state OutOfService [2]Threshold set in the annex
Technical breakdownItem state OutOfService with operation mode Processing [2]Added in v1.01
Organisation breakdownItem state NotExecuting with operation mode Processing [2]Added in v1.01
Number of total partsPartsProducedInLifetime, or PartsCompleted per job from v1.01 [2]Lifetime counter is not identical to the legacy signal

OPC 40501-1 deprecates its own PowerOnDuration variable (full hours since first power) in version 1.02 in favour of the counter in the OPC 40001-1 operation counters; ask which one the controller's server actually fills. [2]

03

Cabling and segregation around the box: Cat6 to a cell switch, access points about 6 m up, data pushed one way out

NIST's report on its Smart Manufacturing Systems Test Bed (AMS 200-2) is a worked example of networking these units on a real shop floor with milling, turning and inspection equipment.

NIST first aimed to use wireless links throughout but met interference from walls, metal columns, the metal in the machines, rotating spindles and the existing business wireless network, and was concerned about bandwidth once high-frequency sensors such as accelerometers were added. It settled on three cells: every controller and sensor in a cell is wired with Cat6 cable to a switch, and only the link out of the cell is wireless, through access points installed about six metres above the floor so the signal passes over the machines. [3]

The router behind the access points leads into a segmented research equipment network with strict firewall policies, because, NIST explains, machine tool controllers running outdated operating systems present a security risk; data may only be pushed from the data aggregator out to the organisational network. [3]

NIST also chose one agent per machine writing a daily 24-hour file in the SHDR pipe-delimited format (timestamp in UTC, data tag, value), restarted at a set time outside normal shop operations, archived and replayed into one larger agent for clients. It gives the reason: one interface for client applications without shutting down the whole data stream to service some devices. [3]

Ask the supplier where the unit sits in this chain (per-machine adapter and agent, or a cell-level aggregator), how it stores data during a network outage, which direction traffic may flow through the firewall, and how the controller's own network port is isolated.

04

Machine and data details to send with an enquiry

Paste it into your enquiry below or into an email to a maker, then replace every bracket.

Machine: [type; controller make, model and software version]
Interface available: [MTConnect adapter; OPC UA server and companion spec version; vendor API; serial port only]
Data wanted: [states; overrides; spindle and axis values; alarms; part counts]
Rate: [expected changes per second; high-frequency sensors to add]
Storage: [buffer size; local archive; outage duration to bridge]
Network: [cabled or wireless; cell switch; firewall direction; IT security rules]
Mounting: [inside cabinet or beside; supply voltage; space]

See manufacturer records Send an enquiry through CNFX

Makers of machine-tool data collection units

Manufacturer profiles associated with Processing Unit.

Sourcing Processing Unit from China?
Tell us your specification and target quantity — we will match it against manufacturer records and come back with the factories that fit.
Request manufacturers We manufacture this

Explore company information and manufacturing capabilities, then discuss the scope of your project with a relevant supplier.

Share this page

Buyer questions

What is the difference between an MTConnect adapter and an agent?

NIST describes the adapter as software or hardware that talks to the equipment's interface and the agent as an HTTP server that publishes standard MTConnect documents to clients through probe, current, sample and asset requests. [3]

How much data does an MTConnect agent buffer?

The reference agent's default BufferSize of 17 gives 2^17 = 131,072 slots for samples, events and conditions; how long that lasts depends on how many values change per second. [1]

How does OPC UA for Machine Tools signal that the machine has an error?

OPC 40501-1 Annex B maps the legacy error signal to any alarm with severity 667 or above, and from version 1.01 also to the machine item state OutOfService. [2]

Should machine-tool data units use Wi-Fi?

NIST found interference from walls, metal and spindles on its shop floor and wired each cell with Cat6 to a switch, using wireless only for the link out of each cell. [3]

Sources and what still needs a direct check

Sources checked 2026-10-12. The MTConnect Institute maintains the open-source C++ reference agent; the OPC Foundation publishes the OPC 40501-1 companion specification; NIST's AMS 200-2 reports how its own test bed collects data from CNC machines.

  1. MTConnect Institute — cppagent, MTConnect C++ reference agent: README (quick start, SHDR and configuration parameters) ↗ Standards body reference implementation Return to text ↑
  2. OPC Foundation — OPC 40501-1 OPC UA for Machine Tools, Part 1: Machine Monitoring and Job Management, release 1.02.0 (2024-11-01) ↗ Companion specification Return to text ↑
  3. Helu, M. & Hedberg, T. — Recommendations for collecting, curating, and re-using manufacturing data, NIST AMS 200-2 (Smart Manufacturing Systems Test Bed) ↗ Government laboratory report Return to text ↑

Still to check yourself

  • Confirm the controller offers an adapter or OPC UA server.
  • Size the agent buffer against change rate.
  • Map required legacy signals to OPC 40501-1.
  • Agree firewall direction and network segment.
  • Plan local storage for network outages.
Buyer enquiry

Request manufacturing insight for Processing Unit

Ask for use case, specification boundaries, supplier type, and RFQ preparation information for this product.

Where it goes
Straight to the CNFX editorial desk, and to the manufacturer if this product is linked to a claimed profile. Nothing is broadcast to a supplier list.
Your details stay here
We do not sell or rent enquiry data, and we do not add you to a mailing list. Used only to answer this request.
No commission, no middleman
CNFX is a directory. We take no cut of any order and never negotiate on a supplier's behalf.
What to include
Share your product specifications, quantity, destination and target delivery date.

Your business information is used only to process this request.

Thank you! Your message has been sent. We'll respond within 1–3 business days.
Sorry, we couldn't send your message. Please try again, or email us at [email protected].

Need to Manufacture Processing Unit?

Compare manufacturer profiles with relevant product and process capability.

Previous Product
Z-axis Ram/Spindle
Last Product
Get QuotesChat