Configuring Siemens DP-DP Coupler with IM308C Profibus Setup

David Krause14 min read
ProfibusSiemensTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview

The Siemens IM 308C is a Profibus DP master interface module for the S5-115H/F, S5-135U, S5-155U/H, and S5-155H/F PLC families. It allows an S5 station to act as a Class 1 DP master on a Profibus DP network. In real-world plants, an S5 station running an IM 308C often needs to exchange data with a second Profibus DP master that lives on a different bus segment, perhaps belonging to a different cell, a different vendor's controller, or a redundant network. The standard way to bridge two DP masters without merging their bus parameters is the DP/DP Coupler.

The DP/DP Coupler (Siemens catalog number 6ES7 158-0AD01-0XA0 for the classic version, 6ES7 158-0AD02-0XA0 for the upgraded module) is a slave on both sides: it presents a Profibus DP slave interface to the IM 308C on segment A and another Profibus DP slave interface to the second master on segment B. It copies the output data it receives from one side into the input image of the other. The bus parameters, baud rate, and master configuration of the two segments are completely independent; only the data image widths and data types must match across the coupler.

The official product description states: "The function of the DP/DP coupler is to connect two PROFIBUS DP networks with one another and to transfer data between the masters of both networks." See the Siemens support article New DP/DP Coupler Released for Delivery (ID 18491063).

When to Use a DP/DP Coupler with an IM 308C

Use a DP/DP Coupler between an IM 308C and another DP master in any of the following situations:

  • The two Profibus segments run at different baud rates (e.g., 1.5 Mbit/s on the S5 cell, 12 Mbit/s on the new S7-300 cell) and cannot share a single bus.
  • The S5 master must appear as a standard DP slave to the other master so the other master can use a generic slave project without needing any S5-specific GSD.
  • You must isolate the bus segments electrically (the DP/DP Coupler provides galvanic isolation between the two Profibus networks).
  • You are migrating an S5 cell toward S7-400 or S7-1500 and want to leave the IM 308C in service while the new master reads the same I/O image.

The DP/DP Coupler is not a router and does not extend a single bus. It is a gateway that exchanges a fixed data image between two masters.

Prerequisites

Before starting the configuration, gather the hardware, software, and documentation listed below.

Item Requirement
IM 308C module Siemens 6ES5 308-3UC11 or 6ES5 308-3UC21 (or compatible variant). Firmware state must be compatible with the Com Profibus version in use.
DP/DP Coupler 6ES7 158-0AD01-0XA0 (classic) or 6ES7 158-0AD02-0XA0 (current). Check the labeling on the front of the device for the exact order number.
Com Profibus Version 5.1 or later if you are using a Version 2 DP/DP Coupler. Earlier Com Profibus releases cannot import the newer GSD revision.
GSD file The Siemens GSD file for the DP/DP Coupler must be available on the engineering PC. The original entry ID is 113602 in the Siemens support database. The GSD filename is typically SIEM8110.GSD for the classic module and SI81B0F0.GSD for the V2 coupler.
Second Profibus master The downstream master on the other side of the coupler (S7, third-party PLC, PC card). It must support a Profibus DP slave of the configured I/O width.
Power supply 24 V DC, sufficient to power the DP/DP Coupler. The device draws a small quiescent current; refer to the Helmholz DP/DP Coupler Manual (6ES7 158-0AD02) for the exact value.
Profibus cables and connectors Two Profibus DP segments with their own bus terminators. The DP/DP Coupler is a slave, so it is connected as a normal station on each segment.
Critical version note: A DP/DP Coupler Version 2 requires Com Profibus V5.1 or higher on the IM 308C side. If you try to load the V2 GSD into an older Com Profibus, the tool will reject the file or fail to enumerate the slots. Confirm the Com Profibus build by selecting Help > About in the menu bar.

