STARTER Routing via S7-300 MPI: Drive Access Configuration

David Krause19 min read
S7-300SiemensTutorial / 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

Routing Architecture: STARTER, S7-300, and SINAMICS Drives

STARTER is the Siemens commissioning tool for the SINAMICS drive family — covering G110, G120, G120C, G120D, G120P, G130, G150, S110, S120, S150, and SINAMICS MV. STARTER normally reaches a drive over its native bus interface: PROFIBUS DP via the Control Unit's X126 or X136 connector, PROFINET via X150, or a serial USS link on the older G110/G120 units. When the engineering PC is not on the same physical network as the drive, but is connected to the project through an S7-300 CPU, the CPU must act as a router between the two segments. The PC attaches to the CPU's MPI port (or to the Ethernet interface of an integrated PN CPU or a CP), STARTER issues a routed online request, and the S7-300 firmware forwards the request to the drive bus. This is S7 routing.

Two architectural conditions must be satisfied before routing functions:

  1. The drive must exist as a PROFIBUS DP slave or PROFINET IO device under the S7-300 CPU in the STEP 7 / SIMATIC Manager hardware configuration (HW Config). If the drive is configured as a peer station at the same level as the CPU, the routing path is not established and STARTER reports "No target station found" or "Online connection cannot be established". In that case Drive ES Basic or Drive ES PCS 7 is required to integrate STARTER as a child project of STEP 7.
  2. STARTER must use the S7ONLINE access point, not the direct DRIVE interface. Selecting the wrong access point is the single most common commissioning error on this topology and is the root cause of the symptom described in field reports where the engineer is "online on PLC by MPI" but STARTER still cannot reach the drive.

The complete routing procedure is documented in the Siemens application summary "How do you configure S7 routing for STARTER?" available at Siemens Support Entry 2383206. The PG/PC-side procedure is also described in the STARTER commissioning manual at Siemens Support Entry 26202408 and the S7-300 CPU 31x manual collection at Siemens Support Entry 12996906.

Topology and Reference Network

The reference topology uses a single S7-300 CPU with an MPI port and a PROFIBUS DP master port. The PC connects to the CPU's MPI connector, the drive sits on PROFIBUS DP behind the CPU. The CPU forwards routing telegrams between the two segments. With a PN/DP CPU (for example 315-2 PN/DP) the same CPU can additionally act as a PROFINET IO controller and route from Ethernet to PROFINET.

PG / PCSTARTER V5.xPC Adapter USB A2 S7-300 CPU315-2 PN/DPMPI 0 + DP 2[Router]Routing bufferFirmware V3.3+ SINAMICS G120CU240E-2 PNDP addr 4 MPI 187.5 kbit/s PROFIBUS DP S7 routing tunnel (PG function)

The orange (solid) link is the engineering channel. The blue (dashed) link is the drive fieldbus. The green (dotted) curve is the logical routing tunnel: STARTER opens a PG function on the CPU, which in turn opens a PG/OP connection to the drive using the drive's configured PROFIBUS address. Once the tunnel is established, the drive's parameters, diagnostics, trace, and control panel become accessible to STARTER as if the PC were directly on PROFIBUS.

Prerequisites: Software, Licensing, and Hardware

Routing through an S7-300 MPI link requires the following engineering environment. Confirm every entry before starting the configuration; missing prerequisites account for the majority of "still not online" complaints.

Component Minimum version Notes
STARTER commissioning tool V5.1 SP3 (HF7) or later; V5.6 SP3 recommended Install SP and HF updates from the Siemens download portal
STEP 7 / SIMATIC Manager V5.5 SP4 or V5.6 / V5.7 HW Config is the project editor for the drive DP slave
Drive ES Basic V5.5 SPx (optional) Required only if drive is not placed under the CPU in the project tree
Drive ES PCS 7 V8.x (optional) Required only in PCS 7 environments
Drive GSD / GSDML Current vendor file (e.g. SIEM82F4.GSD for G120 V4.7) Install via HW Config → Options → Install GSD
S7-300 CPU firmware V3.2 minimum, V3.3+ recommended Older firmware may limit routing connections
PC Adapter USB A2 FW V2.0+ Sets the MPI transmission speed; auto-detect must be off for stable routing
Drive Control Unit firmware V4.7 SP3+ for G120; V5.2+ for S120 Match the version expected by STARTER's device library
Critical licensing note: Drive ES Basic is a separately licensed Siemens product. Without it, routing from an S7-300 to a drive that is configured as a peer station in STEP 7 (i.e. at the same level as the CPU rather than under it) is not supported. Always place the drive under the CPU to avoid the extra license.

