PROFIBUS DP Class 1 vs Class 2 Master
On a PROFIBUS DP bus not all masters do the same job, and the manuals distinguish a Class 1 master from a Class 2 master. One runs the cyclic control; the other is the engineering and diagnostic tool. Getting the two straight explains who owns the slaves and who is just visiting. This page compares DPM1 and DPM2 and when each applies.
PROFIBUS DP Master Class in one line: A PROFIBUS DP Class 1 master (DPM1) is the controller that runs the cyclic data exchange with the DP slaves - normally the PLC that owns the process. A Class 2 master (DPM2) is a temporary engineering or diagnostic station, such as a programming laptop, used to configure, commission, and monitor the bus without running the cyclic control loop.
The Class 1 Master Runs the Process
The DPM1 is the active heart of a DP bus. It holds the configuration of the slaves it owns, exchanges cyclic input and output data with each of them every bus cycle, and monitors them for faults. This is the master doing the real control work, and on a typical line it is the PLC. Each DP slave is parameterized and owned by exactly one Class 1 master, which is what gives the bus a single, clear controller of record for its process data.
Because the DPM1 drives the cyclic exchange, it is also what detects a slave that fails to respond, reports a diagnosis, or falls out of the expected configuration. It runs continuously as long as the process runs. Its counterpart in the PROFINET world is the IO controller, and the two play the same owning-and-driving role in their respective networks.
The Class 2 Master Configures and Observes
The DPM2 is the engineering and diagnostic role. It is typically a laptop or a programming device that connects to the bus temporarily to set slave addresses, download configurations, read diagnostics, and monitor live values during commissioning or troubleshooting. It does not run the cyclic control loop, so you can attach it to a running bus to look at what is happening and detach it again without stopping the process.
This is exactly where token passing earns its keep: the Class 2 master shares the bus with the Class 1 master because the token arbitrates access, so a diagnostic tool can coexist with live control instead of colliding with it. The distinction maps cleanly onto PROFINET, where the DPM2 role corresponds to the IO supervisor used during commissioning. The practical rule is the same in both worlds: the Class 1 master or IO controller owns and drives; the Class 2 master or supervisor configures and observes and is not required for the process to keep running.
The Two Roles Side by Side
| Class 1 master (DPM1) | Class 2 master (DPM2) | |
|---|---|---|
| Typical hardware | The PLC or process controller | An engineering laptop, programming device, or asset-management station |
| Presence on the bus | Permanent; runs as long as the process runs | Temporary; attached for commissioning or diagnostics |
| Relationship to slaves | Parameterizes, owns, and exchanges cyclic I/O data | Reads diagnostics and monitors; acyclic access only |
| Required for production | Yes | No |
The table also explains a habit worth keeping: never assume a bus has exactly one master just because only one PLC is in the drawing. Any time an engineering tool is plugged in, the bus is a multi-master network, and its timing parameters were - or should have been - configured with that in mind.
Token Timing and Addressing When a DPM2 Joins
Both master classes are active stations: they take turns holding the token, and only the token holder may initiate traffic. That has two practical consequences for plugging in an engineering station. First, the address you give the DPM2 must be a free station address at or below the configured highest station address - the HSA determines which addresses participate in the token ring, and a master parked above it never receives the token and simply cannot talk. The mechanics are covered under the PROFIBUS station address and HSA.
Second, an extra token holder adds to the rotation. The bus parameters set at configuration time, including the target rotation time, determine how much slack exists for a visiting master's traffic; a bus configured with no allowance for a second master can see its cycle stretch when a tool attaches. How the token circulates among masters and how the cyclic exchange fits inside each token holding is described under the DP bus cycle and token passing. Whether a given bus has that slack is a property of its configured parameters, so check the project settings rather than assuming.
The Acyclic Services a DPM2 Actually Uses
A Class 2 master does its work through acyclic services rather than the cyclic exchange. It establishes a temporary connection to a slave alongside the slave's cyclic relationship with its owning DPM1, reads or writes parameter records, then releases the connection. These acyclic read and write services arrived with the DP extensions - the capability split across protocol generations is laid out in DP-V0, DP-V1, and DP-V2 - and they are what make it possible to configure an intelligent field device in a running system without disturbing its cyclic I/O.
This is also why the DPM2 role matters so much on installations with PROFIBUS PA instruments hanging off the DP backbone: device parameterization tools reach those instruments through exactly this acyclic path, while the DPM1 keeps exchanging the cyclic process values the whole time. Owner and visitor use different doors into the same slave, and neither blocks the other.
Before You Plug In: A Short Field Checklist
- Confirm a free station address for the tool, at or below the HSA, and set it before connecting.
- Match the configured baud rate; a mismatched station can disturb a live bus.
- Connect at a proper bus connector or dedicated service socket rather than improvising a tap.
- After attaching, watch bus health for a moment - slave diagnostics and communication status - before starting any downloads.
- When finished, disconnect cleanly and confirm the bus returns to its normal state.
None of this is exotic, but the failure stories all start the same way: someone attached a tool with a conflicting address or the wrong baud rate to a bus that was running production. The token mechanism makes coexistence possible; the checklist makes it uneventful. On anything feeding a live process, coordinate with operations before attaching, per site procedures.
Frequently Asked Questions
What is the difference between a DPM1 and a DPM2?
A DPM1 (Class 1 master) runs the cyclic data exchange with the DP slaves and owns the process - normally the PLC. A DPM2 (Class 2 master) is a temporary engineering or diagnostic station, like a programming laptop, that configures, commissions, and monitors the bus without running the control loop. The DPM1 drives; the DPM2 observes.
Can a Class 2 master be connected to a running bus?
Yes. Because token passing arbitrates bus access, a Class 2 master can share the bus with the Class 1 master that is running live control. You attach the DPM2 to read diagnostics and monitor values during commissioning or troubleshooting, then detach it without stopping the process. It does not take over the cyclic control exchange.
Which master owns a PROFIBUS DP slave?
The Class 1 master owns the slave. Each DP slave is parameterized by and exchanges cyclic data with exactly one DPM1, which gives the bus a single clear controller of record for that slave's process data. A Class 2 master can read and monitor the slave but does not own it or run its cyclic control loop.
Can one station be both a Class 1 and a Class 2 master?
The classes describe roles, not boxes, and some controllers and tools implement both role sets. What matters on the bus is the function being exercised: cyclic ownership of slaves is DPM1 behavior, while acyclic configuration and diagnostic access is DPM2 behavior. A slave still has exactly one owning Class 1 master regardless of how many stations can perform Class 2 services against it.
Does attaching a Class 2 master slow down the bus?
It adds a token holder and its acyclic traffic to the rotation, so the effect depends on the bus parameters configured for the project - in particular how much rotation-time allowance was left for a visiting master. A bus parameterized with that slack absorbs an engineering station gracefully; one configured tightly around a single master may see its cycle stretch. Check the project's configured parameters rather than assuming either way.
Automation services
Need help turning this into a working system?
Merobix integrates SCADA, programs Allen-Bradley and Siemens PLCs, and designs and fabricates industrial control panels.
Meeting requests are reviewed before confirmation.