Skip to main content
HQ: Gujrat, Pakistan · Serving clients worldwide Mon-Fri 9:00 AM-6:00 PM PKT (UTC+5) · 24/7 support for managed clients

Manufacturing scenario

Illustrative scenario

Smart factory MES and ERP integration: our approach

This scenario describes how TekFrost would approach smart factory MES and ERP integration for a typical multi-plant manufacturer. We would map the ISA-95 information model, connect machines and the MES to ERP through an event-driven integration layer, and design master data ownership so production, inventory and cost data agree.

Line of electrical equipment inside a factory

Context

A discrete manufacturer runs several plants that grew by acquisition. Each plant has its own manufacturing execution system or spreadsheet-based tracking, a mix of PLC and SCADA vendors, and one central ERP that handles planning, purchasing, inventory and finance.

Production orders are released from ERP, but confirmations, scrap and downtime come back late and often re-typed by supervisors at the end of a shift.

The challenge

  • Work orders, bills of materials and routings differ between plants, so the same part is described three different ways.
  • Point-to-point scripts and flat-file transfers between MES and ERP break whenever a plant changes a screen or a field.
  • Planners see inventory and order status hours after events happen on the line, so schedules are corrected by phone.
  • Machine data stays in the plant network, with no governed path to the cloud or to analytics teams.
  • Plant networks cannot be exposed casually, because a stoppage costs more than most IT incidents.

How we would approach it

  • Discovery and information model (weeks 1 to 5): inventory systems, interfaces and data owners per plant, then describe them against the ISA-95 levels and the B2MML object model. We would agree which system is the source of truth for materials, routings, work centers and quality results.
  • Integration architecture: place an enterprise service layer between plants and ERP with an API gateway for synchronous calls and a message broker such as Kafka or MQTT for events like order released, operation started, quantity reported and downtime logged. Idempotent consumers and a dead-letter queue keep a lost network link from creating duplicate postings. This is the pattern behind our systems integration and API integration platforms work.
  • Shop-floor connectivity: collect machine states through OPC UA servers and edge gateways, buffer locally during outages, and publish normalized events upward. Our industrial IoT team would keep Purdue-model segmentation intact, with a DMZ between plant and enterprise zones and no inbound connections to control networks.
  • ERP alignment: clean and harmonize master data first, then configure ERP production confirmation, goods movement and costing to consume MES events automatically. Our ERP implementation practice would plan template changes and regression tests per plant.
  • Pilot and rollout: go live in one plant with a lower-risk product line, run parallel with the old process for a defined window, then roll out in waves using a reusable plant template and runbooks. Observability on every interface shows message lag and failures to both IT and plant teams.

Expected outcomes

These are design goals, not measured results. Targets would be agreed with the manufacturer during planning and tracked through the rollout.

  • Near real-time production confirmations, scrap and downtime flowing into ERP without manual re-entry.
  • One governed definition of materials, routings and work centers across plants.
  • Interfaces that tolerate plant outages and can be changed without rewriting each connection.
  • A secure, documented path for machine data to reach analytics and later predictive maintenance use cases.
  • A repeatable plant rollout kit, so each additional site takes less design effort.

Technologies and standards

The stack would typically combine OPC UA, MQTT, REST and event streaming, an integration platform or iPaaS, edge gateways, and an ERP such as SAP. The work is designed to support ISA-95 and IEC 62264, IEC 62443 zone and conduit practices, and ISO/IEC 27001 controls, and the OT security guidance in NIST SP 800-82. See our manufacturing and industrial practice for related work.

This is an illustrative scenario that shows how TekFrost would approach a typical engagement. It does not describe a past client project.

FAQ

Frequently asked questions

Do we need to replace our existing MES in every plant?

No. We would start by integrating what exists and only recommend replacement where a system cannot expose usable interfaces or support the common data model. A shared integration layer and master data rules deliver most of the benefit without a multi-plant MES swap.

How do you protect plant networks during integration?

Data flows outward through a DMZ and brokers, and plant control networks accept no inbound connections from enterprise systems. We would align segmentation with IEC 62443 zones and conduits, test changes in a staging environment, and schedule cutovers in agreed maintenance windows.

Is this scenario based on a real manufacturer?

No. It is an illustrative scenario describing how we would approach a typical multi-plant manufacturer. No client is named and no results are claimed. A real engagement would begin with discovery of your plants and systems.