Troubleshooting
Why STARTER cannot go online to a G120 over PROFIBUS routing
Short answer
STARTER cannot open a PROFIBUS G120 online until two things exist: the control unit's entry in the hardware catalog, delivered by STARTER with the SINAMICS Support Packages rather than by STEP 7 alone, and a routed path, meaning a PG/PC station in NetPro plus a hardware download to the routing controller. The 12 Mbit/s bus rate plays no part; the DP master already runs it correctly.
On this page
Your drive stays offline for two reasons, and the bus speed is neither of them. STARTER cannot open a PROFIBUS G120 from an Ethernet engineering PC until the control unit exists in the hardware catalog — which takes STARTER with the SINAMICS Support Packages installed, not a STEP 7 service pack — and until the project carries a working route from the PC through the controller onto the PROFIBUS network, which takes a PG/PC station in NetPro and a hardware download to that controller. One generic "check the communication settings" message hides both faults. The sequence below fixes each one and then proves the path with accessible nodes; the 12 Mbit/s setting stays untouched because it is already correct.
Sort the architecture before any setting #
The description of the machine contradicts itself: the drive was said to be commissioned through SIMOTION years ago, yet the cabinet holds an S7-300 and no SIMOTION at all, and the engineering PC connects to the Ethernet switch that also serves the PLC and the HMIs. Resolve that before touching any communication setting, because a route is built to a controller that must physically exist.
Identify three things:
- The Ethernet attachment — the switch or interface the PC plugs into.
- The DP master that owns the PROFIBUS network the drives answer to — on this machine, the S7-300.
- Whether both sit on one station. When the Ethernet interface and the PROFIBUS master belong to the same controller, the route is a single hop and that controller is the routing controller.
Decision: build the route to the S7-300. A PG/PC station configured for a SIMOTION that is not in the rack routes nothing. Only if the PC's cable genuinely ends on a SIMOTION Ethernet interface does SIMOTION take the PG/PC station and the hardware download instead.
Restore the CU240E-2DP in the hardware catalog #
The first cause shows before any cable is touched: the project's existing CU240S-DP appears in the hardware catalog, its replacement CU240E-2DP does not. STEP 7 V5.5, with or without SP3, does not integrate SINAMICS drives into the HW Config catalog; the drives appear there when STARTER is installed together with the applicable SINAMICS Support Packages (SSPs). Installing STARTER V4.4 on its own proves nothing — the selectable catalog entry is the proof.
Work in this order:
- Install STARTER with all applicable SINAMICS SSPs on the engineering PC.
- Close and reopen STEP 7 so HW Config reloads its catalog.
- Open the PROFIBUS DP branch of the catalog and confirm the CU240E-2DP entry can be selected.
- Exchange the CU240S-DP object in the project only after step 3 passes.
One safety note: exchanging the physical control unit is a power-down job — plan it with the drive in a safe state, never as an online operation on a running machine.
Build the route in NetPro #
The second cause: the PC speaks Ethernet, the drive speaks PROFIBUS, and nothing bridges the two until the project describes the PC as a station and the controller has learned that description by download. That the two networks are separate protocols rather than two settings of one connection is the subject of why PROFINET PROFIBUS and Modbus are four separate protocols.
- In NetPro, add a PG/PC station to the project.
- Set its Ethernet interface address equal to the address the PC's adapter actually answers on — the same number, not an invented one.
- Save and compile, then download the hardware configuration to the routing controller — the S7-300 here. A PG/PC station that exists only in the project file routes nothing.
- Confirm the PG/PC interface assignment points at the PC's Ethernet adapter, not at a PROFIBUS adapter.
The address in step 2 is where most attempts fail, so do the arithmetic once. Example: the controller's Ethernet interface is 192.168.1.10 with subnet mask 255.255.255.0, the PC adapter is 192.168.1.50. Controller network: 192.168.1.10 AND 255.255.255.0 = 192.168.1.0. PC network: 192.168.1.50 AND 255.255.255.0 = 192.168.1.0. Equal, so the PC reaches the controller directly and the PG/PC station must carry 192.168.1.50. A PC at 192.168.2.50 lands in 192.168.2.0, a different network; with no gateway in between, even a ping fails before routing is attempted. Fix the address first, then the route.
Prove the path with accessible nodes #
With catalog entry and route in place, test from the project instead of guessing:
- Select the G120 in the project, right-click it, and choose Target Device → Online Access → Module Addresses.
- Open accessible nodes. The function scans the networks, lists every module that answers, and confirms the IP address a module actually carries — use it to verify the controller matches the address the PG/PC route expects.
- The S7-300 must appear in the list. Expand it with the plus sign and navigate to its PROFIBUS network.
- Read which stations hang under that network; the G120 must be listed at its configured PROFIBUS address.
Decide on what the scan shows:
- No controller in the list — the Ethernet path is broken. Redo the address arithmetic above; PROFIBUS is not at fault.
- Controller present, PROFIBUS branch empty or the drive missing — the route failed. Either the PG/PC station is not part of the configuration the controller is running, or the hardware configuration was never downloaded. Download to the S7-300 and rescan.
- Drive listed, online access still refused — the network is fine and the disagreement sits between the project's drive object and the physical unit. Open the detail window Target System Output, read the complete message instead of the short popup, and record the drive firmware and the exact controller type; those three items are what any further diagnosis runs on.
The connection setup itself — drive object, station address and telegram in the STEP 7 project — is covered in connecting STARTER to a PROFIBUS drive through an S7-300; this page covers why access fails when that setup already exists.
Why the bus rate is not the blocker #
Setting the PROFIBUS connection to 12 Mbit/s in the PC's connection dialog changes nothing here, because the engineering PC never sits on the PROFIBUS wire. The rate is fixed once in the DP master's bus parameters and applies only between the S7-300 and its slaves; the controller forwards the engineering request onto the bus at whatever rate it already runs. The rate field in the PC's own settings matters only when a PROFIBUS adapter hangs directly on the PC. The machine runs, so master and slaves already agree on the rate — a real rate mismatch drops slaves off the bus as faults on every node, not one unreachable drive from one PC.
Questions asked
Does each engineering PC need its own PG/PC station?
Yes. Every PC that should route into the PROFIBUS network needs its own PG/PC station in the project, carrying the exact address that PC's Ethernet adapter uses, and the hardware configuration goes to the controller again after each addition. Two PCs sharing one station entry, or a station whose address no PC owns, break the route for both. Give engineering laptops fixed addresses; an address that changes on every connection leaves the downloaded route pointing at a station that is no longer there.
Will downloading the hardware configuration disturb the running machine?
Yes, briefly. A hardware configuration download to the S7-300 stops the CPU for the duration of the load, and the PROFIBUS drives lose their setpoints and control word while it runs. Plan the download for a production break with the machine in a safe state, and expect the drives to report a missing master until the CPU returns to RUN. Compile without errors first so the stop stays as short as possible.
Can I commission the drive while the route is still broken?
Yes, temporarily. STARTER can address a drive directly, without the PLC route, when the engineering PC connects to the drive's own interface. On a PROFIBUS control unit that means a PROFIBUS adapter on the PC wired onto the same bus, which PROFIBUS allows alongside the master for commissioning. That path changes drive parameters only and leaves the PLC's cyclic control untouched, so production keeps running. Return to the routed project access for permanent work so the project data and the drive stay identical.
Does the replacement control unit inherit the old address and telegram?
No. A CU240E-2DP fitted in place of a CU240S-DP comes up with its own defaults and inherits neither the PROFIBUS station address, nor the telegram, nor the drive parameters of the old unit. Set the station address and telegram to what the STEP 7 project expects, then load the drive parameters, before the master's cyclic connection can recover; until the address matches, the S7-300 reports a missing slave. Do the exchange with the drive powered down, then restore parameters from your saved record.