Mitsubishi PLC and CNC Data Acquisition: How the Data Actually Moves
This page explains the signal path from a Mitsubishi PLC or CNC controller to a usable dataset, and where it usually breaks. It is written for controls engineers, maintenance leads, and buyers who have to specify a data-collection setup that survives real production.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
Where Mitsubishi PLC and CNC data acquisition data comes from
Every data point on a machine starts as a memory address. In a Mitsubishi PLC that address is a device such as D100, M50, or X0. In a CNC controller the useful values live in parameters such as spindle load, feed override, tool number, and alarm history. Data acquisition is simply the job of copying those addresses on a schedule and putting them somewhere a database can read.
That copy is not free. Each read costs bus time and CPU time, and the controller is busy running the machine. If you poll too fast, you slow the machine. If you poll too slow, you miss short events such as a 200 ms torque spike that explains a scrapped part. Most of the engineering work is choosing the right middle ground.
There are three practical read paths. Direct polling over Ethernet or serial, where the collector asks for values. Cyclic broadcast, where the controller publishes a block of values on a fixed cycle. And event-driven reporting, where the controller sends a message only when a condition changes. Each has a different cost and a different failure mode.
- 1Direct pollingSimple to build, but read rate is capped by bus latency and controller load.
- 2Cyclic broadcastPredictable timing, larger bandwidth use, harder to map to part-level traceability.
- 3Event-drivenCheapest on network load, but you must define the trigger conditions carefully.
Protocol choices and what they cost you
Mitsubishi controllers speak several protocols, and the choice usually decides the rest of the architecture. MC Protocol over Ethernet is the common one for PLCs: it reads and writes devices by address, and it is well documented. For newer controllers, an OPC UA server or an MTConnect agent gives you a named data model instead of raw addresses.
The trade-off is naming versus speed. MC Protocol gives you raw addresses, so your collector must know that D100 is spindle load and D102 is cycle count. OPC UA gives you readable tags, which is easier to maintain, but the server layer adds latency and one more thing that can restart after a power event.
Serial protocols still exist on older machines, and they are the ones that cause trouble. RS-232 or RS-485 at 9,600 baud can carry roughly 960 bytes per second. A 40-word payload at 2 Hz will fill that link. Plan the data set before you plan the cable.
One more constraint: vendor protocol libraries are licensed per connection or per node. A plant with 30 machines can turn a small project into a recurring cost. Confirm licensing before you commit to a topology.
- 1MC Protocol over EthernetGood for device-level reads. You own the address map and its documentation.
- 2OPC UASelf-describing tags, better for mixed-vendor plants, more moving parts.
- 3MTConnectRead-only and machine-tool oriented. Useful when you only need status and counts.
- 4Serial Modbus or proprietaryStill common on legacy cells. Bandwidth is the hard limit, not the software.
Sampling rate, resolution, and the events you will miss
A 1 Hz sample tells you the machine was running. It does not tell you why a bore came out 0.02 mm oversize. Servo torque, spindle load, and axis following error change on a much shorter timescale, often in the 10 to 100 ms range. If those signals matter, you need a faster path than a plant-wide poll.
The usual fix is buffering at the edge. A small industrial PC or gateway sits next to the machine, reads fast, stores locally, and forwards a compressed or aggregated stream upstream. The machine network stays isolated, and a dropped plant link does not lose data. The gateway holds a few hours of samples and replays them when the link returns.
Resolution matters as much as rate. If a PLC register stores spindle load as an integer from 0 to 4,000 counts, one count is 0.025 percent. That is fine for trend charts. It is not fine for detecting a worn tool by a 0.5 percent load shift. Check the raw register scaling before you trust the trend.
Timestamping is the third piece. PLC scan time, gateway clock, and server clock all drift. Use one time source, typically NTP on the gateway, and record the scan timestamp at the source. Without it, two signals from the same cycle can appear seconds apart in the database.
- 11 HzEnough for uptime, part counts, and shift reporting.
- 210 HzEnough for cycle-time analysis and most alarm correlation.
- 3100 Hz and aboveNeeded for torque, vibration, and tool-wear signatures. Requires edge capture.
What data acquisition cannot tell you
Controller data describes the machine, not the part. A stable spindle load curve means the cut was consistent. It does not prove the finished bore is within 0.005 mm. If the tool was set wrong or the fixture moved, the load curve can look perfect while the part is out of tolerance. Pair controller data with metrology, not instead of it.
There are also signals the controller never sees. Coolant concentration, ambient temperature, and raw material hardness all affect the result and usually sit outside the PLC. A common mistake is to build a large dashboard and then discover the strongest predictor of scrap was never wired into the system.
Safety and control networks should stay separate. Tapping a network that carries safety I/O to add a data collector is a real risk. Read from a separate port or a mirror, and keep the collector on a segment that cannot write to the controller.
Finally, a data acquisition project without a defined decision is just storage cost. Before wiring anything, write down the question the data answers: which tool change interval, which alarm, which cycle. If no one can name the decision, the project will stall after the pilot.
Matching the collection method to the machine and the question
Start with the age of the controller. A recent Mitsubishi CNC with an Ethernet port and an OPC UA or MTConnect option is straightforward. A 15-year-old PLC with only a serial port needs a gateway that speaks the old protocol and converts it. The hardware cost is similar; the engineering time is not.
Then look at what you are measuring. Status and counts tolerate slow polling and simple storage. Process signatures need edge capture and time alignment. Traceability needs a part identifier tied to every record, which usually means a barcode read at load and a write to a local database at cycle end.
For a plant with mixed vendors, a gateway per machine plus one upstream broker is easier to maintain than point-to-point links into a single server. It also limits the blast radius when one collector fails. Keep the address maps in version control. They will change, and undocumented maps are the main reason a working pilot cannot be rolled out.
- 1Simple status and countsPoll at 1 Hz, store in a time-series table, no edge device needed.
- 2Cycle and alarm analysisGateway per cell, 10 Hz buffer, NTP timestamp, event triggers on alarm bits.
- 3Process and tool-wear signaturesHigh-rate edge capture, local ring buffer, upload on cycle end.
Collection method compared by requirement
Use this to pick a starting architecture before writing a specification.
| Requirement | Direct poll | Edge gateway | Event-driven |
|---|---|---|---|
| Typical rate | 0.2–2 Hz | 10–100 Hz | On change |
| Network load | Low | Medium | Lowest |
| Survives link loss | No | Yes, local buffer | Depends on queue |
| Best for | Counts and status | Torque and cycle data | Alarms and tool changes |
| Effort to build | Low | Medium | Medium to high |
| Main risk | Missed short events | Gateway maintenance | Trigger defined wrong |
The practical verdict
If you only need uptime, counts, and alarms, poll the Mitsubishi PLC or CNC directly at 1 Hz and skip the gateway. If the decision depends on torque, load, or cycle-time detail, put a buffering gateway at the machine, timestamp at the source, and keep the safety network untouched.
Questions engineers ask next
Can we read data from a Mitsubishi CNC without stopping production?
Yes, if you read from a separate Ethernet port or a mirrored segment and only issue read requests. The risk is not the read itself, it is writing to the controller or flooding a shared bus.
Keep the poll interval conservative at first, watch controller scan time and network utilization for a few shifts, then tighten it. If the machine has no spare port, a protocol gateway on the existing serial link is the usual alternative.
How much history should the edge gateway hold?
Enough to cover a realistic outage, not a worst-case one. A few hours of buffered samples covers most network maintenance windows and power events.
Size the buffer from sample rate times record size times hours. A 10 Hz stream with a 64-byte record is about 2.3 MB per hour, so a small industrial PC holds days of data without pressure.
Do we need a separate network for data acquisition?
For anything beyond basic status, yes. Put the collector and gateways on a segment that cannot reach the safety or motion network.
This also makes troubleshooting easier. When the plant network slows down, the machine network keeps running, and you can prove which side caused the problem.
What does the data tell us about tool wear?
Spindle load and axis torque trends often shift before a tool breaks, but the shift is small and needs a clean baseline per tool and per material.
Log the tool number with every sample so the trend can be grouped correctly. Without the tool identifier, wear signatures from different tools mix together and the trend disappears.
How do we keep records tied to individual parts?
Read a barcode or RFID tag at load, then write a start and end record around the cycle. The controller clock is not precise enough on its own, so stamp records at the gateway.
For high-value parts, store the raw buffered signal for that cycle, not just the summary. It is the only way to review a defect months later.
Is Mitsubishi data acquisition worth it on older machines?
It depends on the decision. If the old machine is a bottleneck and you need cycle-time and downtime data, a serial gateway is a reasonable spend.
If the only goal is a dashboard no one acts on, the money is better spent on maintenance. Start with one machine and one question.
Plan the data path before you buy hardware
Send us the controller model, the signals you need, and the decision they support. We will come back with a quotation and a DFM review within 12 hours.
12-hour quote100% inspectionNDA on request