PG/PC Interface Configuration

Routing begins on the engineering PC with the correct PG/PC interface assignment. The PC must publish itself to STARTER and STEP 7 as an S7 client on the MPI subnet, not as a direct bus participant on the drive's PROFIBUS. The PC Adapter (MPI) or the Ethernet interface is selected through the S7ONLINE access point.

  1. Open Control Panel → Siemens Automation → Set PG/PC Interface (the applet is installed by STEP 7 / Drive ES).
  2. Set the Access Point of the Application to S7ONLINE.
  3. Set the Interface Parameter Assignment Used to PC Adapter (MPI) for an MPI PC adapter or to TCP/IP -> ISO -> Ethernet for an Ethernet link to a PN/DP CPU.
  4. Open Properties on the selected interface and set the following:
Parameter PC Adapter (MPI) Notes
PG/PC is the only master on the bus Enable when no other master exists Disable if an OP/TP or other CPU is also master on MPI
MPI address of PG/PC 0 (auto) or 1 Must be unique on the MPI segment
Highest MPI address 15 (default) or 31 Set to 31 if any node has address > 15
MPI transmission speed 187.5 kbit/s Must match the CPU's MPI port speed exactly
Timeout 30 s Increase to 60 s on slow MPI links
MPI speed trap: A speed mismatch between the PC Adapter and the CPU is the most common cause of "online works for STEP 7, STARTER does not connect". STEP 7 auto-negotiates the speed; STARTER uses the speed set in the PG/PC interface. After every change to the MPI speed, click Diagnostics → Test in the PG/PC interface dialog to confirm the bus is reachable.

Drive Placement in HW Config

Routing depends on the drive being a slave device of the S7-300 CPU in the STEP 7 hardware configuration. The drive must be dragged from the HW catalog onto the CPU's DP master system line, not added as a peer station. The same rule applies to PROFINET: the drive is placed on the IO controller system of the PN port.

  1. In SIMATIC Manager open the S7-300 station and double-click Hardware.
  2. Open the catalog and navigate to PROFIBUS DP → SINAMICS → G120 (or the relevant drive family). If the device is missing, install the GSD file from Options → Install GSD first.
  3. Drag the drive to the DP master system line of the CPU's DP port.
  4. Set the drive's PROFIBUS address. This must match the address selected on the Control Unit's DIP switches (or parameter p0918 on firmware V4.7+ where DIP switches are off).
  5. Double-click the drive to open its properties and confirm the diagnostic and process data slots are configured. For most G120 applications, the Standard telegram 1 (PZD 2/2) is sufficient for cyclic data; the DP-V1 class 2 connection used by STARTER is established automatically once the device is in the project.
  6. Save and compile the HW configuration, then download it to the CPU.
Drive family Catalog path Typical GSD Address range
SINAMICS G120 (CU230P-2 / CU240E-2 / CU250S-2) PROFIBUS DP → SINAMICS → G120 SIEM82F4.GSD 1 – 125
SINAMICS G120C PROFIBUS DP → SINAMICS → G120C SIEM82F6.GSD 1 – 125
SINAMICS G120D PROFIBUS DP → SINAMICS → G120D SIEM82F5.GSD 1 – 125
SINAMICS G130 / G150 PROFIBUS DP → SINAMICS → G130/G150 SIEM81F4.GSD 1 – 125
SINAMICS S110 / S120 PROFIBUS DP → SINAMICS → S120 SIEM80F0.GSD 1 – 125
SIMATIC ET 200S as drive I/O PROFIBUS DP → ET 200S SIEM801D.GSD 1 – 125

STARTER Online Configuration and Bus ID

Once the drive is a child of the CPU in HW Config, STARTER uses the S7 routing function. The bus ID parameter in the Accessible Nodes dialog tells STARTER which downstream subnet of the S7 project tree to scan. The MPI subnet is always ID 0. The first DP master system attached to the CPU is ID 1, the second is ID 2, and so on. The first PROFINET IO system is also typically ID 1, but its index in the routing list depends on the order the subnets were added in STEP 7.

  1. Open STARTER and load the project that contains the drive.
  2. Right-click the drive in the project tree and choose Online → Accessible Nodes (or Online → Target system → PC/PG).
  3. In the Accessible Nodes dialog, set the PG/PC Interface to S7ONLINE and the Bus ID to the PROFIBUS subnet that holds the drive (typically 1). For PROFINET use the IO system bus ID.
  4. Click Display. STARTER enumerates reachable nodes on the selected bus by walking the routing path PC → MPI → CPU → DP master → drive.
  5. Select the drive and click Apply. The drive is now online through the routing tunnel.
