SAP DM and machine integration: Connecting the shop floor to SAP Digital Manufacturing

Machine integration in SAP Digital Manufacturing refers to seamless, bidirectional data communication between physical manufacturing equipment and the digital manufacturing management system, from programmable logic controllers (PLCs) through connectivity layers to production order execution and back.

By automatically processing machine and operational data in SAP DM in real time, manufacturers establish the data foundation for improving Overall Equipment Effectiveness (OEE), automating production confirmations without manual input, and maintaining complete production documentation.

This article explains the relevant architectures, protocols, and implementation steps.

Read more here

Key Points at a Glance

  • Definition: Machine integration in SAP Digital Manufacturing connects shop floor equipment bidirectionally with SAP DM, enabling the exchange of machine, operational, and production order data in real time.
  • Objective: Establish end-to-end connectivity between machines and SAP DM to automatically collect machine and operational data and transmit production information directly back to the shop floor.
  • Benefits: Real-time visibility into production and OEE, fewer manual production confirmations, and complete production and quality documentation.
  • Practical Application: Machines are typically connected through SAP Production Connector and OPC UA. Legacy equipment can be integrated using gateways and sensor retrofits.

What does machine integration mean in SAP Digital Manufacturing?

Machine integration in SAP DM means that shop floor equipment automatically transmits operational data, such as machine states, production quantities, cycle times, fault codes, and process parameters, to SAP Digital Manufacturing. Conversely, machines can receive control commands, recipe parameters, and production orders from SAP DM.

This bidirectional connectivity architecture replaces the traditional MES paradigm with native SAP integration and feeds the digital twin of manufacturing operations with real-time data.

From standalone solutions to an integrated manufacturing platform

Without end-to-end machine integration, production data remains fragmented: machines log their operating states locally, operators manually enter production quantities into the ERP system, and downtime is recorded only after the fact.

SAP Digital Manufacturing eliminates these isolated solutions by serving as a central platform for production control, machine and operational data collection, and quality data acquisition, provided that the machines are actually connected.

Scope of integration: What does "machine integration" include?

The term covers several dimensions of integration: the physical connectivity layer (protocols, gateways), logical data modeling (machine model in SAP DM), transactional integration (production orders, confirmations), and the analytics layer (OEE, KPIs, loss analysis). Complete machine integration addresses all four layers.

Relevance for manufacturing companies

For manufacturing companies, end-to-end shop floor integration provides the foundation for data-driven production control. Machine integration establishes the connection between manufacturing equipment and SAP Digital Manufacturing.

Only when real-time machine data is available can production programs be dynamically adjusted, bottlenecks identified early, and quality issues traced back to individual manufacturing operations.

Without this data foundation, the promises of Industry 4.0 remain abstract.

Which technologies connect machines to SAP DM?

The primary technologies for connecting machines to SAP DM are SAP Production Connector, which serves as the connectivity layer between the shop floor and SAP DM, and SAP Digital Manufacturing for Edge Computing for decentralized locations. At the protocol level, OPC UA is the key standard.

SAP Production Connector: The integration layer

SAP Production Connector connects shop floor devices to SAP Digital Manufacturing.

It is an on-premises component installed on the same production network as the shop floor systems and replaces SAP Plant Connectivity (PCo) as the connectivity layer for SAP DM.

Local data sources, such as OPC UA servers, are connected through agent instances. These agents map machine endpoints to indicators, tags, and services of the shop floor systems and process queries, method calls, and notification messages.

Communication is therefore not limited to reading tags but is bidirectional.

Configuration elements are created in the Manufacturing Automation apps of SAP Digital Manufacturing and generated in Production Connector after deployment.

For existing customers, this means migrating connections previously implemented with SAP Plant Connectivity to Production Connector. SAP provides a migration path for this transition, while new implementations start directly with Production Connector.

OPC UA: The industrial communication standard

OPC UA (Open Platform Communications Unified Architecture) is currently the preferred standard for secure, platform-independent communication between machines and higher-level systems.

The protocol provides a semantic information model that goes beyond individual data points: machine types, capabilities, and states can be described in a structured way.

Production Connector connects OPC UA data sources through its agent instances.

Edge computing: Decentralized connectivity

For distributed manufacturing environments and facilities with limited network bandwidth, SAP uses an edge computing architecture.

SAP Digital Manufacturing for Edge Computing provides SAP DM functionality locally on an edge device.

The edge component of Production Connector buffers shop floor data during cloud connectivity interruptions and synchronizes it once the connection is restored. Data points can also be prefiltered before being transmitted to the cloud.

How does real-time machine data collection work with SAP DM?

Real-time machine data collection in SAP DM is based on a continuous data flow from the PLC through Production Connector into the SAP DM data model, where machines are represented as digital resources with defined data points, states, and capacities.

The machine model in SAP DM

