Troubleshooting
Why an OP77B project transfer fails over PROFIBUS at 1.5 Mbps
Short answer
A failed OP77B download over PROFIBUS is a settings mismatch, not a dead panel: the PC adapter must run at the segment's baud rate, the DIP-set PROFIBUS address must match both the panel's Transfer settings and the STEP 7 slave entry, and the panel must sit in transfer mode with automatic transfer off for the first download. Clear the only-master setting when the S7-315 shares the segment.
On this page
- Why won't the project download to the OP77B over PROFIBUS?
- What transfer settings does the OP77B need before a download?
- Which baud rate does the PC adapter need for the OP77B?
- How do I set the OP77B PROFIBUS address with the DIP switches?
- Example: what address do switches S1-S3 give the OP77B?
- Why does "only master on the bus" stop the transfer?
- How do I put the OP77B into transfer mode?
- Can the download route through the S7-315?
- When is replacing the OP77B the better fix?
- Questions asked
A failed OP77B download is almost never a dead panel — it is three settings that disagree. The engineering station needs its adapter at the segment's baud rate, the panel has to answer at the PROFIBUS address you aim at, and the panel must sit in transfer mode while the project arrives. Runtime data between the S7-315 and the panel can look perfectly healthy while the download fails, because the engineering station joins the bus as a second station with settings of its own. Work through the checks in order: panel transfer settings, adapter rate, DIP address, transfer mode, then the routed path through the PLC.
Why won't the project download to the OP77B over PROFIBUS? #
Three settings decide an OP77B download: the baud rate the engineering station uses, the PROFIBUS address the panel answers to, and whether the panel is sitting in transfer mode — any one of them disagreeing stops the transfer before a byte moves.
Runtime data and a project download share the same cable but take different paths. The S7-315's DP interface exchanges process values with the panel as the segment's master; the download comes from the engineering station, which joins as a second active station and has to earn its transmit turn on the token loop with settings of its own. That is why a panel showing live values can still refuse a download, and why the checks below run from the panel's own settings out to WinCC flexible. Take them in order and the failure names itself at one of the first three steps.
What transfer settings does the OP77B need before a download? #
Set the panel's channel to PROFIBUS DP or MPI, its address to the value the bus expects, and its rate to the segment rate, and leave the automatic-transfer option off for the first download — the settings live in the panel's Control Panel under Transfer.
The operating instructions for the OP 73, OP 77A and OP 77B state that the MPI/PROFIBUS DP transfer settings can only be modified once the project on the device is closed, so exit the running project first. The settings sit in the device Control Panel under Transfer; on this panel family the S7-specific values sit behind the Advanced button in the S7-Transfer Settings, the same structure the TP 177A, TP 177B and OP 177B manual documents. Set the five values below and the panel side is done:
- Channel: PROFIBUS DP, the channel the panel shares with the S7-315.
- Address: the number the DIP block sets, or the software address if the block is all OFF.
- Baud rate: the segment rate.
- Highest station address: at or above the highest-numbered station on the segment.
- Automatic transfer: off until the first clean download.
Which baud rate does the PC adapter need for the OP77B? #
The adapter must run at 1.5 Mbps, the same rate the segment uses — an adapter left at its 187.5 kbps default cannot talk to a panel on a segment running that fast, because PROFIBUS holds every station on a segment to one common bit rate.
Open the Set PG-PC Interface applet from the Windows Control Panel, point the S7ONLINE access point at the PC adapter entry, and set the adapter's transmission rate to the segment rate. PROFIBUS is standardized in IEC 61158, and its token-passing scheme runs the whole segment at the one rate chosen at configuration time, so nothing negotiates down for you — a device that cannot keep up belongs on its own slower segment behind a converter, which is exactly the case walked through in connecting a 19.2 kbps PROFIBUS slave to a 1.5 Mbps S7-300 master.
Both fixes work: raise the adapter to the segment rate, or drop both ends to 187.5 kbps for a first commissioning download on a direct cable and put them back to the segment rate afterward. Prove the path before opening WinCC flexible by running the diagnostics from the same applet and looking for the panel's station at its address. A panel that answers there but refuses the download has a transfer-mode or software problem; a silent panel has a rate, address, cable or termination problem, so check that the terminating resistor is switched in at the two physical ends of the segment and nowhere else.
How do I set the OP77B PROFIBUS address with the DIP switches? #
The address switches on the back of the panel are binary weighted — the first three carry 1, 2 and 4, so address 7 is switches 1, 2 and 3 ON — and the value must match the panel's Transfer settings and the STEP 7 slave entry.
Set the switches with a small screwdriver through the opening on the rear of the unit, and power the panel down while you do it: do not unplug PROFIBUS connectors live, because the RS-485 port does not forgive hot plugging. The weights:
| Switch | Weight | Address 7 |
|---|---|---|
| S1 | 1 | ON |
| S2 | 2 | ON |
| S3 | 4 | ON |
| S4 | 8 | OFF |
| S5 | 16 | OFF |
| S6 | 32 | OFF |
| S7 | 64 | OFF |
With every address switch OFF, the block hands addressing back to the software and the panel runs on the address and rate held in its transfer settings — that all-OFF position is the software-controlled mode. The same number also has to appear as the slave address in the STEP 7 hardware configuration where the panel hangs under the S7-315's DP master system; if you inherited the project, read the address out of the hardware configuration instead of guessing it.
Example: what address do switches S1-S3 give the OP77B? #
With switches S1, S2 and S3 ON, the panel address is 1 + 2 + 4 = 7, so the DIP block, the address field in the panel's Transfer settings and the slave address in the STEP 7 hardware configuration should all read 7.
Each switch is one binary digit: S1 carries 1 (2^0), S2 carries 2 (2^1), S3 carries 4 (2^2), and S4 through S7 would add 8, 16, 32 and 64 if they were ON. With S4-S7 OFF, the sum is 1 + 2 + 4 = 7, the address this example commissioning uses. Check it in three places: the switch block, the address field in the panel's transfer settings, and the DP slave entry under the S7-315's master system in the hardware configuration. All three reading 7, with the PLC on its own unused address, leaves the token loop free to reach the panel.
Why does "only master on the bus" stop the transfer? #
Clear the "only master on the bus" check box whenever the S7-315's DP interface shares the segment — the setting tells the adapter it never has to wait for another master's token, and on a bus where the PLC holds that token the handshake with the panel never completes.
The check box lives in the adapter's parameter assignment inside the Set PG-PC Interface applet. Ticked is correct only when the adapter genuinely is alone, say on a two-device cable between PC and panel with the PLC out of the circuit. The moment the S7-315 sits on the same cable, clear it and let the token pass: the PC transmits when the token reaches it, the panel answers, and the download moves. If the diagnostics from the rate section showed silence with this box still ticked, clear it before you reseat a single connector.
How do I put the OP77B into transfer mode? #
Power-cycle the panel, open the Control Panel before the runtime project starts, open Transfer, confirm the channel, address and rate, and leave the panel on its transfer screen — WinCC flexible then finds the panel the moment you start the download.
Run the first download like this:
- Exit the running project so the panel sits at its loader with the transfer settings unlocked.
- Open the Control Panel and choose Transfer.
- Match the channel, address and rate to the values set in the sections above, and leave automatic transfer off.
- Confirm the settings and leave the panel on the transfer screen.
- Start the transfer from WinCC flexible and watch the progress display climb past the first percent; a jump from zero straight to an abort sends you back to the bus settings, not the software.
Automatic transfer earns its place later: switched on, the panel accepts a download announced while a project runs, which suits a line you cannot stop for an update. It also hides a rate or address fault until the worst possible moment, so commission with it off and turn it on only after one clean manual download.
Can the download route through the S7-315? #
Only when the panel is a configured DP slave in the S7-315's STEP 7 project: with the panel in the hardware configuration at its set address, the transfer routes through the PLC, and without that entry every routed attempt fails.
The routed path makes the S7-315 forward the transfer between the port your cable reaches and the segment the panel sits on, which earns its keep when the panel lives behind a machine guard and the PLC's MPI or DP port is the only accessible one. It only works when the panel has been added to the PLC's hardware configuration under the DP master system at the address on its DIP block; a panel the PLC project has never heard of has no route, and no adapter setting will conjure one. For a first download, skip the routing and put a direct cable from the PC adapter to the panel, proving every setting one device at a time. The panel also accepts a project over USB, which steps around the bus settings entirely — the checklist for HMI USB downloads that fail covers the USB-side traps if you take that road.
When is replacing the OP77B the better fix? #
When the panel is obsolete, unsupported by current engineering software, or the fault turns out to be dead port hardware, retiring it is the practical fix: the operator job moves to a current panel or a PC-based station running the visualization at the machine.
An OP77B that stays silent on every cable, every rate and every address you have tried has cost more bench time than a replacement ever will. When the decision goes that way, the visualization duty moves to a current operator station — an industrial panel PC at the machine takes over what the small keypad panel did. Keep two things straight in the move: the project and the license travel separately, and moving a WinCC flexible device authorization is its own procedure, covered in the guide to WinCC flexible license authorization transfer. Size the replacement by the job the station does — one screen, the same tags, the same S7 connection — not by the old panel's part number.
Questions asked
Does the panel's transfer rate have to match its runtime rate?
Not during the download itself. A transfer is a point-to-point session between the engineering station and the panel, so those two ends only need to agree with each other. Runtime is different: the panel talks to the S7-315 on the shared segment, so the panel's settings and the connection in the project must sit at the segment rate before the panel rejoins the PLC.
What happens if the OP77B's PROFIBUS address duplicates another station?
The DP master never logs a duplicate station: the bus diagnostics report the configured slave as missing, and any transfer aimed at that address times out with no response. Every station needs a unique number, and the DIP block, the panel's transfer settings and the STEP 7 slave entry must all carry the same one.
What is the highest station address setting for?
It tells the token-passing scheme the largest address in use on the segment, so every master needs a value at or above the highest-numbered station. On a small segment where nothing sits above address 31, the default of 31 works; raise it whenever a station is configured with a higher number.
Which software builds and downloads an OP77B project?
WinCC flexible is the engineering tool for the OP77B: the project is created and compiled there and sent to the panel over PROFIBUS, MPI or USB. Keep the project version matched to the panel's firmware generation, because a project compiled in a much newer release will not load cleanly on an old panel.