Overview
Integrating a stand-alone SIMATIC S7-315-2DP into a legacy SINEC L2 network as a Profibus DP slave is a common migration step when an existing S5-948 master plant must be expanded without replacing the controller. SINEC L2 was the original Siemens branding for Profibus DP (EN 50170 / IEC 61158) and is fully interoperable with Profibus-DP networks of today, provided the correct bus parameters, GSD, and handshake structures are observed on both sides.
This procedure uses the classic tool chain: COM PROFIBUS on the master (S5) side and STEP 7 V5.x / SIMATIC Manager on the slave (S7) side. The result is a deterministic, cyclic Profibus-DP data exchange between the S5 CPU 948 (typically via an IM 308-C master interface) and the S7-315-2DP integrated DP port.
Prerequisites
| Component | Detail | Purpose |
|---|---|---|
| S7-315-2DP CPU | 6ES7 315-2AG10 / 2AF03 / 2AH14 / 2EH14 | Profibus DP slave with integrated X2 port |
| S5-948 CPU | 6ES5 948-3UA11 / 3UA21 / 3UR21 | Master controller, no native DP |
| IM 308-C | 6ES5 308-3UC11 (or -3UC21 / -3UC31) | Profibus master interface in the S5 rack |
| COM PROFIBUS | V5.1 or later | Master-side DP configuration |
| STEP 7 / SIMATIC Manager | V5.4 / V5.5 + SP | Slave-side HW config (HW Config) |
| S7-300 GSD file | SIEM089D.GSD or SI80F0C0.GSD (CPU dependent) | Required by COM PROFIBUS to expose S7 as DP slave |
| PG (programming device) | RS-232 (AS511) or MPI/Profibus | Online programming of S5 and S7 |
For a full reference of the S5 Profibus interface handling, see the SINEC L2 Interface of the S5-95U Programmable Controller manual (6ES5 998-8MB22), which contains bus parameter defaults still applied in the S5-948 / IM 308-C era. The original Siemens Support entry ID 113652 is the official repository for SIMATIC S7 / S7-300 GSD files and remains the canonical download point for SIEM089D.GSD and successor files.
Network Architecture
The classic topology for this integration is a single Profibus-DP segment with the IM 308-C acting as class 1 master. The S7-315-2DP is attached as a DP slave. A typical wiring is shown below.
+-------+ IM 308-C +------------------- Profibus DP (RS-485) -------------------+
| S5 | (6ES5 308-3UC11) | |
| 948 +-------+-------+ | |
| | S5 | DB1 | | |
| | PROG.| SYS | | |
+-------+-------+-------+ | 9.6 kBaud ... 12 MBaud |
| | (default 1.5 MBaud) |
| AS511 | |
v v v
+------+ +--------+ +--------+ +--------+ +--------------+
| PG | | IM308C |----| Term. |----| ET200M |---- ... ---- (segment)-----| S7-315-2DP |
+------+ | Mstr #1| | ON | | slaves | | (X2) slave #X|
+--------+ +--------+ +--------+ +--------------+
Key topology rules:
- One bus terminator ON at the first and last physical node; all other nodes OFF.
- Maximum of 32 stations per segment; repeaters required beyond 32 nodes or 1000 m at the chosen baud rate.
- Default baud rate for legacy SINEC L2: 1.5 MBaud with 187.5 kBaud fallback. Match this on both COM PROFIBUS and STEP 7 HW Config.
- Profibus addresses: master = 1, S7-315-2DP slave = a free address (typically 3, 4, 5...). Avoid address 0 (PG service) and address 1 (master) and address 126 (default for unconfigured slaves).
Step 1 - Acquire the Correct GSD File for the S7-315-2DP
The S7-300 GSD file is the bridge that allows the S5 COM PROFIBUS tool to expose the S7-315-2DP as a virtual slave station. Each CPU firmware variant has its own GSD.
- Open the Siemens support portal and navigate to entry 113652 "GSD files for SIMATIC S7".
- Identify your S7-315-2DP order number (printed on the front, e.g.,
6ES7 315-2AG10-0AB0) and the firmware release (read with STEP 7 in PLC > Module Information or via the front selector). - Download the matching GSD. Common files used in this configuration:
-
SIEM089D.GSD- early 315-2DP (firmware V1.x / V2.x). -
SI80F0C0.GSD- 315-2AH10 / 2AH14 with Profibus DP-V0 slave support. -
S7_3152AG.GSD- newer variants (firmware V3.x).
-
- Place the GSD (and matching
.BITbitmap if present) in the COM PROFIBUS import directory, e.g.,C:\ComProfibus\GSDorCPBV5x\GSDFILESdepending on the tool version.
Step 2 - Configure the S5-948 + IM 308-C Master in COM PROFIBUS
COM PROFIBUS (V5.1 or later, install from the original "COM PROFIBUS V5.x" disc or from entry ID 113652 supplementary package) builds the binary master configuration consumed by the IM 308-C at startup.
- Launch COM PROFIBUS. File > New > Master system; select
IM 308-Cas master type andS5-95U/948as host. Set master Profibus address = 1. - Import the GSD: Options > Install GSD. After installation, the S7-300 family appears in the catalog tree.
- Drag the S7-315-2DP slave from the catalog into the bus line. Assign a free Profibus address (e.g., 3).
- Define the I/O slot configuration. The S7-315-2DP exposes the following default slot 0 modules (you may add/remove per project):
- Slot 1: 32 DI (inputs from the master perspective)
- Slot 2: 32 DO (outputs to the slave)
- Slot 3: AI 8x12Bit / 16 words diagnostic
- Open Bus parameters tab. Set:
- Baud rate: 1.5 MBaud (or 187.5 kBaud for long cables / legacy hubs).
- Slot time (TSL): 1000 bit-times at 1.5 MBaud.
- Min slave interval (min TSDR): 11 bit-times.
- Max slave interval (max TSDR): 150 bit-times.
- Quiet time (TQUI): 0.
- Setup time (TSET): 1 bit-time.
-
File > Save, then File > Export to binary. Output is the file
COMDB.TXT/*.2BF(binary configuration) for the IM 308-C.
For a complete sample configuration with a 315-2DP slave, see Siemens Support entry ID 6709721 "Sample configuration: IM 308-C master with S7-300 slave". The same bus parameters and slot layout also apply to the S5-948 host CPU.
Step 3 - Transfer the Configuration to the IM 308-C
- Connect the PG to the S5-948 using an AS511 cable (COM1, 9600 8E1) or via the IM 308-C programming interface.
- Use COM PROFIBUS > PLC > Download to IM 308-C. The tool erases the flash on the IM 308-C and writes the
.2BFbinary. Wait for the green "RDY" LED on the IM 308-C to return to a steady state. - Cycle power on the S5-948 rack so the IM 308-C re-initializes with the new configuration.
Step 4 - Configure the S7-315-2DP Slave in STEP 7
The S7 side must be told it is a slave on its X2 port, with the same address and baud rate as the master, and a slot configuration that matches COM PROFIBUS exactly.
- Open the S7 project in SIMATIC Manager. Open HW Config for the S7-300 station.
- Double-click the DP row of the S7-315-2DP (X2). In the dialog set:
- Operating mode: DP slave.
- Profibus address: 3 (must match COM PROFIBUS).
- Baud rate: 1.5 MBaud.
- Subnet: the same subnet defined for the master (or create a new one and align via Properties > Network).
- In the Configuration tab add the same slot modules that COM PROFIBUS uses, but mirrored: COM PROFIBUS sees the S7 as inputs/outputs from the master side; STEP 7 sees them as outputs/inputs on the slave side. The I and O directions must be opposite between the two tools.
- Compile and download HW Config to the S7-315-2DP via MPI/Profibus.
Step 5 - Configure the S5-948 DB1 System Data Block
The S5-948 / IM 308-C pair uses the system data block DB1 for two purposes: (a) the IM 308-C configuration pointer, and (b) the user-visible I/O image for the cyclic data exchange. Without DB1, the CPU 948 will not see the data of the S7-315-2DP at the configured P/Q addresses.
- In the S5 programming tool (STEP 5 / S5-DOS), open the project of the S5-948.
- Create or open DB1. Place the following data structure (the exact syntax follows the IM 308-C handling blocks described in entry ID 1142470, section 6.1):
DB1 // System data block for IM 308-C / Profibus-DP 0 KC 'IM308C' // Identifier (8 chars) +8 KC 'S5DP' // Protocol / role +16 KF +1 // Master number +20 KF +1 // Slot 0: 1 = active, 0 = passive +24 KF +0 // Reserved +28 KF +0 // Diagnostic address base +32 KF +3 // Profibus address of the S7-315-2DP +36 KF +32 // Number of input bytes from the slave +40 KF +32 // Number of output bytes to the slave +44 KF +0 // Reserved +48 KH 0000 // Status word 1 +52 KH 0000 // Status word 2 +56 KF +0 // Reserved +60 KF +0 // Reserved +64 KC 'END' // End marker - The diagnostic address
+28must match the analog or digital input word the IM 308-C is wired to in the S5 I/O area (PII / PIQ). Typical default base address for IM 308-C: PIW 128 / PQW 128. Adjust to your project's address map. - Save DB1 and download to the S5-948.
- Set the IM 308-C's rotary switch to RUN, then power-cycle the rack so the IM 308-C reads the new
.2BFconfiguration and DB1 is consistent.
Step 6 - Assign Diagnostic and I/O Addresses
| Function | COM PROFIBUS side (master view) | STEP 7 side (slave view) | S5-948 / IM 308-C view |
|---|---|---|---|
| Inputs from slave | Master reads, e.g., IB 0...31 | Slave outputs Q0...Q31 | PII base 128, length 32 bytes |
| Outputs to slave | Master writes, e.g., QB 0...31 | Slave inputs I0...I31 | PIQ base 128, length 32 bytes |
| Diagnostic | Slot 0: standard diagnostics 6 bytes | Slot 0: DP-V0 diag | PIW 254/255 typical |
Keep the byte counts and module IDs identical on all three views. STEP 7 will not compile if the slave I/O length disagrees with the master's view; COM PROFIBUS will warn if the slave device name or address duplicates an existing station.
Step 7 - Verification and Commissioning
- Power up the S5-948 rack first, wait for the IM 308-C RDY LED to go steady green and the SF LED to remain off.
- Power up the S7-315-2DP. The DP port LEDs should be: ON (green, bus voltage), BF (off), SF (off) within 5 seconds. A flashing BF indicates no parameter assignment from the master; a steady BF indicates parameter assignment failed (compare GSD, address, baud rate).
- From the S5 PG, go online in COM PROFIBUS or STEP 5. In the IM 308-C Diagnostics view, confirm the S7-315-2DP appears with status Data Exchange (green).
- From the STEP 7 side, in HW Config right-click the DP port and select Operating Mode > Monitor/Modify. Force a known pattern in the S7 process image outputs; verify it appears in the S5 PII. Reverse: write to the S5 PIQ and read in the S7 I image.
- Document the parameter telegram and the diagnostic telegram with COM PROFIBUS > Diagnostics > Save. Save the STEP 7 project and the S5 program (including DB1) to a versioned archive.
Troubleshooting Matrix
| Symptom | Likely Cause | Action |
|---|---|---|
| S7-315-2DP BF steady red, SF off | No parameter assignment; address or baud rate mismatch | Verify address 3 on both sides; confirm 1.5 MBaud; replace terminators if cable > 100 m |
| S7-315-2DP BF flashing, SF on | Parameter assignment rejected - GSD/firmware mismatch | Match GSD to CPU firmware per ID 113652; upgrade CPU firmware if needed |
| IM 308-C SF red, RDY flashing | DB1 missing or IM 308-C config not loaded | Re-export binary from COM PROFIBUS; re-download to IM 308-C; check DB1 contents |
| S5 sees all zeros / no data | Wrong I/O base in DB1 or in IM 308-C | Set base PIW 128 / PQW 128 in DB1 and STEP 5 symbol table; verify wiring address selector on IM 308-C |
| Intermittent timeout on long cable | Slot time too tight; reflective signal | Reduce baud rate to 187.5 kBaud or 93.75 kBaud; raise TSL to 4096 bit-times; check shield grounding |
| Cyclic I/O works, but diagnostic data is empty | Diagnostic slot not enabled in COM PROFIBUS | Enable DPV0 diagnostics on slot 0; set "Diagnostic" = Yes in COM PROFIBUS slave properties |
| PG cannot reach S7-315-2DP over Profibus | PG routing not enabled | Activate "PG/PC is the only master on the bus" in STEP 7 HW Config - DP interface properties; use a Profibus-to-MPI gateway for indirect routing |
Migration Path Beyond the S5-948
The S5-948 / IM 308-C combination reached end-of-service well before the modern Profibus-DP V1/V2 era. When a plant reaches its end of life, the typical migration is to replace the S5-948 with a S7-300 / S7-400 / ET200S master, then keep the S7-315-2DP as a slave, or upgrade the whole segment to Profinet. For greenfield Profibus segments today, Siemens promotes the SINEC Advanced Network Suite for network management, with configuration best-practices documented in the TIA Portal Scalance configuration guides. The S5-95U SINEC L2 manual 6ES5 998-8MB22 remains the most accurate reference for the bus-parameter math and the original SINEC L2 / Profibus-DP interoperability rules that this S7-315-2DP integration still relies on.
FAQ
Does SINEC L2 still exist as a separate network from Profibus?
No. SINEC L2 was the original Siemens trade name for Profibus DP (EN 50170). All SINEC L2 devices are interoperable with Profibus-DP V0 networks when correct GSD files and bus parameters are used. The branding is obsolete; the protocol and tool chain (COM PROFIBUS, IM 308-C) live on within legacy S5 systems.
Which GSD file should I select for the S7-315-2DP in COM PROFIBUS?
Match the GSD to the S7-300 CPU order number and firmware. For a 6ES7 315-2AG10 with firmware V1.x use SIEM089D.GSD; for 6ES7 315-2AH14 use SI80F0C0.GSD or a newer equivalent. Always obtain the GSD from Siemens Support entry ID 113652 to avoid corrupted or out-of-date files.
What baud rate should I use for the S5-948 / IM 308-C to S7-315-2DP link?
Default 1.5 MBaud for cable runs up to 200 m. For longer cable runs or noisy environments reduce to 187.5 kBaud or 93.75 kBaud and increase TSL in COM PROFIBUS accordingly. The same baud rate must be set on the S7-315-2DP DP port in STEP 7 HW Config.
Why does the S7-315-2DP show a steady red BF LED after configuration?
Steady BF means the master has either sent a parameter-check error or the slave could not enter data exchange. Most common causes are: (a) Profibus address mismatch between COM PROFIBUS and STEP 7, (b) baud rate mismatch, (c) GSD not matching CPU firmware, (d) missing bus terminator on the segment ends.
What is the role of DB1 in the S5-948 with the IM 308-C?
DB1 carries the system data block for the IM 308-C and tells the S5-948 CPU which Profibus slave, at which diagnostic address, exchanges how many input/output bytes. Without a correct DB1, the S5-948 cannot see the cyclic data of the S7-315-2DP. The exact format is documented in Siemens Support entry ID 1142470, section 6.1.