Each connected machine is modeled as a Resource in SAP DM.

The machine model defines which data points the machine provides, such as current production quantity, cycle time, operating state, and fault code, which operations it can perform, and which Work Center it belongs to.

This model provides the foundation for assigning incoming machine data to the correct production order, component, and quality inspection.

Machine data collection and operational data collection in detail

SAP DM distinguishes between machine data collection (MDE) and operational data collection (BDE):

  • Machine Data Collection (MDE): Captures technical process data, including operating times, cycle times, vibration data, temperature readings, production counts, fault codes, and process parameters. This data comes directly from the PLC and is processed without manual input.
  • Operational Data Collection (BDE): Supplements technical data with organizational information, including order processing times, setup times, personnel assignments, good and scrap quantities, and quality confirmations. Operational data can be collected automatically from scanners, terminals, or the machines themselves, or semi-automatically through operator terminals.

Combining machine and operational data provides a complete picture of manufacturing operations and enables end-to-end traceability down to the component level.

Real-time production confirmations back to SAP S/4HANA

Recorded quantities, setup times, quality results, and activity confirmations are automatically transferred from SAP DM to SAP S/4HANA.

In SAP S/4HANA, production orders are updated, goods movements are posted, and quality inspection lots are completed.

The data flow uses SAP BTP-based integration scenarios, often involving SAP Cloud Integration (CPI) or SAP Cloud Connector, depending on the system landscape.

This largely eliminates the need for manual confirmations in the ERP system.

How does machine connectivity improve OEE in manufacturing?

Machine connectivity improves Overall Equipment Effectiveness (OEE) by making the three OEE factors, availability, performance, and quality, measurable and manageable based on objective real-time data rather than estimates derived from paper-based production logs.

OEE transparency through automated data collection

SAP DM provides preconfigured OEE dashboards and loss analyses as standard functionality.

Once machine connectivity is established, availability (planned versus actual operating time), performance (target versus actual cycle time), and quality (good versus scrap rate) are continuously calculated.

Minor interruptions that were never recorded in paper-based processes become visible.

Downtime reasons can be derived directly from machine data or categorized by operators with a single click.

From measurement to improvement

The real impact comes from combining real-time transparency with systematic root cause analysis:

  • Lost production time is broken down by category, such as planned maintenance, unplanned downtime, changeovers, and quality losses.
  • Frequent causes of machine faults become statistically visible.
  • The impact of improvement measures on OEE can be measured directly through before-and-after comparisons.

Typical improvement opportunities enabled by SAP DM machine integration include reduced setup times through recipe retrieval from SAP, shorter response times to machine faults through automated notifications, and lower scrap rates through tighter process control.

Quantitative impact

Companies implementing machine data collection and OEE management in MES systems typically report OEE improvements ranging from single-digit to low double-digit percentages within the first twelve months after implementation.

The actual improvement potential depends heavily on the initial situation. The greater the proportion of manual data collection before implementation, the greater the potential impact.

How are legacy machines and heterogeneous control systems connected?

For legacy machines without native OPC UA capabilities, the established approach is to normalize data through an upstream industrial gateway or OPC server.

This translates the PLC's legacy-specific protocol into OPC UA, allowing SAP Production Connector to connect to the gateway through a standardized interface.

The brownfield challenge in practice

Real-world manufacturing environments often contain equipment from different generations and manufacturers: Siemens S7 controllers from the 1990s operating alongside modern Beckhoff PLCs, proprietary SCADA systems, and older machine tools without digital interfaces.

Effective machine integration must make this heterogeneous environment manageable without requiring costly retrofits for every machine.

Protocol normalization as the key

A typical retrofit approach for legacy equipment follows three stages:

  • Stage 1 – Protocol gateway: An industrial gateway or OPC server, such as Kepware, Softing, or Cogent OPC Server, is installed upstream of the legacy machine. It translates the native PLC protocol, such as Profibus, S7, Modbus, or a proprietary protocol, into OPC UA.
  • Stage 2 – SAP Production Connector as the integration layer: Production Connector connects to the gateway through an OPC UA agent instance and forwards the normalized data to SAP DM.
  • Stage 3 – Data mapping: Incoming data points (machine endpoints) are mapped to indicators and tags in the SAP DM machine model through Production Connector. Data point names, units, scaling, and state codes are configured.

For equipment without any digital interface, such as purely mechanical presses, additional sensor retrofits are the first step. These may include vibration sensors, photoelectric sensors, or energy meters.

Only after these sensors have been installed does Production Connector come into play.

Managing diverse control systems

The agent architecture of Production Connector supports a phased approach.

Each agent instance runs as an independent Windows service and can be operated separately.

This allows machines to be connected gradually without retrofitting the entire machine fleet at once.

For data sources without OPC UA support, an upstream gateway remains the standard approach.

