IMDTouchKnowledge BaseShop main store

How-to

Connecting a PROFIBUS DP slave to WinCC flexible over OPC

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

Yes, no PLC is needed: a PC with a CP 5611 and SIMATIC NET takes the PROFIBUS DP master role, the slave-only device is configured from its GSD file inside the PC station, and the SIMATIC NET OPC server publishes its cyclic data. In WinCC flexible you select the OPC channel, not a controller driver from the device list.

On this page
  1. The PC replaces the PLC as DP master
  2. Why no driver in the list will match
  3. Configure the PC station as the DP master
  4. From DP bytes to OPC items: a worked example
  5. Bad quality in OPC Scout: work from the bus up
  6. Verify the link, not the lamp
  7. The decision, case by case
  8. Questions asked

Yes — you can drive an ABB Digitric 500 with its PROFIBUS module from WinCC flexible 2007 without any PLC: the PC itself takes the PROFIBUS DP master role. Fit a CP 5611, install SIMATIC NET, configure the PC station as DP master, add the Digitric 500 as a DP slave from its GSD file, and let the SIMATIC NET OPC server publish the slave's cyclic data. In WinCC flexible you then add a connection on the OPC channel and bind tags to the items that server publishes. Do not pick a stand-in controller from the driver list: the Digitric 500 is absent from it because WinCC flexible has no native mapping for the device. Siemens documents this exact PC-station arrangement in support entry ID 29645558.

The PC replaces the PLC as DP master #

PROFIBUS DP, standardized in IEC 61158, gives every DP line exactly one class 1 master that owns bus startup, parameterization and the cyclic data exchange with each configured slave. A slave-only device cannot exchange data until such a master exists. The Digitric 500's PROFIBUS module is slave-only, and so is the SENTRON PAC3200 with its PROFIBUS module; neither inherently needs a PLC, but both need a master. The PC becomes that master through the CP 5611, and SIMATIC NET supplies the two layers in between: the PC-station configuration and the OPC server.

Component Role it takes here
CP 5611 The PC's PROFIBUS interface; the master's physical connection to the bus
PC station with SIMATIC NET DP master; owns the slave configuration and the cyclic exchange
Digitric 500 PROFIBUS module DP slave, described to the master by its GSD file
SIMATIC NET OPC server Publishes the configured DP data as browsable OPC items
WinCC flexible 2007 OPC client on its OPC channel; reads and writes those items

Making the PC the master is one of two ways to reach a slave-only PROFIBUS device; the other is to bridge the bus to Ethernet, which the final section covers.

Why no driver in the list will match #

WinCC flexible drivers implement the application protocol, the addressing rules and the connection setup of specific controller families. A device outside the list has no declared mapping, and no experiment with a similar-looking entry will create one. A GSD file cannot close the gap either: a GSD describes a slave to its DP master so the master can configure the cyclic exchange — it adds nothing to the WinCC flexible driver list. Guessing a stand-in controller is worse than failing outright, because a wrong mapping can return bytes from the wrong offsets and display plausible-looking but incorrect values. The OPC channel is the supported route: it hands tag binding to the SIMATIC NET OPC server, whose namespace comes from the GSD-defined layout, and that layout stays authoritative.

Configure the PC station as the DP master #

  1. Get the GSD file that matches the installed PROFIBUS module exactly — the Digitric 500 module here, the PAC3200's PROFIBUS module if that is the slave — from the device maker.
  2. Import it with the documented GSD command, Options > Install GSD file..., and browse to the folder that holds the file.
  3. Create the PC station and enter its required PC modules and software as the SIMATIC NET commissioning manual describes, and insert the CP 5611 as the station's PROFIBUS interface and DP-master resource. If the card has to move into a newer PC with no matching slot, Replacing a CP5611 PCI Card in a New WinCC Station covers the hardware side.
  4. Add the Digitric 500 as a DP slave from the imported GSD catalog and set its station address to the address configured on the device itself. As example values, the PC master takes station address 0 and the slave takes 3; every address on the bus must be unique, because a duplicate stops data exchange for both stations. Set one bus rate on every station — for example 187.5 kbit/s — and keep active termination at both ends of the cable.
  5. Select the slave's modules and data lengths from the GSD catalog to match the device's real configuration. These choices fix the cyclic input and output areas; they are not tag addresses.
  6. Compile and load the PC-station configuration to the local PC communication components. The OPC server builds its item namespace from the loaded configuration, not from the project file on disk.
  7. Set the PG/PC interface to CP5611(PROFIBUS) so configuration and diagnostic access use the PROFIBUS card rather than any other interface in the PC.
  8. Start or restart the required SIMATIC NET communication services and confirm the DP master has reached data exchange with the slave before you configure a single HMI tag.

From DP bytes to OPC items: a worked example #

Suppose the GSD module selection gives one input module of 4 bytes and a second input module of 2 bytes. The input area is then 4 + 2 = 6 bytes, and the PC station assigns it beginning at byte 0: module 1 covers bytes 0 to 3, module 2 covers bytes 4 to 5, and the first byte of the second module is input byte 4 (0 + 4). The output area is assigned the same way from its own configured base. The hardware configuration shows these addresses; you never retype them in WinCC flexible. Open OPC Scout, the test client that ships with SIMATIC NET, browse the server's namespace, and select the items generated for those modules — the item identifier already points at the right bytes. When an item reports good quality, create the OPC connection in WinCC flexible and bind each HMI tag to its item, preserving the device's byte order, word width, sign and scaling. Good quality proves the data is reachable; it does not prove a multi-byte value is decoded the way the device intends.

