Mitsubishi M70/M80 CNC and MELSEC PLC Data Acquisition: MC Protocol, CNC Communication, OPC UA and MTConnect

Mitsubishi Electric shows up on the shop floor in two very different forms. One is the CNC: the M70 and M80 series on lathes, VMCs and turn-mill machines. The other is the MELSEC PLC: FX, Q, L, iQ-F and iQ-R controllers running presses, special-purpose machines, conveyors and utilities.

Both can feed a monitoring system, but they speak differently. A gateway that reads MELSEC PLCs over MC protocol will not read an M80 CNC the same way, and the reverse is also true. This article explains the data available from each, the interfaces that reach it, and where support depends on model or option. The Mitsubishi practical setup guide covers the installation steps.

The problem: CNC and PLC are different worlds

  • M70 / M80 / M800 CNCs run part programs. The data you want (run state, spindle load, alarms, part counters, program number) lives inside the CNC. You reach it through Mitsubishi’s CNC communication interface, or through options such as OPC UA or MTConnect where installed.
  • MELSEC PLCs run machine logic. Their data lives in devices: X and Y for inputs and outputs, M for internal relays, D for data registers and so on. You reach it through MC protocol (also called SLMP on newer models), and on some models through Modbus TCP or OPC UA.

Plan both paths if your plant has both.

What data you can collect

Data M70/M80 CNC MELSEC PLC machine
Machine status CNC operation state PLC bits set by the programmer
Spindle speed and load CNC spindle monitor data Only if the program stores it
Alarms CNC alarm list with numbers and text Alarm bits or D registers
Part count CNC work counter Counter in a D register
Cycle time CNC cycle timer, or derived from status Derived from cycle start/end bits
Program number CNC Not applicable

These give you the machine-side OEE (overall equipment effectiveness) inputs: availability and performance. Quality usually needs operator input. Our OEE improvement guide shows how they combine.

M70/M80 CNC: communication options

1. CNC communication interface (Ethernet)

Mitsubishi CNCs provide a communication interface for PC and gateway software to read CNC data over Ethernet. Mitsubishi supplies a development library for it. In our installations the gateway talks to the M70/M80 CNC on TCP port 683, and many machines arrive with the CNC at a factory-default address such as 192.168.200.1. Change it to your own plan before connecting.

This interface gives the richest data: operation state, spindle values, alarms, counters, program information and PLC devices inside the CNC. It is the route we use most on Mitsubishi CNCs.

2. OPC UA

Newer M800/M80 series controls offer an OPC UA server as an option. If it is installed, it is a clean, secure, standard route. Many machines in SMB plants do not have it. Check the option list.

3. MTConnect

MTConnect support on M800/M80 is available as a function or option on some software versions. It is useful where the plant already uses MTConnect clients. As with OPC UA, confirm it is present before planning around it.

4. Hardwired signals

On older Mitsubishi CNCs (M60, M64 and earlier) or locked-down machines, wire the stack light and an M-code output to gateway inputs. You get status and part count without touching the control.

MELSEC PLC: communication options

1. MC protocol / SLMP

MC protocol (MELSEC Communication protocol) is Mitsubishi’s native way to read and write PLC devices over Ethernet or serial. SLMP (Seamless Message Protocol) is the Ethernet form used by iQ-R and iQ-F, compatible with the MC protocol 3E frame.

Where it is available:

PLC family Ethernet route
iQ-R Built-in Ethernet on the CPU
iQ-F (FX5U, FX5UC) Built-in Ethernet, SLMP
Q series Built-in Ethernet CPU (QnUDE) or an Ethernet module (QJ71E71)
L series Built-in Ethernet on most CPUs
FX3 Ethernet adapter or module required

The key requirement: the PLC must have a connection opened for MC protocol or SLMP. You set this in GX Works2 or GX Works3 (port number, TCP or UDP, binary or ASCII code). Without it, the PLC simply ignores the gateway.

2. Modbus TCP

Some MELSEC models support Modbus TCP, for example the FX5U built-in Ethernet when configured. It helps when the rest of the plant already runs on Modbus.

3. OPC UA

iQ-R and iQ-F can host an OPC UA server through dedicated modules. This suits plants building an OPC UA-based MES.

The PLC inside the CNC

An M70 or M80 CNC also contains a built-in PLC that handles the machine builder’s logic: door interlocks, coolant, tool changer and lamps. Useful signals often live there, such as “cycle complete”, “door open” or a custom part counter. These can usually be read through the CNC communication interface, without a separate MC protocol connection. Ask the machine builder for the PLC device list before you go searching.

How fast to poll

Neither the CNC nor the PLC needs to be hammered. In our experience:

  • Status bits: every 200 to 500 ms
  • Spindle and process values: every 1 to 2 s
  • Counters: every 1 to 2 s, or on a status change
  • Alarm text: only when an alarm is active

On MELSEC PLCs, read a block of consecutive D registers in one request rather than many single reads. Ask the programmer to group monitoring values together to make this possible.

Choosing the right route

Situation Recommended route
M70/M80 CNC, network available CNC communication interface on port 683
M800/M80 with OPC UA option OPC UA
iQ-F / iQ-R / Q / L PLC MC protocol or SLMP
Plant standard is Modbus Modbus TCP where the PLC supports it
Old control or no network Hardwired stack light and M-code relay

Architecture in words

  1. Mitsubishi CNCs and PLCs connect to a switch on an isolated machine network, each with a static IP.
  2. An edge gateway reads the CNCs over the CNC communication interface and the PLCs over MC protocol or SLMP.
  3. The gateway turns raw values into events and publishes them to an MQTT broker on the plant network.
  4. A monitoring platform subscribes, stores history and shows status, OEE and alarms across all brands.

MC protocol can also write to the PLC. Keep the gateway read-only and keep the machine network isolated.

Common mistakes

  • No open connection on the PLC. MC protocol needs a configured connection in GX Works. A ping reply proves nothing about it.
  • Octal vs hexadecimal addresses. FX and iQ-F number X and Y in octal; Q and iQ-R number them in hexadecimal. Reading “X10” means different inputs on each.
  • Binary vs ASCII mismatch. The gateway and the PLC open setting must use the same code.
  • Default CNC IP addresses. Several machines arrive with the same default CNC address. Change them before they share a switch.
  • Assuming options exist. OPC UA and MTConnect on M800/M80 depend on options and software versions.

Conclusion

Mitsubishi gives you solid routes into both CNCs and PLCs, as long as you treat them as two different jobs. Use the CNC communication interface for M70/M80 machines, MC protocol or SLMP for MELSEC PLCs, and OPC UA or MTConnect where those options are installed. Put an edge gateway in the middle and publish everything to MQTT, so Mitsubishi machines appear on the same dashboard as the rest of the floor.

Next, read the Mitsubishi CNC and PLC data acquisition setup guide. For other brands, see Siemens SINUMERIK and S7, Haas MTConnect and Q-codes, FANUC FOCAS and Delta PLC Modbus.

Want to know what your Mitsubishi machines can share? Book a free assessment, and we will review your CNCs and PLCs with you.

Know More About Our CNC Machine Monitoring Software

Related Blogs