Historian vs ERP: two halves of the plant’s story
The historian knows what the equipment did, second by second. The ERP knows what the business intended, order by order. The context that explains performance usually sits between them, often on paper.
Plants usually have plenty of data. Much of it sits in systems built to answer different questions. Two of the most common, the process historian and the ERP, are often expected to explain performance together. On their own, they rarely can.
Different layers, different jobs
The ISA-95 standard (also published as IEC 62264) describes a manufacturing enterprise in functional levels. Simplified:
- Levels 0–2: the physical process, sensors and actuators, and the control and supervision systems (PLC, DCS, SCADA, HMI)
- Level 3: manufacturing operations management: MES functions, quality, maintenance execution, and often the historian
- Level 4: business planning and logistics: ERP
Each level records the world at its own resolution and for its own purpose.
| Process historian | ERP | |
|---|---|---|
| Records | Tag values, states, alarms | Orders, materials, costs, confirmations |
| Typical resolution | Seconds or less | Transactions, often per shift or order |
| Designed for | Process monitoring and troubleshooting | Planning, inventory, finance |
| Knows what happened | To signals | To orders and materials |
| Knows why | Rarely | Rarely |
The gap between them
A historian can show that a motor current dropped at 09:40 and a line counter stopped. It cannot say that the line was waiting for material, that an operator stopped it for a quality check, or that the product had just changed. The ERP can show that an order was confirmed short, but not which hour the losses happened in or on which machine.
The explanation usually lives elsewhere: in operator logs, maintenance notes, quality sheets, shift handovers, and people’s memory. These are often the least structured and least connected records in the plant.
Why naive joins mislead
Joining historian and ERP data on time alone creates new problems:
- Granularity mismatch. One ERP confirmation can cover thousands of historian samples.
- Identity mismatch. Tag names, ERP work centres and maintenance asset IDs rarely line up one-to-one, and they change over time.
- Time mismatch. ERP transactions are often recorded long after the events they describe. See event time vs ingestion time.
- Implied causality. Lining up two time series invites cause-and-effect stories the data cannot support.
Building the missing context
Useful context needs:
- A maintained plant model that maps tags, work centres and asset IDs to the same real-world equipment, with history.
- The human records (logs, notes, inspections) captured with asset, time and author.
- Explicit relationships between records that are marked confirmed or proposed, not guessed.
- Read-only access to the historian and ERP, so the systems of record remain authoritative and untouched.
Where OptiCore fits
OptiCore reads approved historian, SCADA, ERP and CMMS data without writing back. It captures or imports the human records that are often missing, and attaches them to a time-aware plant model in its Context pillar. See Integrations for how each source type connects.