Bus ID = 0 means MPI only. Setting the bus ID to 0 enumerates only the MPI segment; the drive on PROFIBUS will not appear. The user's "I attached a pic of the PC/PG setting" question usually resolves at this step: the bus ID was set to 0 or the wrong PG/PC interface was active. Use the Siemens Support Entry 2383206 procedure to verify the bus ID assignment.

Step-by-Step Routing Configuration Procedure

The end-to-end procedure for establishing an online connection from STARTER to a drive through an S7-300 MPI link. Run the steps in order. Each step has a deterministic verification check.

  1. Confirm physical bus topology. The PC Adapter is plugged into the S7-300 MPI port (X1 on the CPU). The PROFIBUS DP cable from the drive's X126 to the CPU's X2 (DP port) has bus termination active at both physical ends. Use a PROFIBUS terminator on the drive if it is the last device on the segment.
  2. Confirm MPI address and speed. In STEP 7, open HW Config, double-click the CPU's MPI port and read the configured Address (default 2) and Transmission Speed (default 187.5 kbit/s). Match these in the PC Adapter's properties dialog.
  3. Place the drive under the CPU. In HW Config, drag the drive from the catalog onto the DP master system of the CPU. Assign the same PROFIBUS address as set on the drive (DIP switch or p0918). Save, compile, and download HW Config to the CPU. Verify with Station → Online → Online & Diagnostics; the drive should appear with a green check.
  4. Assign the PG/PC interface to S7ONLINE. In Set PG/PC Interface, choose S7ONLINE as the access point and PC Adapter (MPI) as the parameter assignment. Test the bus via Diagnostics → Test; expect all visible MPI nodes to be listed.
  5. Open STARTER and load the project. In STARTER, open the project that references the same drive under the same CPU. The drive's project node must show the same PROFIBUS address as the one configured in HW Config.
  6. Set the online access point inside STARTER. In STARTER choose Tools → Set PG/PC Interface and confirm the same S7ONLINE / PC Adapter (MPI) assignment. The interface label inside STARTER must read S7ONLINE (PC Adapter (MPI)), not DRIVE (PROFIBUS) or DRIVE (Ethernet).
  7. Open Accessible Nodes with the correct bus ID. Right-click the drive → Online → Accessible Nodes. Set the bus ID to the PROFIBUS subnet number (typically 1). Click Display. The drive must appear with its configured PROFIBUS address.
  8. Connect to the target system. Select the drive in the list and click Apply. STARTER establishes the routing tunnel. The drive's online status indicator turns green.
  9. Verify online access. Open the drive's expert list, the control panel, or the diagnostics buffer. Read a non-zero parameter (e.g. r0002 drive state) to confirm the connection is live.

Verification and Online Diagnostics

After the routing tunnel is established, the connection can be verified in three places: STEP 7 (online diagnostics of the CPU), STARTER (online parameter access on the drive), and the drive's own control panel and LED status. A connection is considered healthy only when all three confirm the online state.

Verification step Tool Expected result Failure indicator
CPU online STEP 7 → Online → Accessible Nodes CPU appears with green check at MPI address 2 Red X or timeout → MPI speed mismatch
Drive online STARTER → Online → Connect to target system Drive online LED green, parameter r0002 readable Yellow LED → DP address mismatch; red → no routing
Cyclic I/O STEP 7 → Monitor / Modify Process image of drive shows live control and status words All zeros → telegram mismatch or no PROFIBUS handshake
Diagnostic buffer STARTER → Drive → Diagnostics → Buffer No new "Communication error" entries after connect New entries every few seconds → bus quality issue
CU LED Drive front panel (BUSY, COM, RDY) RDY green, COM green flashing, BUSY off RDY red → drive fault; COM red → bus wiring error
Field test: If STARTER shows the drive online but parameter values are frozen at zero, the DP-V1 (acyclic) channel is open but the DP-V0 (cyclic) channel is not. Check the PROFIBUS address in HW Config and on the drive; the cyclic connection is established with the configured slot (telegram 1 by default), the acyclic connection STARTER uses for parameterization is a separate slot.

