How-to
Connecting a laptop to an S7-400 over MPI or PROFIBUS
Short answer
Use the CPU's MPI port with a USB MPI/PROFIBUS programming adapter such as the 6ES7972-0CB20-0XA0, set the PG/PC interface to the adapter's MPI entry at the segment's bus rate, and upload into a fresh project. Connect through the field PROFIBUS segment only when MPI is unreachable, because the laptop then joins a live RS-485 network serving the OP 37 and ET 200 stations.

On this page
To get the ladder program out of an S7-400, connect the laptop through the MPI port on the CPU rather than through the PROFIBUS segment that serves the OP 37 and ET 200 stations, whenever the CPU's own port is physically reachable. You need an MPI/PROFIBUS programming adapter, because the laptop's own USB or serial port cannot speak RS-485, and you need SIMATIC Manager's Options > Set PG/PC Interface set to that adapter's MPI entry at the segment's bus rate. Then upload into a fresh project, never into your archived one. Go through the field PROFIBUS only when MPI is out of reach: the laptop then joins a live RS-485 network as an extra node, and the connection must be made without touching the segment's wiring or termination.
Choose MPI before PROFIBUS #
The CPU carries an MPI port as a separate 9-pin RS-485 programming connection. Using it keeps all programming traffic off the DP segment, so the operator panel and the remote I/O never see the laptop at all. The field PROFIBUS works as a fallback because the same RS-485 wiring carries both protocols, but it behaves differently at the machine:
| Connection path | What the laptop needs | Effect on the running machine |
|---|---|---|
| CPU MPI port | MPI-capable programming adapter | None: the DP segment is untouched |
| PROFIBUS segment to the OP 37 and ET 200 | PROFIBUS-capable adapter on a wired bus connector | Adds an RS-485 node; node address, bus rate, conductor polarity, shielding and termination must all stay correct |
One safety note applies to the second path: on a live segment, never flip a terminating switch or hang the laptop on an improvised spur, because disturbed termination drops the OP 37 and ET 200 traffic along with everything else. The fact that those stations communicate today proves the existing segment works; it says nothing about the laptop's adapter settings.
The adapter you need #
A passive USB cable is not an adapter. The adapter supplies the RS-485 transceiver and the protocol handling STEP 7 expects, with a USB, serial or card connection on the laptop side and a 9-pin D-sub on the PLC side; on PROFIBUS that connector carries the bus lines on pins 3 and 8. The documented USB example is the SIMATIC PC Adapter USB, order number 6ES7972-0CB20-0XA0, listed for connection to S7-200, S7-300 and S7-400 and C7 controllers, with a 5 m USB cable, for Windows 2000/XP; the support entry adds Windows Vista and Windows 7 in 32 and 64 bit editions. On a current laptop, confirm the driver exists for your operating system and STEP 7 release before you plan around this legacy adapter. RS-232 and PCMCIA MPI/PROFIBUS adapters were also offered; the connector type alone does not prove MPI or DP support, so read the adapter's own documentation. The serial-port pattern is the same one used when connecting a laptop to an SLC 500 serial port: the physical link is only the first layer, and the driver and protocol selection decide whether anything answers.
Set the interface and upload #
Work through these steps in order:
- Connect the adapter: the USB end into the laptop, the 9-pin end into the MPI port on the CPU.
- In SIMATIC Manager, open Options > Set PG/PC Interface and select the adapter's driver entry, PC Adapter (MPI). If that entry is missing from the list, the adapter driver is not installed, and no setting further down will help until it is.
- Open Properties. Under Local Connection, select the connection type the adapter uses, and set the adapter's own node address to a value unused on that network.
- Set the bus rate to the rate the MPI segment runs at. If the rate is unknown, select the Auto variant, PC Adapter (Auto), let the search find the CPU, read the reported rate and set it explicitly.
- Run the accessible-nodes search from SIMATIC Manager and confirm the CPU's address appears once, with no duplicate-address fault reported.
- Open the station online and check the CPU identification against the machine you meant to reach, especially where several controllers share network infrastructure.
- Create a new, empty project, then run the upload-from-device command so the blocks from the CPU land there. Never issue a download to the CPU in this session; a download writes the open project over the program the machine is running.
- Save the new project immediately, under a name that cannot be confused with the archived original.
Worked example: address and bus rate #
This example is illustrative, with assumed inputs. Say the accessible-nodes search on the MPI segment reports two nodes, at addresses 2 and 11. You set the adapter's node address to 0. The check is one line: 0 is not in {2, 11}, so the adapter cannot collide with either found node, and the search result stays unambiguous. The Auto search reports the segment running at 187.5 kbit/s; instead of leaving Auto selected, set 187.5 kbit/s as the fixed bus rate in the adapter properties, so the laptop connects at a known rate every time. On a machine where the Auto search reports nothing, the same two settings, address and rate, are the first things to correct.
If the CPU does not appear #
Work down this list before touching the PLC project:
- The adapter entry is absent from the PG/PC interface list: the driver is not installed or the adapter is not recognized.
- Nodes appear, but not the CPU: wrong protocol mode selected, or the adapter is plugged into the wrong port for that mode.
- Nothing appears at all: bus rate mismatch, wrong connection type under Local Connection, or a wiring fault on the adapter's bus side.
- The CPU appears more than once, or a duplicate-address fault shows: the adapter's node address collides with an existing node; change it and search again.
- The OP 37 or ET 200 stations drop off while the laptop is connected: a physical disturbance, usually termination or connector seating. Remove the laptop connection and restore the original segment exactly as recorded.
What the upload recovers #
The upload returns the compiled blocks the CPU holds. It does not return the engineering source: symbol names and comments lived in the offline project, and original SCL or GRAPH sources come only from that project, not from the CPU. That is why uploading a PLC program without the source project is not full source recovery, and why the fresh project you create in step 7 is a diagnostic copy, not a backup. Look for the STEP 7 archive or the original engineering workstation before anyone modifies the running program on the strength of an upload.
Questions asked
Can I connect the laptop to the PROFIBUS port with an ordinary USB cable?
No. MPI and PROFIBUS are RS-485 buses, and a laptop USB or serial port has no bus transceiver. You need an MPI/PROFIBUS programming adapter with a 9-pin D-sub on the bus side, and SIMATIC Manager must select that adapter's driver entry in the PG/PC interface settings before any node becomes reachable.
Which bus rate do I set in the PG/PC interface?
Set the rate the segment is already configured for. If you do not know it, select the Auto variant of the adapter entry, let the search find the CPU, read the reported rate, for example 187.5 kbit/s on a typical MPI segment, and then set that rate explicitly. A rate mismatch shows up as no reachable nodes, not as an error message.
Does uploading give me back my comments and symbol names?
No. The upload returns the block code that is stored in the CPU. Symbol names, comments and the original SCL or GRAPH sources lived in the engineering project, not in the CPU. Treat the upload as a working copy for fault diagnosis and look for the archived STEP 7 project or a project archive before editing anything.
The adapter lists Windows 2000/XP. Will it work on a newer laptop?
The support entry for the USB adapter adds Windows Vista and Windows 7 in 32 and 64 bit editions. Beyond that, check that a driver exists for your operating system and STEP 7 release before you rely on the adapter. If no driver is available, use a current adapter with documented driver support instead.