Hardware Installation

  1. Mount the DP/DP Coupler on a 35 mm DIN rail inside the cabinet. Allow at least 25 mm clearance above and below for ventilation and cable bend radius.
  2. Connect the 24 V DC supply to the removable terminal block on top of the coupler. Observe polarity: terminal 1 is +24 V, terminal 2 is 0 V, terminal 3 is functional earth (FE). The FE terminal should be bonded to the cabinet ground bar to discharge any cable-borne transients.
  3. Plug the first Profibus DP connector into the left Profibus port (segment A, the IM 308C side). Use a Profibus connector with an enabled terminating resistor on the physical end of the segment, and a connector with the terminating resistor disabled everywhere else.
  4. Plug the second Profibus connector into the right Profibus port (segment B, the second master side). Repeat the termination rule for that segment.
  5. Power up the coupler. The green PWR LED should illuminate steadily. The two BF (bus fault) LEDs may flash until both masters establish a connection.

The procedure mirrors the steps documented in the DP/DP Coupler installation manual: plug the power supply into the new DP/DP coupler, then plug the bus connection plugs into the PROFIBUS DP interfaces of the new DP/DP coupler.

Integrating the GSD File into Com Profibus

The IM 308C is not configured with STEP 7. It uses a dedicated Siemens tool, Com Profibus, which is supplied with the IM 308C package. The first task is to register the DP/DP Coupler's GSD file in the Com Profibus device catalog.

  1. Copy the GSD file (for example SIEM8110.GSD) and the matching bitmap file (SIEM8110.BMP or SIEM8110.NMP) into the Com Profibus GSD directory, typically C:\ComProfibus\GSD or the equivalent path on your installation.
  2. Start Com Profibus and open the IM 308C master project. If the project does not exist, create a new master system that matches the IM 308C you have installed.
  3. Choose Options > Install GSD (the exact menu text varies slightly by Com Profibus build) and point the dialog to the GSD directory. Com Profibus will parse the GSD and add the DP/DP Coupler to the device catalog under the DP Slave > Coupler branch.
  4. If the coupler does not appear in the catalog, exit Com Profibus, verify that the GSD filename extension is .GSD and not .gsd (Windows is case-insensitive, but some Com Profibus builds are not), and re-open the tool.
If you upgrade an existing IM 308C project to use a Version 2 DP/DP Coupler, install the new GSD first, then re-open the project. Do not edit the slot table of an already configured DP/DP Coupler instance; delete the old slave and insert a fresh one from the updated catalog so that the new module parameters (such as diagnostics bits) are applied.

Configuring the IM 308C Side of the Coupler

  1. In the Com Profibus network view, drag the DP/DP Coupler from the device catalog onto the Profibus line that represents the IM 308C segment. The tool assigns the next free slave address; if you need a specific Profibus address, edit the slave's properties dialog and enter it manually (valid range 1 to 125).
  2. Open the slot configuration of the new slave. The DP/DP Coupler exposes a configurable number of input and output slots. Add slots until the data width matches the data width you will configure on the other side of the coupler. Common configurations are 16 inputs / 16 outputs (one word each way), 32 inputs / 32 outputs, or 64 inputs / 64 outputs.
  3. For each slot, set the data type: Input or Output from the perspective of the IM 308C. The slot is one byte, one word, or one double-word; pick the granularity that matches the data you want to move.
  4. Record the start addresses. The IM 308C presents the data to the S5 CPU in the peripheral I area (P area) and the extended P area. The P addresses that Com Profibus displays are the addresses you must use in the S5 program (e.g., PY 128 for a single byte at P address 128).

Configuring the Second Master Side