PROFINET Routing Alternative

When the S7-300 CPU has an integrated PROFINET port (315-2 PN/DP, 317-2 PN/DP, 319-3 PN/DP) or an Ethernet CP (CP 343-1 Lean / Standard / Advanced), the same routing function works over PROFINET. The PG connects to the CPU over Ethernet, the drive sits on the PROFINET IO controller system, and STARTER routes through the CPU. The topology is functionally identical to the PROFIBUS case but operates at 100 Mbit/s, which reduces drive parameter upload time from minutes to seconds.

  1. Connect the PC to the CPU's PROFINET port (X1 on a PN/DP CPU, X1 or X2 on a 317-2 PN/DP).
  2. Set the PG/PC interface to TCP/IP -> ISO -> Ethernet with the CPU's IP address as the access point.
  3. Place the drive under the PROFINET IO system in HW Config. Use the drive's GSDML file, not its GSD file.
  4. In STARTER, the bus ID of the PROFINET IO system is typically 1 if it is the first IO system, regardless of whether MPI is configured.
  5. Test the connection with STARTER's Accessible Nodes exactly as in the PROFIBUS case.

The PROFINET path is preferred for large parameter sets (firmware update, full parameter backup/restore) because the higher bandwidth makes the operation visibly faster. The MPI path remains useful for legacy hardware where the CPU has no Ethernet port and the existing PC Adapter is the only available engineering tool.

Troubleshooting Matrix

The following table maps the most common field-reported symptoms on the S7-300 MPI → drive topology to the underlying cause and the corrective action. Symptoms are listed in the order in which they are typically encountered during a first-time commissioning attempt.

Symptom Likely cause Corrective action Verify with
STEP 7 online works, STARTER does not connect STARTER set to DRIVE interface Tools → Set PG/PC Interface → choose S7ONLINE (PC Adapter MPI) Accessible Nodes in STARTER
STARTER reports "No target station found" Bus ID set to 0 (MPI only) or wrong subnet Set bus ID to the DP subnet number (1 for first master system) Accessible Nodes dialog
STARTER reports "Drive is not assigned to the project" Drive added as a peer station, not under the CPU Move the drive to the DP master system of the CPU in HW Config HW Config → Station topology
Online connection drops after a few seconds MPI speed mismatch between PC Adapter and CPU Set PC Adapter MPI speed to match the CPU's MPI port setting PG/PC Interface → Diagnostics → Test
DP address conflict; CPU reports station failure Drive PROFIBUS address in HW Config ≠ DIP switch / p0918 Match the address in HW Config with the value on the drive STEP 7 → Online → Accessible Nodes (DP subnet)
Drive appears online, but parameters read as 0 DP-V0 telegram mismatch; only DP-V1 acyclic is up Check the configured telegram (Standard telegram 1 by default) Drive control panel / STARTER expert list
STARTER crashes or hangs at connect Drive firmware version older than STARTER library supports Upgrade drive firmware to a version supported by STARTER Drive diagnostics → Firmware version
Routing works on first CPU, fails on second CPU in the same project Routing buffer exhausted; CPU supports a limited number of routing connections Close STARTER sessions, close other PG/OP connections CPU diagnostics → Routing resources
Connection to drive succeeds, but download of parameters fails Drive in "Run" state with active enable; downloads blocked Remove drive enable, set to "Commissioning" state for the download Drive r0002 state word
STARTER does not list the drive under Accessible Nodes but lists the CPU Drive not yet assigned to the CPU in HW Config; only the CPU is in the project Add the drive to the DP master system in HW Config and download STEP 7 → Station configuration online

Field-Commissioning Caveats and Best Practices