Architecture: How SAP DM, edge computing, machines, and SAP S/4HANA work together

The reference architecture for complete SAP DM machine integration consists of four layers: the physical shop floor layer, the connectivity layer, the execution layer, and the ERP integration layer.

Overview of the four layers

Layer 1 – Shop floor (machines and controllers): Machines, robots, conveyor systems, and measuring equipment provide machine state data, production counters, process parameters, and alarms through OPC UA servers or proprietary protocols.

Layer 2 – Connectivity (Production Connector / Edge): SAP Production Connector, installed on-premises within the production network and optionally combined with an edge component, connects to the machines' OPC UA servers.

The edge layer buffers data during network interruptions and supports operational resilience, allowing production to continue even when the cloud is temporarily unavailable.

Layer 3 – Execution (SAP DM Cloud): SAP Digital Manufacturing in the cloud receives machine data, assigns it to active production orders, calculates OEE and KPIs, manages quality inspections, and controls production sequencing.

The machine model in SAP DM links physical equipment to digital production orders.

Layer 4 – ERP integration (SAP S/4HANA): Production orders, material master data, routings, and bill of materials (BOM) data are transferred from SAP S/4HANA to SAP DM.

Confirmations, including quantities, times, quality results, and goods movements, are automatically transferred back to SAP S/4HANA.

Data flow directions

Data flows consistently in both directions:

  • Top-down: SAP S/4HANA → SAP DM (orders, master data) → Production Connector → Machine (recipes, parameters, production programs).
  • Bottom-up: Machine → Production Connector (machine and operational data) → SAP DM (execution monitoring, OEE) → SAP S/4HANA (production confirmations, goods movements).
Integration with SAP BTP

Connectivity between SAP DM Cloud and the existing SAP S/4HANA system, particularly in heterogeneous system landscapes and deployment environments, is established through SAP Business Technology Platform (SAP BTP).

SAP Cloud Integration (CPI) and SAP Cloud Connector handle secure data transmission as well as protocol and format mapping between systems.

Implementation roadmap: Step by step to machine connectivity

A structured implementation approach consisting of five phases helps ensure that machine integration is technically stable, used in daily operations, and delivers a measurable return on investment (ROI).

Phase 1: Assessment and concept development

The first phase involves systematically assessing the existing machine landscape.

Which PLC types and controller generations are in use? Which protocols do the existing machines support? Which data is relevant for process control, OEE measurement, and quality documentation?

Based on this assessment, the integration approaches are defined:

  • Which machines can be connected directly via OPC UA?
  • Which legacy machines require a protocol gateway?
  • Which machines require sensor retrofits?

The result is an equipment portfolio with prioritized integration profiles and a realistic effort estimate for each machine.

Phase 2: SAP DM system setup and machine modeling

In Phase 2, SAP Digital Manufacturing is configured.

This includes:

  • Setting up the plant structure (Work Centers, Resources) in SAP DM according to the plant layout.
  • Modeling machine resources with their data points, capacities, and operations.
  • Configuring SAP S/4HANA integration (SAP BTP, SAP Cloud Integration) for master data and production order transfers.
  • Setting up OEE KPIs and a loss reason catalog tailored to the manufacturing processes.
Phase 3: Establishing connectivity (Production Connector and Edge)

Phase 3 focuses on establishing the actual machine connections:

  • Installing and configuring SAP Production Connector or the SAP DM edge device.
  • Setting up agent instances for each connected machine, including OPC UA connection parameters, tag mapping, scaling, and error handling.
  • Commissioning upstream protocol gateways for legacy machines.
  • Testing end-to-end data flow: Machine data point → Production Connector → SAP DM machine resource.
  • Validating bidirectional communication by testing the transfer of production order data from SAP DM to the machine.
Phase 4: Pilot operation and validation

Pilot operation begins with a defined pilot machine or production line.

During this phase:

  • Actual production data is validated against manually recorded reference data, including plausibility checks for production counters, machine states, and cycle times.
  • OEE calculations are verified and compared with shift logs.
  • Production confirmations in SAP S/4HANA are checked for accuracy.
  • Edge failover scenarios are tested, including network disconnections and cloud connectivity interruptions.

The pilot phase is particularly important for user acceptance. For the first time, both shop floor operators and production management experience the benefits of real-time production data in practice.

Phase 5: Rollout and continuous optimization

Following a successful pilot, the solution is rolled out to additional machines and production lines.

A standardized onboarding process for new machines, including agent templates, machine model templates, and checklists, accelerates the integration of each additional machine.

The continuous optimization phase includes:

  • Expanding OEE loss analyses and deriving improvement measures.
  • Adding more data points, such as process parameters for Statistical Process Control (SPC).
  • Integrating additional systems, such as quality management and maintenance through SAP Plant Maintenance (SAP PM).
  • Developing predictive maintenance scenarios based on historical machine data.