The second master on segment B is configured independently. The only requirement is symmetry across the coupler: for every input slot on the IM 308C side there must be a same-size output slot on the other side, and vice versa.

  • Symmetry rule: An input area on the IM 308C side must appear as an output area of the same size and data type on the other side. An output area on the IM 308C side must appear as an input area of the same size and data type on the other side.
  • Example: IM 308C configures 16 bytes of input at slot 0; the second master must configure 16 bytes of output at slot 0 of its DP/DP Coupler instance. The coupler simply copies the output bytes of side A into the input bytes of side B and the output bytes of side B into the input bytes of side A.
  • Mismatched sizes: The DP/DP Coupler will still power up and exchange the configured data, but anything outside the symmetric region is undefined. Avoid asymmetric configurations: they make field diagnostics very difficult because the symptom (random values) looks like a wiring problem rather than a configuration error.

Data Image and S5 Address Mapping

The IM 308C places the DP slave's I/O into the S5 peripheral image. The starting P address depends on the IM 308C slot in the S5 rack and the offset configured in Com Profibus. A typical default for the first IM 308C is P address 0. If you stack a second IM 308C, Com Profibus automatically assigns the next available range.

Slot type on IM 308C side Data direction from S5 CPU viewpoint S5 access example
Input byte, slot 0 Read from second master L PB 0 or L PY 0
Input word, slot 1 Read from second master L PW 2
Output byte, slot 0 Write to second master T PB 128 or T PY 128
Output word, slot 1 Write to second master T PW 130

Note that the actual P addresses depend on the project. Always read them from the Com Profibus configuration printout, not from a generic example.

Version 2 Coupler Specifics

The DP/DP Coupler Version 2 (6ES7 158-0AD02-0XA0 and related variants) extends the original V1 design. Differences relevant to an IM 308C integration include:

  • Larger maximum data image: V2 supports up to 244 bytes input and 244 bytes output per side, partitioned into slots. V1 was limited to 32 bytes input / 32 bytes output per side in many firmware revisions.
  • Extended diagnostics: V2 exposes additional diagnostic slots that report the state of the opposite Profibus segment (e.g., "partner bus failure"). You can map these into the IM 308C's P area and read them from the S5 program to detect when the second master drops out.
  • GSD revision: The V2 GSD is not interchangeable with the V1 GSD. You cannot load a V1 GSD into Com Profibus and expect to access V2 features, and you cannot load a V2 GSD into Com Profibus older than V5.1.
  • Configuration tool support: Com Profibus V5.1 or higher is required to import the V2 GSD. If you are running a legacy Com Profibus, plan an upgrade of the engineering PC before swapping the coupler hardware.

