← Manufacturing glossary
Production

Digital twin

A live digital model of a machine, line or plant

A digital twin is a digital model of a machine, line or whole plant that is kept up to date with live data from the real equipment, so you can see, analyse and act on its current state.

Short answer: A digital twin is a digital model of a physical asset, such as a machine, a line or a whole plant, that is continuously updated with data from the real thing. It shows what is happening now, not what was planned. In a factory, that means live machine states, output and losses you can act on during the shift.

What a digital twin means in manufacturing

The term is used for very different things, from a 3D simulation of a new line to a dashboard. What makes a model a twin is the live link: data flows from the real equipment into the model without someone typing it in. A drawing or a simulation without that link is a digital model, not a twin.

In practice, digital twins in plants work on three levels:

  • Machine twin – states, counters, alarms and process values of one machine.
  • Line or process twin – how machines in a line affect each other, where the bottleneck is.
  • Plant twin – a map of the site with every machine and line coloured by its live state and KPIs.

Production managers use the plant view to see stops and bottlenecks as they happen. Maintenance uses machine twins to spot abnormal behaviour. Energy and ESG teams use the same data for consumption per machine. ISO 23247-1 describes a digital twin framework for manufacturing and its general principles, which helps when you need a shared vocabulary for a project (ISO 23247-1 on iso.org).

How to build a digital twin step by step

  1. Define the question. "Where do we lose output right now?" needs different data than "how will a new line perform?".
  2. Model the structure. Machines, lines, areas and their place on the site map.
  3. Connect the data. States, counters and alarms from PLCs, typically over OPC UA. Older machines may need an extra approach.
  4. Add context. Orders, products and shifts, so a stop can be linked to what was running.
  5. Derive KPIs and alerts. OEE, output and energy per machine; alerts when a bottleneck stops.
  6. Close the loop. Every alert should lead to an action by a named person, otherwise the twin is just a screen.

Example (illustrative): a stamping shop has eight presses. Before the twin, the shift leader learns about stops from the operators or at the end of the shift. After connecting the presses, the plant map shows press 5 in red at 7:40 with a feeder alarm. The shift leader sees that press 5 is the bottleneck for an urgent order, calls maintenance at once and moves a smaller order to press 3. The stop lasts 25 minutes instead of running unnoticed until the next round, and the end-of-shift report already contains the reason.

Want to see this for your plant? Book a free analysis and we will assess which machines can be connected and what a live plant view would show.

Common mistakes

  • Starting with 3D visuals. A beautiful model without live data does not help anyone on the shift.
  • Connecting everything at once. Start with bottlenecks and machines where stops cost the most.
  • Data without context. A stop signal without order, product and reason answers only half the question.
  • No owner for alerts. If nobody is responsible for reacting, alerts become background noise.
  • A separate island. A twin that does not share data with production, maintenance and ERP creates yet another version of the truth.

Digital twin in P4

In Productoo P4, Factory Cockpit is a digital twin of your factory. It shows every machine and line on a map of the site, coloured by live state. Counters, states and alarms come directly from the PLC over OPC UA, without manual entry; for older equipment Productoo assesses a separate approach with you. Factory Cockpit shows OEE, output and energy per machine in real time and makes bottlenecks and stoppages visible as they appear. It shares machine data with Production Control and other P4 apps, works alongside existing SCADA and control systems, and P4 connects to ERP systems such as SAP. Through the P4 MCP server, Claude, ChatGPT or Microsoft Copilot can answer questions about machine states, OEE and energy within the user's access rights.

Related terms

  • OPC UA – the usual way machine data reaches the twin.
  • OEE – the key KPI calculated from live machine data.
  • MES – adds orders and production context to machine states.
  • MCP server – lets AI assistants query the twin's data.
  • Full glossary

FAQ

Is a digital twin the same as a simulation?

No. A simulation tests scenarios on a model, often before anything exists. A digital twin is fed by live data from real equipment. Some twins also allow simulation, but the live link is what defines them.

Do I need new machines for a digital twin?

No. Modern machines with OPC UA can be connected directly. Older ones may need additional hardware or another approach, which is worth assessing machine by machine.

Who in the plant uses the digital twin?

Shift leaders and production managers for stops and bottlenecks, maintenance for alarms and machine behaviour, and plant management and energy teams for trends.

Next step: Book a free analysis of your machine connectivity, or browse P4 apps.

Updated 1 December 2026.

In P4:
Factory Cockpit