Bad quality in OPC Scout: work from the bus up #

Bad quality means the OPC server cannot deliver a valid current value for the item, so the HMI tag is not yet a suspect. Check in this order:

  • Confirm the PG/PC interface is set to CP5611(PROFIBUS) and the CP 5611 is available to the configured PC station; this is the most commonly missed step.
  • Check the DP master diagnostics: the slave must be present and in cyclic data exchange. If it is absent, verify the slave address, the bus rate, cable polarity, the connectors and the termination.
  • Compare the configured GSD module sequence and lengths with the device's actual configuration; a mismatch can keep the slave out of exchange or invalidate part of the data area.
  • Confirm the compiled configuration was loaded to the same local station the OPC server runs from.
  • Browse the items again instead of typing an item identifier by hand.
  • Test a configured input item first; output items can additionally depend on ownership or write permission.

Only when OPC Scout shows good quality should WinCC flexible be tried at all. If Scout is good and the panel is not, the fault is in the WinCC OPC connection or the tag binding, not on the bus.

Verification needs three views of one value: the device's own display, OPC Scout and the HMI tag. Change the value through a safe operating range and confirm all three track in the same direction and the same engineering scale. For writable data, choose a noncritical setpoint the equipment design authorizes, put the machine in a state where a wrong write cannot move anything, and confirm the change arrives in the intended output bytes of the area mapped above. A green connection icon proves none of this.

The decision, case by case #

  • The device appears in WinCC flexible's controller list: select it and use the native driver; nothing else is needed.
  • The device is a slave-only PROFIBUS unit that is not listed — Digitric 500, PAC3200 — and the PC can take a CP 5611: configure the PC station as DP master, import the GSD file, publish through the SIMATIC NET OPC server, and connect WinCC flexible on its OPC channel. No PLC, and no stand-in driver.
  • The operator side is Ethernet-only, or the PC cannot be the DP master: bridge the bus instead, as Configure a PROFIBUS to EtherNet/IP gateway for HMI and PLC sets out.
  • The project is new enough to pick hardware freely: a controller that serves OPC UA itself removes the whole PC-station layer; when an S7-1500 can serve OPC UA without a SIMATIC PC station explains that path.

For the combination this article is titled after — a DP slave, a CP 5611 and WinCC flexible — the second case is the answer, and it needs no PLC anywhere on the bus.

Questions asked

Which device do I select in WinCC flexible 2007 for the Digitric 500?

None. The Digitric 500 is a slave-only PROFIBUS device and is absent from the WinCC flexible controller list, so there is nothing correct to pick. You add a connection on the OPC channel instead and bind each tag to an item published by the SIMATIC NET OPC server, which reads the slave through the PC-station DP master. The device never appears as a controller anywhere in the project.

Does WinCC flexible 2007 speak OPC UA?

No. Its OPC channel is a classic OPC DA client, and the SIMATIC NET OPC server in this setup is a DA server, so an OPC UA server cannot be browsed from WinCC flexible 2007. OPC UA is a different protocol that shares only the name; newer panels and WinCC generations add it, which is why recent projects can drop the PC-station layer entirely.

Can the Digitric 500 and a SENTRON PAC3200 share one PC master?

Yes. Both are slave-only, and one class 1 DP master may own several slaves on the same bus. Import each device's own GSD file, give each slave a unique station address, run the whole bus at one rate, and configure each slave's modules separately. The SIMATIC NET OPC server then publishes both slaves' cyclic data in one namespace, and WinCC flexible tags can mix items from either device.

Where do the I/O addresses from the hardware configuration go?

Nowhere by hand. They belong to the DP slave's cyclic input and output area inside the PC-station configuration. The OPC server turns that area into browsable items, so you attach the WinCC flexible tag to the item that represents the bytes you want, and the byte offset stays inside the item identifier rather than in any address field of the HMI.

Is a PLC really never needed?

Not for this job. The PC running SIMATIC NET performs everything a PLC would do on the PROFIBUS side of this link: bus startup, parameterization and cyclic exchange. A PLC becomes necessary only when the application itself needs program logic, interlocks or a process controller; the visualization path from a slave-only device to WinCC flexible does not require one.

Keep reading

  • Explainer

    Which WinCC Version Links to an S7-200 CPU 224XP

    The installed product name decides the link. WinCC flexible connects through its own S7-200 driver over PPI; the classic WinCC SCADA line has no S7-200 channel and needs SIMATIC PC Access as an OPC server between the runtime and the CPU, with the tags created in PC Access first.

    HMI and touchscreens

  • How-to

    Connecting an Omron CV1000 PLC to WinCC over an OPC server

    Classic WinCC has no Omron CV-series channel, so the working route is an OPC server that speaks Host Link to the CV1000 and OPC DA to WinCC. Configure the server against the PLC first, prove one read, then build WinCC tags from the server's item addresses. Use the documented CV1000-CPU01-EV1 Host Link reference values: ASCII, 7 data bits, even parity, 2 stop bits, unit 00, 9600 or 19200 bps.

    HMI and touchscreens

  • Explainer

    Why an OPC DA viewer can't be a bridge endpoint: WinCC tag access

    A bridge copies values between OPC servers, and a client-only viewer exposes no server interface, so it can never be selected as provider or consumer. Restrict the viewer at the server instead: from WinCC V7.5, per-tag OPC write protection and OPC read protection bind every client of the WinCC OPC server, and a SIMATIC NET OPC server offers variable selection, aliases and per-item read and write rights for controller data.

    HMI and touchscreens

Why a WinCC standby server downloads a master-named folder