Verification

  1. Power cycle the DP/DP Coupler and observe the front-panel LEDs. PWR should be solid green, BF1 and BF2 (bus fault per segment) should be off once both masters have completed the startup sequence.
  2. In Com Profibus, use the online view (Target System > Online or equivalent) to read the diagnostic buffer of the IM 308C. A clean session shows no DP slave diagnostics for the coupler slave address.
  3. Force a known pattern on the output side of one master (for example, write 16#AAAA to the first output word in the S5 program or the STEP 7 project) and read the corresponding input on the other master. Repeat the test in the opposite direction. Both directions must pass before commissioning is complete.
  4. Pull the Profibus connector on the second-master side while monitoring the IM 308C diagnostic buffer. The DP/DP Coupler should report a partner bus failure (V2 only) and the IM 308C should log a slave diagnostic event. Reconnecting the connector should clear the fault within one DP cycle.
  5. Pull the 24 V supply on the DP/DP Coupler. The IM 308C should report the slave as failed within the configured watchdog time. Restore the supply and verify that the data exchange resumes without restarting the S5 CPU.

Troubleshooting Matrix

Symptom Likely cause Corrective action
Coupler BF1 or BF2 LED on, other side dark Bus fault on the lit segment: short, missing termination, wrong baud rate, or duplicate slave address Verify Profibus termination at both ends of the segment. Check that no other station shares the coupler slave address. Confirm both masters use the same baud rate as the segment (1.5 Mbit/s, 12 Mbit/s, etc.).
Both BF LEDs off but data is always zero or random Asymmetric slot configuration across the coupler Print the slot tables from both masters. Verify that every input slot on one side has a matching output slot of the same size on the other side and vice versa.
IM 308C logs "slave diagnostics, station not found" The IM 308C project does not contain the coupler slave, or the Profibus address in the project does not match the hardware Read the address from the rotary switches (or the configuration tool that set the address) on the coupler. Compare with the address in Com Profibus. Insert the slave if it is missing.
Com Profibus refuses to load the GSD Old Com Profibus version, or the GSD extension is in the wrong case Upgrade Com Profibus to V5.1 or higher for V2 couplers. Rename the file to uppercase .GSD if needed.
Data exchange works for a few minutes, then stalls Watchdog time on the IM 308C is too short for the configured baud rate and slot count Open the IM 308C properties in Com Profibus and increase the DP watchdog. Re-test.
S5 program reads old values after a master restart on segment B The S5 program is not refreshing the input image after a DP reconfiguration Add a S5 OB1 initialization step that clears the P range, or trigger a process image refresh after the IM 308C reports the slave as healthy again.
Coupler V2 does not appear in the device catalog V1 GSD is registered but V2 GSD is not Install the V2 GSD explicitly via Options > Install GSD. Restart Com Profibus.

Field-Proven Caveats

  • The DP/DP Coupler does not filter or interpret the data. It is a transparent byte mover. Any endian mismatch, scaling error, or handshaking protocol must be implemented in the application programs of the two masters.
  • If the S5 cell is later replaced by an S7-1500 with a Profinet/Profibus gateway, the DP/DP Coupler remains in the rack and continues to act as a Profibus slave to the new master. The data image is preserved, which simplifies migration.
  • Always print and archive the Com Profibus slot table for the coupler slave. This is the single most useful document when troubleshooting a field incident three years later.
  • The DP/DP Coupler does not support DP-V2 services such as isochronous mode or slave-to-slave communication. If the second master requires these, you need an IE/PB Link or a Profinet/Profibus gateway instead.

FAQ

What order number identifies the DP/DP Coupler used with an IM 308C?

The classic Siemens DP/DP Coupler is 6ES7 158-0AD01-0XA0. The upgraded Version 2 module is 6ES7 158-0AD02-0XA0. Confirm the exact order number on the front label of the device before you start configuration, because the GSD file and Com Profibus version requirements differ between revisions.

Which Com Profibus version is required to configure a Version 2 DP/DP Coupler?

Com Profibus V5.1 or higher is required to import the Version 2 GSD into an IM 308C project. Earlier builds cannot parse the V2 GSD and will not list the coupler in the device catalog. The Com Profibus build is shown under the Help > About menu.

Do the data areas on the two sides of the coupler have to match?

Yes. For every input slot on one side there must be a same-size output slot on the other side, and vice versa. Mismatched widths cause the narrower side to receive undefined data and make field diagnostics very difficult. Always print and compare the slot tables from both masters before commissioning.

Where is the Siemens GSD file for the DP/DP Coupler located?

The GSD file is available from Siemens Online Support under entry ID 113602. Copy both the GSD file and the matching bitmap file into the Com Profibus GSD directory and use the Options > Install GSD menu to register it. The typical filename for the classic module is SIEM8110.GSD.

Can the DP/DP Coupler bridge two Profibus segments with different baud rates?

Yes. The DP/DP Coupler is a slave on each side, so the two segments are completely independent. The IM 308C can run at 1.5 Mbit/s on segment A while the second master runs at 12 Mbit/s on segment B. The data image is copied between the two segments by the coupler regardless of the baud rate on either side.

How is the data image accessed from the S5 program?

The IM 308C places the coupler data in the S5 peripheral (P) area. The actual start address is shown in the Com Profibus slot table. Typical S5 access patterns are L PB n for an input byte, L PW n for an input word, T PB n for an output byte, and T PW n for an output word, where n is the address from the configuration printout.

Back to blog