The following caveats are observed in repeated field deployments. Each is a concrete, testable condition, not a generic recommendation.

  1. MPI is a low-bandwidth medium. At 187.5 kbit/s a full parameter upload from a G120 takes 4 – 8 minutes; a firmware update can take 30 – 60 minutes. For projects with multiple drives, switch to PROFINET routing or a direct PROFIBUS connection for the bulk transfer window.
  2. MPI termination is on the CPU only. S7-300 MPI ports have built-in termination that is automatically enabled by STEP 7 when the CPU detects no other terminator. Do not add an external MPI terminator unless the bus is being extended through a repeater or OLM.
  3. PC Adapter is not a passive tap. A PC Adapter USB A2 acts as a bus master. If the PG/PC is configured as "only master on the bus" and another master is present, bus contention can occur. Use the setting "PG/PC is the only master" only when no OP/TP or other CPU is connected to the MPI segment.
  4. Routing consumes CPU resources. The S7-300 CPU dedicates a portion of its routing buffer to PG routing connections. A typical CPU 315-2 PN/DP supports 4 – 8 simultaneous routing connections depending on firmware version. Close STARTER and STEP 7 sessions when they are not in use to free routing resources for HMI or other PG/OP clients.
  5. Drive ES licensing is not retroactive. If a project was created without Drive ES and the drive is configured as a peer station, adding Drive ES later does not migrate the existing project. Re-create the drive as a child of the CPU in STEP 7 instead.
  6. Firmware alignment matters. STARTER's device library expects a specific range of drive firmware versions. A drive running V4.5 will not load a project created against V4.7. Match the firmware version, or upgrade the drive firmware before commissioning.
  7. Save the offline project before going online. Routing an online read on top of an unsaved offline project can cause STARTER to overwrite the offline parameters with online values without warning. Save → then connect.
  8. Use the online "Load to PG" command, not "Upload to PG". "Load to PG" is the safe read of the drive's current parameters; "Upload to PG" reads the drive's offline image. The two will diverge if the drive has been changed online without the project being updated.
  9. Online access while the drive is in run is read-only by default. Parameter writes require the drive to be in "Commissioning" state, or require the safety password for safety-related parameters. Confirm the drive's r0002 state word before attempting a parameter download.
  10. Keep a copy of the offline project on a network share. When STARTER is closed after a routing session, the in-memory drive image is lost. Without a saved offline project, the next engineer who connects to the drive starts from a blank project.

Related Documents and Manuals

The following Siemens publications support the procedure above. Use them to confirm parameters, telegram assignments, and version-specific behavior for the drive family in use.

Frequently Asked Questions

Why does STEP 7 connect to the S7-300 over MPI but STARTER still says "No target station found"?

STARTER is set to the wrong access point. In STARTER choose Tools → Set PG/PC Interface and select S7ONLINE (PC Adapter MPI) rather than DRIVE (PROFIBUS). Also confirm the bus ID in Accessible Nodes is the DP subnet (typically 1) and not 0 (MPI only).

Do I need Drive ES to commission a drive that sits on PROFIBUS behind an S7-300?

No, as long as the drive is placed under the S7-300 CPU in HW Config. Drive ES Basic or Drive ES PCS 7 is only required when the drive is configured as a peer station at the same level as the CPU. Use the same-level placement as the licensing-free standard.

What is the bus ID in STARTER's Accessible Nodes dialog and what value should I use?

The bus ID is the index of the downstream subnet in the STEP 7 project. MPI is always ID 0, the first DP master system attached to the CPU is ID 1, the second DP master system is ID 2, and so on. For a single PROFIBUS DP master system on the CPU, set the bus ID to 1.

How many routing connections does an S7-300 CPU support simultaneously?

It depends on the CPU type and firmware. A CPU 315-2 PN/DP on firmware V3.3 supports 4 – 8 routing connections. The number is visible in the CPU's online diagnostics. Close unused STARTER and STEP 7 sessions to free routing resources for HMI panels and other PG/OP clients.

Can I download a firmware update to the drive over the S7-300 MPI routing tunnel?

Yes, but it is very slow at 187.5 kbit/s. A 6 MB firmware file for a G120 takes 30 – 60 minutes over MPI and can be lost if the routing connection drops. Use a direct PROFIBUS or PROFINET connection to the drive for firmware updates, and use the routing tunnel only when no direct path is available.

Why does STARTER connect to the drive but show all parameters as zero?

The DP-V0 (cyclic) connection is not established. Check the PROFIBUS address in HW Config against the value on the drive (DIP switch or parameter p0918), and verify the configured telegram (Standard telegram 1 by default) is selected in the drive's properties. The DP-V1 acyclic channel STARTER uses for online parameters is independent of the cyclic channel.

What is the difference between "Load to PG" and "Upload to PG" in STARTER?

Load to PG reads the drive's current online parameter set into the offline project; Upload to PG reads the drive's offline image. After a successful routing connection, always use Load to PG to capture any parameter changes that were made on the drive without saving the project.

Back to blog