loader image

M2M Commu­ni­ca­tion

M2M Commu­ni­ca­tion M2M communication (machine-to-machine communication) is the automated exchange of data between devices, machines or systems over wired or wireless networks, without human involvement. It is the foundation of industrial automation, telemetry and the Internet of Things.

Context

M2M commu­ni­ca­tion is what lets machines work together without someone typing data from one screen into another. A sensor reports a fill level, a controller adjusts a valve, a machine tells the next station that a work­piece is ready. Machine-to-machine commu­ni­ca­tion has existed for decades in indus­trial automa­tion, and it is the layer on which the Internet of Things was built.

Essen­tials
  • What it is: the auto­mated exchange of data between machines, devices or systems without human involve­ment
  • Stands for: machine to machine
  • Building blocks: devices and sensors, a network, an M2M gateway and an appli­ca­tion
  • Common proto­cols:OPC UA, MQTT, Modbus, CoAP and LwM2M
  • Rela­tion to IoT: M2M connects machines with each other, IoT connects machines with every­thing

What does M2M stand for?

M2M stands for machine to machine. It describes any direct data exchange between devices that happens auto­mat­i­cally, trig­gered by programmed rules instead of human action. Typical exam­ples range from a PLC talking to a drive to a smart meter sending read­ings to a utility.

How does M2M commu­ni­ca­tion work?

An M2M system has four basic compo­nents:

  • Devices and sensors that capture data or act on commands
  • Commu­ni­ca­tion networks, wired (Ethernet, fieldbus) or wire­less (Wi-Fi, cellular, LPWAN)
  • An M2M gateway that connects local devices to wider networks and often trans­lates proto­cols
  • Appli­ca­tions that process the data, compute deci­sions and auto­mate responses

Commu­ni­ca­tion can be point-to-point between two devices or run through a central server or broker. Proto­cols such as OPC UA, MQTT, Modbus, CoAP and LwM2M define how devices transmit and inter­pret data. Wide-area M2M often uses cellular connec­tivity: mobile oper­a­tors count these SIM-based device connec­tions as M2M or IoT subscrip­tions, with tech­nolo­gies such as LTE‑M and NB-IoT opti­mized for low power consump­tion. The global oneM2M part­ner­ship develops common stan­dards for M2M and IoT archi­tec­tures.

What is the differ­ence between M2M and IoT?

M2M and IoT overlap, but they are not the same. M2M usually means direct commu­ni­ca­tion between specific machines in a closed system, often point-to-point, for a defined task. The Internet of Things connects many devices to networks and plat­forms, combines their data with other sources in the cloud and makes it avail­able to a wide range of appli­ca­tions and people. In short, M2M connects machines with each other, IoT connects machines with every­thing. Most IoT solu­tions contain M2M commu­ni­ca­tion at their core.

Common appli­ca­tions and exam­ples of M2M commu­ni­ca­tion

  • indus­trial automa­tion: controllers, drives, robots and sensors coor­di­nating a produc­tion line
  • telemetry and remote moni­toring of pumps, compres­sors and pipelines
  • smart meters and energy grids
  • fleet manage­ment and connected vehi­cles
  • vending machines and ATMs reporting status and stock
  • smart cities, for example traffic lights and parking sensors

From data exchange to under­standing: seman­tics and agents

Classic M2M connec­tions move values, but each pair of machines needs its own agree­ment about what those values mean. That is why every new connec­tion in a factory costs inte­gra­tion effort. Stan­dards with a data model change this. OPC UA describes data with types and units, and the Asset Admin­is­tra­tion Shell gives every asset a stan­dard­ized digital descrip­tion that any machine can read. With that shared language, machine to machine commu­ni­ca­tion can scale from fixed connec­tions to flex­ible inter­ac­tion.

The long-term vision goes further: soft­ware agents acting on behalf of machines. A storage system notices that stock is running low and orders mate­rial. A plant notices that measure­ment vari­ance has increased compared with two months ago and requests a new measuring device. Such scenarios require reli­able, stan­dard­ized data from every machine involved, which is exactly what the Open Industry 4.0 Alliance works on in its projects.

Frequently asked ques­tions

Is M2M commu­ni­ca­tion wire­less?

It can be wired or wire­less. In facto­ries, wired Ethernet and field­buses domi­nate, while remote assets often use cellular or other wire­less networks.

What is an M2M gateway?

An M2M gateway connects local devices to a wider network. It collects data, trans­lates between proto­cols and forwards infor­ma­tion to servers or cloud plat­forms, often with local processing at the edge.

Which proto­cols are used for M2M commu­ni­ca­tion in industry?

Common indus­trial proto­cols are OPC UA, MQTT, Modbus and PROFINET. For constrained IoT devices, CoAP and LwM2M are also used.