Overview
Integrating PROFIBUS PA field devices into a redundant S7-400H controller network frequently forces engineers to place a DP/PA coupler downstream of a Y-Link on a remote DP segment. The native "metadata" configuration path of the SIMATIC PDM / STEP 7 HW Config tool refuses to drop a DP/PA link beneath a Y-Link because the Y-Link's DP slave proxy role changes the slot/identifier structure that the metadata wizard expects. The proven workaround is to switch from the metadata wizard to a GSD-file-based configuration of the DP/PA link, accepting a small loss in engineering comfort in exchange for a working topology.
This article walks through the full design, the exact part numbers for the EX and non-EX DP/PA couplers, the bus parameter adjustments that an OLM (Optical Link Module) fiber ring introduces, and the firmware/STEP 7 constraints that govern the 31.25 kbps PA speed restriction on the segment behind the Y-Link.
Target Architecture
The reference plant consists of:
- CPU 417-4H pair (or 412H/414H/416H equivalent) in a fault-tolerant S7-400H station.
- Y-Link (6GK1411-5BB00 or later 6GK1411-5BB01) on the redundant DP master system of the H-CPU. The Y-Link acts as a DP slave toward the H-CP 443-5 and as a DP master for the downstream "transition" segment.
- Three remote PROFIBUS DP transmitter clusters, each connected to the Y-Link segment by an OLM (e.g. 6GK1503-2CB00 for plastic fiber, 6GK1503-3CB00 for PCF) converting DP copper to FO and back.
- At each remote site, an IM 157 (or ET 200M IM 153-2) configured as a DP/PA link, with one or more DP/PA couplers (6ES7157-0AC80-0XA0 non-EX, or 6ES7157-0AD80-0XA0 EX variant) feeding the PA segment at 31.25 kbps.
- PA instruments such as pressure, temperature, level, and flow transmitters from Endress+Hauser, Siemens, ABB, or Yokogawa.
Topology Diagram (Inline SVG)
Why a GSD File Is Required Behind the Y-Link
The Y-Link exports a transparent DP master system to the H-CPU, but it terminates the DP chain at a fixed set of slots and a fixed diagnostic address. The STEP 7 "DP/PA Link" wizard that ships with SIMATIC PDM generates the PA slave list by reading the live configuration from a "metadata" block of the IM 157-0AA82 / 6ES7157-0AA82-0XA0 firmware. Behind a Y-Link, this metadata block is not exposed through the proxy, so the wizard cannot enumerate the PA slaves and the configuration terminates with diagnostic error "Configuration error in lower-level DP master system".
A GSD file describes the IM 157's slot structure statically; STEP 7 can therefore map a fixed number of PA slaves into the address space without enumerating the live metadata. This is the supported escape hatch and is documented in the Siemens FAQ "How do you configure a PROFIBUS PA network in STEP 7?" and reproduced in the DP/PA Coupler, Active Field Distributors manual.
Prerequisites
- STEP 7 V5.5 + SP2 or later (V5.6 / V5.7 supported) with the HW Config catalog updated for the IM 157-0AA82 and the DP/PA Coupler firmware.
- SIMATIC PDM V8.x or V9.x installed on the same or a connected engineering station.
- GSD file for the IM 157 configured as DP/PA Link. This is generated by the GSD Tool for DP/PA Link (Siemens order number 6ES7157-0AA82-0XA0) referenced in the Siemens support page linked above. The tool outputs a single GSD with the exact slot count of your PA segment.
- GSD files for every PA device on the segment (manufacturers publish them at their product pages; Siemens devices use SIEM089D.GSD or similar).
- Y-Link firmware ≥ V3.0 (6GK1411-5BB01 or higher). Earlier V1.x firmware has limited slot expansion.
- OLM pair sized for the optical budget. Plastic FO: OLM/P11 (6GK1503-2CB00) up to 50 m; PCF: OLM/G11 (6GK1503-3CB00) up to 300 m; glass: OLM/G12 up to 15 km.
- Termination: active bus terminator (6ES7972-0DA00-0AA0) at the far end of the DP/PA segment.
Hardware Components & Part Numbers
| Component | Order Number (MLFB) | Function |
|---|---|---|
| Y-Link | 6GK1411-5BB00 / 6GK1411-5BB01 | DP slave to H-CPU, DP master to downstream segment |
| IM 157 DP/PA Link | 6ES7157-0AA82-0XA0 | Bridges DP 45.45 kbps to PA 31.25 kbps |
| DP/PA Coupler (non-EX) | 6ES7157-0AC80-0XA0 | Passive coupler; max 31.25 kbps; up to 32 PA slaves |
| DP/PA Coupler (EX) | 6ES7157-0AD80-0XA0 | Ex version for Zone 1; same speed, FISCO-compliant |
| OLM P11 (plastic FO) | 6GK1503-2CB00 | DP ↔ POF, ≤ 50 m |
| OLM G11 (PCF) | 6GK1503-3CB00 | DP ↔ PCF, ≤ 300 m |
| OLM G12 (glass) | 6GK1503-4CB00 | DP ↔ multimode glass, ≤ 15 km |
| Active bus terminator | 6ES7972-0DA00-0AA0 | Bus termination on the last DP node |
| IE/PB Link HA (migration) | 6GK1411-5BB00 / 6GK1411-5BB10 | PROFINET ↔ PROFIBUS migration path |
Bus Speed and Timing Constraints
The DP/PA Coupler (non-EX) locks the DP side to 45.45 kbps regardless of the upstream master setting. The IM 157 DP/PA Link further restricts the entire downstream segment to 31.25 kbps because the PA bus is intrinsically 31.25 kbps (IEC 61158-2).
Consequences on the Y-Link's DP master system:
- The DP bus parameter set for the segment behind the Y-Link must be set to 31.25 kbps, even if the Y-Link itself is connected to the H-CPU at 1.5 Mbps or 12 Mbps.
- The Y-Link handles the speed translation automatically between the H-CPU's high-speed DP master system and the slow 31.25 kbps downstream segment.
- Slot time (Tslot), min slave interval (Tmsi), and quiet time (Tqui) must be tuned to 31.25 kbps values: Tslot = 4095 tbit (approx. 131 ms), Tmsi = 20 tbit, Tqui = 0 tbit.
- Fiber round-trip delay (typically 5 µs/km) must be added to Tslot for the OLM-equipped segment.
Step-by-Step Configuration
- Insert the Y-Link in HW Config. Drag "Y-Link" from the catalog under PROFIBUS-DP → Network Components. Place it on the H-CPU's DP master system. Set its DP address (default 33) and its diagnostic address (default 1022).
- Open the Y-Link's downstream DP master system. Double-click the Y-Link → "DP Master System" tab. Note that this sub-master is independent of the upstream H-CPU bus profile.
-
Set the downstream bus profile to DP/PA. In Properties → Bus Parameters → Profile, select
DP/PA. Confirm that the bit rate is shown as 31.25 kbps and that Tslot has jumped to ~131 ms. -
Generate the GSD file for the IM 157 DP/PA Link. Launch the GSD Tool for DP/PA Link (Siemens support DVD or download portal). Enter the number of PA slaves planned for this segment (max 32 per IM 157, max 64 per Y-Link downstream when using two IM 157s in parallel). The tool produces a GSD and a bitmap named e.g.
SIEM81BE.GSDplus a symbol library. Do not use the metadata-based IM 157 GSD; the wizard behind it expects the metadata block that the Y-Link proxy does not expose. - Install the GSD in STEP 7. HW Config → Options → Install GSD File. Restart HW Config. The IM 157 appears in the catalog under PROFIBUS-DP → Other Field Devices → Gateway with a folder for each generated GSD.
- Insert the IM 157 on the Y-Link's downstream bus. Drag the IM 157 onto the sub-master. Assign a unique DP address (e.g. 34) and a diagnostic address. The IM 157 will appear with a fixed slot structure of one slot per PA slave plus two slots for coupler diagnostics.
- Insert each PA slave. Drag the PA device GSDs into the IM 157's slots in the order they were specified to the GSD Tool. Mismatch between the GSD-generated slot count and the real device list will cause the IM 157 to refuse the segment at startup (red SF LED on the IM 157, diagnostic buffer entry "Configuration error slot n").
- Configure the OLM segment in HW Config. In the Y-Link's downstream bus properties, switch to the "Network Topology" view and mark the segment as "Fiber Optic" so STEP 7 inserts an extra 5 tbit margin. Set the repeater count to include the OLM pair (each OLM counts as 1 repeater for PROFIBUS timing purposes).
- Compile and download. HW Config → Station → Save and Compile. Download to the H-CPU. The Y-Link SF LED will clear within 5 s of the first token pass on the downstream bus.
- Commission with SIMATIC PDM. Open PDM → Plant View → connect to the H-CPU. The PA devices will appear under the IM 157 with the addresses set in step 7. Assign the tags, set the units, and download device parameters.
Bus Parameters for the OLM/PA Segment
For a typical 31.25 kbps PA segment behind a Y-Link and an OLM pair, the STEP 7 "DP/PA" profile generates values that you should verify against this table. Do not hand-edit the values unless you are certain the OLM introduces additional delay.
| Parameter | Symbol | Value @ 31.25 kbps | Unit |
|---|---|---|---|
| Bit time | tbit | 32 | µs |
| Slot time | Tslot | 4095 | tbit (~131 ms) |
| Min slave interval | Tmsi | 20 | tbit |
| Quiet time | Tqui | 0 | tbit |
| Setup time | Tset | 1 | tbit |
| Target rotation time | Ttr | 4000 | tbit |
| Gap factor | G | 10 | - |
| HSA | HSA | 126 | - |
| Max repeater count (DP side) | - | 0 (Y-Link terminates) | - |
| FO margin (per OLM pair) | - | 5 | tbit |
Verification and Commissioning Checks
- Y-Link BF1/BF2 LEDs off — upstream DP master system healthy.
- Y-Link SF LED off — downstream sub-master running.
- IM 157 BF LED off, SF LED off — PA segment communicating.
- For each PA device, the green "online" check in SIMATIC PDM Lifecycle View turns solid green.
- Open the H-CPU diagnostic buffer in STEP 7 (PLC → Diagnostic Buffer). Expect no entries containing "Master configuration error", "Slave configuration error", or "Diagnostic interrupt from slave" for the IM 157 address.
- On the IM 157 web page (where supported by the firmware variant) or via PDM, verify that the cyclic data is being exchanged. Status byte 0x00 indicates normal operation; 0x10 / 0x20 indicate "parameter check failed" / "configuration check failed" respectively.
- Force a slave failure by unplugging a PA device. The IM 157 should report a diagnostic interrupt within 30 s and the affected slot should go red in HW Config.
Diagnostics and Troubleshooting Matrix
| Symptom | Likely Cause | Action |
|---|---|---|
| HW Config refuses to place IM 157 downstream of Y-Link | Using metadata-based IM 157 GSD | Generate GSD with the GSD Tool for DP/PA Link; install that GSD instead |
| IM 157 SF LED on, BF off, H-CPU shows "Configuration error slot n" | PA slave slot count mismatches the GSD generated | Recount PA devices, regenerate GSD, recompile |
| PA devices flash on/off, intermittent diagnostics | Bus profile not set to "DP/PA" on the Y-Link downstream master | Open Y-Link → Properties → Bus Parameters → Profile = DP/PA |
| All PA slaves report "No connection" in PDM | PA segment not terminated; 31.25 kbps timing wrong | Install 6ES7972-0DA00-0AA0 active terminator; verify Tslot = 4095 tbit |
| Y-Link BF2 LED on, BF1 off | OLM/FO link broken or wrong fiber crossed (RX/TX swap) | Swap TX/RX pairs at one OLM; verify link LEDs on both OLMs |
| PA devices reachable but cyclic data is 0x00 | Wrong GSD slot mapping (e.g. device swapped with another slot) | Cross-check slot assignment against the GSD Tool output |
| CPU diagnostic buffer: "Fault on lower-level Y-Link DP master system" | Y-Link DP slave proxy timing mismatch | Upgrade Y-Link firmware to V3.0 or higher; verify max slave count ≤ 64 |
| One PA device fails but the rest keep running | Single device address conflict or power supply issue | Verify unique PA address; check segment current draw (max 1 A per PA segment) |
Limitations and Field-Proven Caveats
- Maximum of 32 PA slaves per DP/PA Coupler (non-EX). The EX variant also limits to 32, with the additional constraint of segment voltage ≤ 13.5 V open-circuit and current ≤ 110 mA per segment per FISCO rules.
- Max cable length on the PA side: 1900 m with standard cable, 1200 m with Ex-rated cable. This is independent of the OLM distance on the DP side.
- No HART multiplexing on the PA side of a passive DP/PA Coupler. If you need HART multidrop, use an active field distributor (AFDiS / AFD) which is a powered DP/PA Link with multiple isolated PA branches.
- Time stamping of PA diagnostics is limited to the resolution of the H-CPU's 10 ms time base. The IM 157 does not add precision time stamping on its own.
- Firmware compatibility: IM 157-0AA82-0XA0 requires STEP 7 V5.5 SP2 + HF8 or later; older STEP 7 builds will reject the GSD. Always cross-check the readme on the Siemens support entry before commissioning.
Migration to PROFINET
If the plant is moving to PROFINET, the same PROFIBUS PA segments can be preserved by replacing the Y-Link and the IM 157 with an IE/PB Link HA (6GK1411-5BB10). The DP/PA Couplers stay in place. The IE/PB Link HA proxies the PA slaves as PROFINET IO devices, so the existing STEP 7 PA tag database can be re-used without re-addressing. The DP/PA Couplers' non-EX product page explicitly references this migration path: "By replacing the DP/PA link or Y-link with an IE/PB Link HA, existing PROFIBUS PA and DP segments can be connected to PROFINET without readdressing."
Safety and Approval Notes
- In Ex Zone 1, use only the EX variant of the DP/PA Coupler and observe the entity / FISCO parameters in the Ex certificate.
- The PA segment must be grounded at exactly one point (typically at the DP/PA Link or at the DP/PA Coupler's terminal block). Multiple grounds create ground loops that the PA bus cannot tolerate.
- Shielding must be applied on both ends of every PA trunk cable. Use cable glands that provide 360° shield contact, e.g. Skintop MS-SC from Lapp or comparable.
- The DP/PA Coupler itself is a passive device. It must be powered from the same 24 V DC bus as the IM 157. Voltage drop on long PA trunks can drop the supply at the far end below the 9 V minimum — in that case add a power conditioner near the coupler.
Frequently Asked Questions
Can a DP/PA coupler be used behind a Y-Link on an S7-400H system?
Yes, but only with a GSD-file-based configuration of the IM 157 DP/PA Link. The native "metadata" configuration path refuses to place a DP/PA link downstream of a Y-Link because the Y-Link's DP slave proxy does not expose the IM 157's metadata block. Generate the IM 157 GSD with the Siemens GSD Tool for DP/PA Link, install it in STEP 7, and the topology will compile cleanly.
Why does the PROFIBUS DP speed have to drop to 31.25 kbps behind the Y-Link?
The DP/PA Coupler (non-EX, 6ES7157-0AC80-0XA0) locks its DP side to 45.45 kbps, and the IM 157 DP/PA Link converts that to 31.25 kbps on the PA side (IEC 61158-2). STEP 7 cannot change these rates. Set the Y-Link's downstream bus profile to "DP/PA" in Properties → Bus Parameters so timing constants Tslot = 4095 tbit, Tmsi = 20 tbit are applied.
How many PA devices can one DP/PA Coupler support?
Up to 32 PA slaves per DP/PA Coupler. The Y-Link downstream bus supports up to 64 slaves in total, so you can chain two IM 157/DP/PA Coupler pairs in parallel to reach the 64-slave limit, with the caveat that each coupler must have a unique starting address in the IM 157's slot map.
What if I need to migrate this topology to PROFINET later?
Replace the Y-Link and the IM 157 with an IE/PB Link HA (6GK1411-5BB10). The DP/PA Couplers and the PA field devices stay in place unchanged. The IE/PB Link HA exposes each PA device as a PROFINET IO device so existing tag databases and HMI screens can be re-used without re-addressing.
How do I verify the configuration is correct after download?
Confirm that the Y-Link SF LED is off, the IM 157 BF and SF LEDs are off, and SIMATIC PDM shows every PA device with a solid green "online" status. The H-CPU diagnostic buffer must contain no entries for "Master configuration error" or "Slave configuration error" on the IM 157 address. Finally, force a single PA device to fail and confirm that a diagnostic interrupt appears in the buffer within 30 seconds.