Frequently asked questions (FAQ about machine integration with SAP DM)

What is the difference between SAP Plant Connectivity and SAP Production Connector? ×

SAP Plant Connectivity (PCo) was the previous integration platform for shop floor connectivity.

For SAP Digital Manufacturing, it is being replaced by SAP Production Connector, which SAP recommends as the connectivity layer.

Production Connector connects shop floor devices through agent instances, is more closely aligned with SAP DM and cloud environments, and includes an edge component for buffering data during cloud outages.

For existing customers, this means migrating existing PCo connections to Production Connector. New implementations start directly with Production Connector.

Migration should be addressed early in project planning because agent configurations, tag mappings, and cloud connectivity must be transferred and tested.

Is machine connectivity possible without OPC UA? ×

Yes, through an upstream gateway. Production Connector connects OPC UA data sources.

For legacy machines without OPC UA capabilities, the common approach is to use an upstream protocol gateway or OPC server, such as Kepware or Softing, to normalize the native PLC protocol into OPC UA. For machines without any digital interface, sensor retrofits are the first integration step. Examples include energy meters, vibration sensors, and photoelectric sensors at counting points.

How does SAP DM handle cloud outages or network interruptions? ×

SAP Digital Manufacturing for Edge Computing is designed specifically for this scenario. The edge layer executes production-relevant SAP DM functions locally and buffers all generated machine data.

Once the cloud connection is restored, the buffered transactions are synchronized. This allows production to continue without interruption during cloud connectivity outages.

What data can SAP DM send back to machines? ×

Data transferred from SAP DM to machines, also referred to as downstream communication, typically includes production order data (order number, material number, quantity), recipe and process parameters (target temperatures, pressures, cycle times), tool data and tool change requests, as well as production programs and sequencing information. Data is transferred through method calls executed by Production Connector agent instances.

Is SAP S/4HANA mandatory? ×

No. SAP Digital Manufacturing can also be used in scenarios without SAP S/4HANA integration. Examples include standalone MES scenarios using SAP Digital Manufacturing without an ERP backend, or transitional scenarios in which a legacy ERP system continues to operate initially.

However, the full benefits of integration, including automated production confirmations, master data synchronization, and goods movements, are realized when SAP DM is combined with SAP S/4HANA. For this reason, migration from SAP ECC to SAP S/4HANA and the implementation of SAP DM are often planned as part of a joint transformation project.

How long does a typical machine integration take? ×

Implementation time varies significantly depending on equipment complexity, the heterogeneity of the control system landscape, and the maturity of the existing IT infrastructure. Individual machines with OPC UA capabilities can be connected within a few days.

For a complete production line with a mixed control system landscape, including new and legacy equipment, protocol gateways, and sensor retrofits, a timeframe ranging from several weeks to a few months is realistic, depending on whether an integration layer is already in place. A thorough assessment in Phase 1 and early involvement of equipment manufacturers and control engineers are critical factors in determining the overall project timeline.

Future trends: Predictive maintenance and autonomous machine connectivity

Today's machine integration establishes the foundation for tomorrow's data-driven manufacturing concepts: predictive maintenance, autonomous process optimization, and the continuous expansion of the digital twin.

Predictive maintenance based on SAP DM machine data

When machine data, including vibration, temperature, energy consumption, and cycle times, is stored historically in SAP DM over an extended period, it creates the data foundation for AI-powered predictive models.

Instead of scheduling maintenance based on calendar intervals or operating hours, machine learning models continuously analyze anomalies in machine data profiles.

This enables early detection of wear patterns that indicate an impending failure.

Within the SAP ecosystem, this approach can be extended through SAP Asset Intelligence Network and SAP Predictive Maintenance and Service (PdMS).

For example, a vibration anomaly detected in SAP DM can automatically trigger a maintenance order in SAP PM before a failure occurs.

AI-powered anomaly detection in real time

Modern manufacturing environments generate volumes of data that cannot be analyzed manually.

AI models running directly at the edge or in the SAP DM cloud continuously monitor this data and filter relevant signal events from background noise.

Sensors measure vibration, temperature, pressure, or sound.

AI models identify patterns and anomalies in real time and automatically trigger alerts, service notifications, or adjustments to production programs.

More autonomous machine connectivity and self-configuration

In the medium term, development is moving toward self-configuring machine connections.

Machines that provide self-describing OPC UA information model namespaces will increasingly be automatically detected by Production Connector and SAP DM and integrated into the machine model.

OPC UA Companion Specifications, such as umati for machine tools or the Companion Specification for robotics, establish standardized machine communication models that significantly reduce manual mapping effort.

Optimize SAP DM

Contact our expert to learn more about SAP Digital Manufacturing and machine integration.
Your contact person
Marco Lederle Managing Director at io
Marco Lederle
Managing Director