---
title: How to collect data from your CNC machine
description: If you need to see what’s costing your business money, you need to know how much your machines are down.
image: https://trackmymachines.com/hubfs/Imported_Blog_Media/logo-May-11-2026-02-29-16-0994-PM.png
---

<https://trackmymachines.com/>

Platform

See your fleet, live and connected.

[Book a demo](https://trackmymachines.com/book-a-demo)

### Solutions

[Production Tracking Increase productivity](https://trackmymachines.com/production-tracking-software) [Energy Tracking Reduce carbon footprint](https://trackmymachines.com/energy-tracking) [AI Assistant (MCP) New Ask your factory anything](https://trackmymachines.com/mcp)

### Industries

[Product Manufacturing For OEM and brands](https://trackmymachines.com/product-manufacturers) [Subcontract Manufacturing For machine shops](https://trackmymachines.com/subcontract-manufacturing) [Automotive For tier 1 and tier 2 suppliers](https://trackmymachines.com/automotive-production-monitoring)

### About

[Hardware Plug & play hardware](https://trackmymachines.com/hardware) [Company Who we are](https://trackmymachines.com/about) [ROI Calculator See how much you'll save](https://trackmymachines.com/roi-calculator) [Contact Us Get in touch with any questions](https://trackmymachines.com/contact-us)

[Case Studies](https://trackmymachines.com/resources?type=case-study)

Resources

[Blog Industry insights](https://trackmymachines.com/resources?type=blog) [Podcast Interviews with top manufacturers and more](https://trackmymachines.com/resources?type=podcast) [Tools Templates, trackers, and spreadsheets for manufacturers](https://trackmymachines.com/resources?type=tools)

[Pricing](https://trackmymachines.com/pricing)

[Request demo](https://trackmymachines.com/book-a-demo)

Platform

### Solutions

[Production Tracking Increase productivity](https://trackmymachines.com/production-tracking-software) [Energy Tracking Reduce carbon footprint](https://trackmymachines.com/energy-tracking) [AI Assistant (MCP) New Ask your factory anything](https://trackmymachines.com/mcp)

### Industries

[Product Manufacturing For OEM and brands](https://trackmymachines.com/product-manufacturers) [Subcontract Manufacturing For machine shops](https://trackmymachines.com/subcontract-manufacturing) [Automotive For tier 1 and tier 2 suppliers](https://trackmymachines.com/automotive-production-monitoring)

### About

[Hardware Plug & play hardware](https://trackmymachines.com/hardware) [Company Who we are](https://trackmymachines.com/about) [ROI Calculator See how much you'll save](https://trackmymachines.com/roi-calculator) [Contact Us Get in touch with any questions](https://trackmymachines.com/contact-us)

See your fleet, live and connected.

[Book a demo](https://trackmymachines.com/book-a-demo)

[Case Studies](https://trackmymachines.com/resources?type=case-study)

Resources

[Blog Industry insights](https://trackmymachines.com/resources?type=blog) [Podcast Interviews with top manufacturers and more](https://trackmymachines.com/resources?type=podcast) [Tools Templates, trackers, and spreadsheets for manufacturers](https://trackmymachines.com/resources?type=tools)

[Pricing](https://trackmymachines.com/pricing)

[Request demo](https://trackmymachines.com/book-a-demo)

Article

# How to collect data from your CNC machine

If you need to see what’s costing your business money, you need to know how much your machines are down.

![Rowan Easter-Robinson](https://trackmymachines.com/hs-fs/hubfs/Profile%20Pictures/rowan.jpg?width=40&height=40&name=rowan.jpg)

Rowan Easter-Robinson

Jan 13, 2022, 7:30:00 AM3 min read

![How to collect data from your CNC machine](https://trackmymachines.com/hs-fs/hubfs/Imported_Blog_Media/logo-May-11-2026-02-29-16-0994-PM.png?width=1646&height=1057&name=logo-May-11-2026-02-29-16-0994-PM.png)

In this article

[Native data collection](https://trackmymachines.com/resources/blog/measuring_machine_downtime#native-data-collection) [Haas Machine Data Collection](https://trackmymachines.com/resources/blog/measuring_machine_downtime#haas-machine-data-collection) [Other machine data collection methods](https://trackmymachines.com/resources/blog/measuring_machine_downtime#other-machine-data-collection-methods) [Struggling to link up all your different machines?](https://trackmymachines.com/resources/blog/measuring_machine_downtime#struggling-to-link-up-all-your-different-machines)

 Share Article

Link copied

If you need to see what’s costing your business money, you need to know how much your machines are down. There are some manual methods you could use, the simplest being an excel spreadsheet.

You need to log each day:

1. Total possible hours up (aka “In-Shift” time)
2. Hours of downtime

Most of the time shops will work 8 hours or 16 hours, depending on if there’s two shifts or one. So that’s the easy part, measuring actual machine downtime is the hard part. This relies on something you’ve probably seen on a CNC control before: manual data input. It’s worth noting the old adage here

## Native data collection

If your manual data input is unreliable then any inference you make on the resulting data might be wrong. Basing real business decisions on bad data could be costly or even catastrophic to your business. There is another way - automatic data collection.

This could be done in-house, there’s many options available to automatically collect data for your machine natively without much special hardware.

### Haas Machine Data Collection

If you’ve got a Haas CNC, you can use [Haas MDC](https://www.haascnc.com/service/troubleshooting-and-how-to/how-to/machine-data-collection---ngc.html) to measure uptime and downtime.

#### Haas built before 2016

With a machine built before 2016 you have to connect to the RS-232 parallel port on the machine. This is the grey 25 pin socket on the right hand side of VF1 milling machines, it may be elsewhere on other machines.

You can get an RS-232 to usb converter to directly plug it into your PC. If you don’t want your PC directly next to the machine however, you can add a wifi adapter to your RS-232 port with a [Moxa box](https://www.moxa.com/en/products/industrial-edge-connectivity/serial-device-servers/general-device-servers/nport-5100-series/nport-5110).

#### Haas built after 2016

If your Haas was built after 2016, you can directly connect it to your network with an ethernet cable. The default port to collect data from is 5051.

#### Haas commands

If you’re interested in machine downtime, the code you want to send to the machine is `?Q500`, this returns

```
PROGRAM, O0001, IDLE, PARTS, 1
```

Where O0001 represents the selected program, IDLE represents the current machine status, and 1 is the number of parts made so far.

There are loads of other codes you can send to the machine to get information such as cycle time. For more information click [here](https://www.haascnc.com/service/troubleshooting-and-how-to/how-to/machine-data-collection---ngc.html)

### Other machine data collection methods

Each machine control has its own data collection methods, most of these use TCP connections (same as your web browser). For example:

1. Fanuc - [Focas II library for interfacing](https://www.fanuc.eu/rs/en/cnc/development-software/focas-development-libraries)
2. Siemens - [MyMachines](https://www.dex.siemens.com/mindsphere/Applications/Manage-MyMachines)
3. Mazak - [MTConnect](https://www.mazakusa.com/machines/technology/digital-solutions/mtconnect/)

## Struggling to link up all your different machines?

If you’ve got loads of different machine tools with different controls, it takes a lot of work to get everything talking together. Maybe it’s time to try a different approach. TrackMyMachines offers machine data collection for *any* machine tool, whether it’s new, old, manual or CNC, 5-axis or 3-axis - we can collect data from it.

See your fleet, live and connected.

Connect your first machine in under 15 minutes and watch downtime, OEE, and part counts stream in real time. We'll walk you through it.

[Book a demo](https://trackmymachines.com/book-a-demo) [See pricing](https://trackmymachines.com/pricing)

[Previous Article What is planned and unplanned downtime in Manufacturing?](https://trackmymachines.com/resources/blog/what_is_downtime_in_manufacturing) <https://trackmymachines.com/resources?type=blog> [Next Article 3 Ways to improve your machine productivity](https://trackmymachines.com/resources/blog/3_ways_to_improve)

<https://trackmymachines.com/>

Industrial intelligence for the modern factory.

- <https://www.youtube.com/@TrackMyMachines?app=desktop>
- <https://www.instagram.com/trackmymachines/>
- <https://www.facebook.com/trackmymachines>
- <https://www.linkedin.com/company/trackmymachines>

## Solutions

- [Production Tracking](https://trackmymachines.com/production-tracking-software)
- [Energy Tracking](https://trackmymachines.com/energy-tracking)
- [AI Assistant (MCP)](https://trackmymachines.com/mcp)

## Industries

- [Product Manufacturing](https://trackmymachines.com/product-manufacturers)
- [Subcontract Manufacturing](https://trackmymachines.com/subcontract-manufacturing)
- [Automotive](https://trackmymachines.com/automotive-production-monitoring)

## About

- [Pricing](https://trackmymachines.com/pricing)
- [Hardware](https://trackmymachines.com/hardware)
- [Company](https://trackmymachines.com/about)
- [ROI Calculator](https://trackmymachines.com/roi-calculator)
- [Contact Us](https://trackmymachines.com/contact-us)

## Resources

- [Blog](https://trackmymachines.com/resources?type=blog)
- [Podcast](https://trackmymachines.com/resources?type=podcast)
- [Tools](https://trackmymachines.com/resources?type=tools)
- [Case Studies](https://trackmymachines.com/resources?type=case-study)

## Legal

- [Cookie Policy](https://trackmymachines.com/cookies)
- [Privacy Policy](https://trackmymachines.com/privacy)

 © 2026 TrackMyMachines Ltd. All rights reserved.

 Tiered pricing

## One price per machine. Volume brings it down.

Machinesper/ machine per/ month

1. 1–4 machines£75
2. 5–9 machines£61
3. 10–24 machines£55 (the standard price)
4. 25–49 machines£49
5. 50–99 machines£44
6. 100–199 machines£40
7. 200+ machines£36

Hardware and connectivity included at every band.

Not sure of your fleet size? Pilot it on 3 machines for 3 months, £300.

[Get in touch about a pilot](https://trackmymachines.com/book-a-demo)

Pilot offer

## Pilot it on 3 machines for 3 months.

- 3 boxes, clip-on install
- 3 months of dashboards and reports
- The app on your own devices

£300for the whole pilot

Nothing to cut, fitted in under an hour. See your own data, then decide.

[Start a pilot](https://trackmymachines.com/book-a-demo)

```json
{
  "@context" : "https://schema.org",
  "@id" : "https://trackmymachines.com/#organization",
  "@type" : "Organization",
  "address" : {
    "@type" : "PostalAddress",
    "addressCountry" : "GB",
    "addressLocality" : "Sheffield",
    "postalCode" : "S3 8GG",
    "streetAddress" : "Aizlewoods Mill, Nursery Street"
  },
  "contactPoint" : {
    "@type" : "ContactPoint",
    "areaServed" : "GB",
    "availableLanguage" : "en",
    "contactType" : "sales",
    "telephone" : "+44 114 489 9901"
  },
  "description" : "TrackMyMachines makes live machine monitoring for manufacturers: a clip-on box on every machine and one dashboard for utilisation, OEE, downtime and energy, with the hardware included.",
  "foundingDate" : "2021",
  "identifier" : {
    "@type" : "PropertyValue",
    "propertyID" : "Companies House",
    "value" : "14889462"
  },
  "legalName" : "TrackMyMachines Ltd",
  "logo" : "https://144736776.fs1.hubspotusercontent-eu1.net/hubfs/144736776/TMM%20Branding/TrackMyMachines%20Logo.svg",
  "name" : "TrackMyMachines",
  "sameAs" : [ "https://www.linkedin.com/company/93297689/", "https://www.youtube.com/@TrackMyMachines", "https://www.instagram.com/trackmymachines/", "https://www.facebook.com/trackmymachines/", "https://www.capterra.co.uk/software/1071514/TrackMyMachines", "https://www.getapp.com/operations-management-software/a/trackmymachines/", "https://www.softwareadvice.com/product/523691-TrackMyMachines/" ],
  "telephone" : "+44 114 489 9901",
  "url" : "https://trackmymachines.com",
  "vatID" : "GB508443495"
}
```

```json
{
  "@context" : "https://schema.org",
  "@id" : "https://trackmymachines.com/resources/blog/measuring_machine_downtime#article",
  "@type" : "BlogPosting",
  "articleSection" : "Blog",
  "author" : {
    "@id" : "https://trackmymachines.com/resources/author/rowan-easter-robinson#person",
    "@type" : "Person",
    "image" : "https://144736776.fs1.hubspotusercontent-eu1.net/hubfs/144736776/Profile%20Pictures/rowan.jpg",
    "name" : "Rowan Easter-Robinson",
    "url" : "https://trackmymachines.com/resources/author/rowan-easter-robinson",
    "worksFor" : {
      "@id" : "https://trackmymachines.com/#organization"
    }
  },
  "dateModified" : "2026-05-11T15:45:17+0000",
  "datePublished" : "2022-01-13T07:30:00+0000",
  "description" : "If you need to see what’s costing your business money, you need to know how much your machines are down.",
  "headline" : "How to collect data from your CNC machine",
  "image" : [ "https://144736776.fs1.hubspotusercontent-eu1.net/hub/144736776/hubfs/Imported_Blog_Media/logo-May-11-2026-02-29-16-0994-PM.png?width=1200&name=logo-May-11-2026-02-29-16-0994-PM.png" ],
  "inLanguage" : "en-GB",
  "mainEntityOfPage" : {
    "@id" : "https://trackmymachines.com/resources/blog/measuring_machine_downtime",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@id" : "https://trackmymachines.com/#organization",
    "@type" : "Organization",
    "name" : "TrackMyMachines"
  }
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "BreadcrumbList",
  "itemListElement" : [ {
    "@type" : "ListItem",
    "item" : "https://trackmymachines.com/",
    "name" : "Home",
    "position" : 1
  }, {
    "@type" : "ListItem",
    "item" : "https://trackmymachines.com/resources",
    "name" : "Resources",
    "position" : 2
  }, {
    "@type" : "ListItem",
    "item" : "https://trackmymachines.com/resources?type=blog",
    "name" : "Blog",
    "position" : 3
  }, {
    "@type" : "ListItem",
    "item" : "https://trackmymachines.com/resources/blog/measuring_machine_downtime",
    "name" : "How to collect data from your CNC machine",
    "position" : 4
  } ]
}
```

```json
{
  "@context" : "https://schema.org",
  "@id" : "https://trackmymachines.com/#website",
  "@type" : "WebSite",
  "potentialAction" : {
    "@type" : "SearchAction",
    "query-input" : "required name=search_term_string",
    "target" : "https://trackmymachines.com/search?q={search_term_string}"
  },
  "url" : "https://trackmymachines.com"
}
```