Explainer
Why WinCC needs a DP master above two EM277 DP slaves
Short answer
WinCC does not become a DP master by being installed: one configured DP master must poll both EM277 slaves, either a master-capable PLC with WinCC connected above it, or a WinCC station using its PROFIBUS DP channel and a supported PC interface. SD and DU are telegram framing built by the protocol stack, not settings in a WinCC tag.

On this page
Two S7-200 CPU 224 stations, each fitted with an EM277, give you two PROFIBUS DP slaves and no master — and installing WinCC on a PC does not fill that gap. PROFIBUS DP needs one class 1 master that polls every slave cyclically; the EM277 can only answer that polling, never issue it. Your design therefore gets a configured master between WinCC and the slaves: either a master-capable PLC whose variables WinCC reaches through a supported connection, or the WinCC station itself acting as master through its PROFIBUS DP channel on a supported PC interface. The SD and DU fields you were looking for are built by the protocol stack inside that master; you configure exchange areas and tags, not telegrams.
One master polls, slaves answer #
PROFIBUS DP is strictly master-slave. The class 1 master parameterizes each slave at startup and then exchanges process data with it cyclically, one telegram pair per slave, for as long as the bus runs. A slave holds no token and never transmits unprompted; it answers the master's output data with its input data. The EM277 is a slave-only module, and the CPU 224 offers no DP master mode — which is exactly why an S7-200 with EM277 cannot be a PROFIBUS master. Two EM277 modules on a segment with nothing else means nobody ever sends the first telegram.
A station address identifies a participant; passive slaves take addresses from 1 to 125. Giving each EM277 an address makes it addressable — it does not create a WinCC connection. A WinCC tag lives on a communication connection to a partner; a partner that never speaks leaves the tag without a value, whatever address you typed.
Two routes that put a master on the bus #
| Route | Who is the DP master | What WinCC talks to |
|---|---|---|
| A: PLC master | A master-capable PLC, for example an S7-1200 with a CM 1243-5 | That PLC, over a supported connection such as the S7 channel |
| B: PC master | The WinCC station itself, through its PROFIBUS DP channel and a PC interface such as the CP 5613 | The slaves directly, through that channel |
Both routes satisfy the same rule: exactly one configured master polls both slaves. Route A keeps bus ownership in PLC hardware, with the master project, its diagnostics and its data areas in one engineering environment — the choice for a training rig or a machine. Route B is documented — the configurations-and-communication documentation for WinCC V8.1 describes the PROFIBUS DP channel for a WinCC station as DP master — but it stands or falls on a PC interface whose driver and firmware are supported on your exact operating system and WinCC version.
Route A: a PLC owns the slaves #
The master PLC polls both EM277 modules, and each slave's process data lands in the master's I/O area at the byte offsets you assign in its hardware configuration. WinCC connects to that PLC the way it connects to any S7 controller, and every tag addresses a variable in the master: an input word, an output word, a memory word or a data block. Nothing in the WinCC tag mentions PROFIBUS; the bus is the master's business.
That gives you a clean debugging boundary. When the master's diagnostics show both slaves in data exchange, the PROFIBUS side is finished; if a tag still shows no value, the fault is in the WinCC connection or the tag's address, not on the bus. Test each side against that line.
Route B: the WinCC station as master #
In route B the WinCC station is the master, using the PROFIBUS DP channel on a PC interface — the CP 5613 is one such board — with the interface's software package installed and both slaves entered into the PC master's configuration from the EM277 GSD file. WinCC tags then address the slaves through that channel.
Before committing, check the interface's support matrix for your operating system and WinCC version. A board that is physically present but no longer supported by the installed software is not a master, and the bus stays silent.
The exchange area lives in S7-200 V memory #
On the slave side, the EM277's DP data is a reserved window in the CPU's V memory, set up through the EM277's entry in Micro/WIN — the configuration walked through in configuring the S7-200 EM277 as a PROFIBUS DP slave. You choose the V-memory offset and the byte counts; the master's GSD entry must match the counts exactly, or the slave fails the configuration check and stays out of data exchange. Bytes the master writes land in one part of the window; bytes the slave's program places in the other part are what the master reads back.
Reserve that window in the S7-200 program. If unrelated logic writes into it, the master receives values your program never chose to send, and no bus diagnostic will flag it.
Worked example, byte for byte #
This example is illustrative: the addresses, offsets and sizes below are choices, not device defaults.
Each slave exchanges 4 bytes in each direction. The slave's send part sits at VB0–VB3 and its receive part at VB4–VB7, in both CPUs — allowed, because each CPU has its own V memory and the station address is what separates them. The master assigns station 3 to input bytes IB0–IB3 and output bytes QB0–QB3, and station 4 to IB4–IB7 and QB4–QB7.
- Status read: the station-4 CPU moves 1234 into VW0. A word stores the high byte first, and 1234 = 4 × 256 + 210, so VB0 holds 4 and VB1 holds 210. The master receives IB4 = 4 and IB5 = 210, and a WinCC tag of type INT addressed to the master's input word at byte offset 4 shows 1234.
- Setpoint write: an operator enters 25.00 on a WinCC screen whose tag uses factor 0.01, so WinCC writes 25.00 × 100 = 2500 to the master's output word at byte offset 0. 2500 = 9 × 256 + 196, so QB0 holds 9 and QB1 holds 196, and the station-3 CPU sees VW4 = 2500.
Keep type, byte order and scaling identical at both ends; a mismatch (BCD versus binary, for instance) is the class of fault behind why an HMI writes the wrong PLC value above 9. And prove a new setpoint scaling on a stopped machine before you let an operator write it into a running one.
Why SD and DU never appear in a tag #
In a PROFIBUS telegram, SD is the start delimiter — the pattern that tells every receiver a frame begins — and DU is the data unit carrying the service and its payload; destination and source addresses, the frame control, the check sequence and the end delimiter complete the frame. The protocol stack generates and consumes all of it: in route A inside the master PLC, in route B inside the PC interface. No WinCC dialog offers SD or DU, and neither does Micro/WIN. Your engineering stops at the process data carried inside the DU: which bytes, which offsets, which direction, which type.
If a course assignment asks you to select the SD and the data for the DU, the correct deliverable is the exchange-area mapping plus a bus capture: a PROFIBUS monitor recording of one real telegram, in which you point at the SD byte and at the DU your mapped bytes occupy.
Bring-up sequence #
- Choose the route; with a master-capable PLC available, route A.
- Configure each EM277 in Micro/WIN: distinct station addresses, a reserved V window, byte counts you record.
- In the master project, insert both slaves from the EM277 GSD file obtained through Siemens or its distributors, match addresses and sizes to step 2, and download.
- Wire the segment: PROFIBUS cable, 9-pin D-sub connectors, termination on at the two physical ends only, one baud rate for all stations.
- Confirm in the master's diagnostics that both slaves are in data exchange.
- Add the WinCC connection to the master, or configure the PROFIBUS DP channel and PC interface for route B, then create tags against the mapped offsets with matching types and scaling.
The decision #
- Only the two EM277 slaves exist: there is no master and no data; the design is incomplete until one of the routes below is built.
- A master-capable PLC is available: route A. The PLC owns both slaves; WinCC connects to the PLC and never touches PROFIBUS configuration.
- WinCC must own the bus directly: route B, only with the PROFIBUS DP channel and a PC interface whose support for your operating system and WinCC version you have confirmed.
- SD and DU: configured by you in neither route; the stack builds them, and a bus capture is how you demonstrate that.
Questions asked
Can a Comfort Panel replace the WinCC station in route A?
Yes. Panels and Runtime Advanced connect to the master PLC, never to the EM277 slaves. In the Connections editor you select the SIMATIC S7 1200 driver for an S7-1200 master and set the MPI/DP interface of the connection to the PLC's bus address. The slaves stay invisible to the panel; it sees only the master's variables.
How long can the PROFIBUS segment be?
With standard type A cable, the permitted segment length depends on the baud rate: 1200 m up to 93.75 kbit/s, 1000 m at 187.5 kbit/s, 400 m at 500 kbit/s, 200 m at 1.5 Mbit/s and 100 m at 3 to 12 Mbit/s. Two EM277 stations on a training bench sit far inside every one of these limits; terminate only the two physical ends of the segment.
Does every WinCC version offer the PROFIBUS DP channel?
The channel is documented for the classic WinCC generation, for example in the configurations-and-communication documentation for V8.1. Whether your installed version still ships it, and which PC interfaces it supports on your operating system, is stated in that version's communication manual. Verify both before building route B; otherwise route A is the safe choice.
Can a gateway act as the DP master instead of a PLC?
Yes, provided the gateway has a genuine DP master function and exposes the collected data over a protocol WinCC supports, such as Modbus TCP or OPC. In that design the gateway polls both EM277 slaves and WinCC reads the gateway. The mapping discipline is the same as route A, with the gateway's data table replacing the PLC's process image.


