Troubleshooting
Why a migrated Comfort panel leaves BF on slave 11
Short answer
The BF is not your HMI connection failing: the CPU318-2 DP still carries the OP27's PROFIBUS slave entry, which served direct keys, while the migrated KP700 Comfort only comes up as an HMI station. If no screen function needs direct keys, deactivate IO Device in the panel's PROFIBUS interface properties and remove the slave 11 entry on the PLC side; if direct keys stay, set the IO Device operating mode on the panel and match address and cyclic I/O layout at both ends.
On this page
- What BF on slave 11 is actually reporting
- One panel, two separate communication roles
- Why the migration left the fault behind
- Working the OP27-to-KP700 case on a CPU318-2 DP at address 11
- Removing the IO Device role when direct keys are gone
- Keeping direct keys: matching both ends
- Verify the bus after the download
- Questions asked
The fault is not in your HMI connection, and the panel is not broken. BF on the CPU318-2 DP means the DP master gets no valid answer from a configured PROFIBUS slave, and the diagnostic entry names station address 11, the panel's own bus address. That entry is the OP27's old direct-keys slave configuration: the migration to the KP700 Comfort carried the screens, tags and area pointers across, but the panel is not coming up in the IO Device operating mode the CPU still expects. Decide one thing first: does anything on the new panel still use direct keys? If not, switch the operating mode off on the panel's PROFIBUS interface and delete the slave entry in the CPU's hardware configuration. If direct keys stay, activate the IO Device role and match address and cyclic I/O layout at both ends.
What BF on slave 11 is actually reporting #
BF is the bus fault indication on the CPU. With the CPU318-2 DP acting as DP master, it reports that a configured PROFIBUS DP participant is not answering its cyclic polls or is returning invalid I/O data. The CPU's operating manual documents a diagnostic entry for a DP slave bus interruption, and the diagnostic buffer records the station address it concerns. Read that buffer online before touching any configuration, so you fix the device it actually names.
Three observations in front of you pin the fault down:
| Observation | What it proves | What it does not prove |
|---|---|---|
| KP700 screens show live values and the machine runs | The S7 HMI connection is established | That every configured bus participant is present |
| The CPU reports BF with a network error on slave 11 | A configured DP slave at station address 11 is not answering as a cyclic I/O participant | That the HMI connection is faulty |
| Station address 11 is also the panel's PROFIBUS address | The CPU's hardware configuration still contains the panel as a DP slave | That the DP entry and the HMI connection are the same service |
An address match tells you which configured object to inspect. It does not make the DP slave service and the HMI service the same thing.
One panel, two separate communication roles #
A Comfort panel can run two independent jobs at once. The standard HMI connection moves screens, tags, alarms, recipes and area pointers over the S7 service. Separately, the IO Device operating mode exchanges cyclic process data with the DP master, and that is the mechanism behind direct keys. The WinCC flexible communication manual documents the direct-keys function as a setup in which the HMI device is configured as a slave in the PROFIBUS DP network, so the CPU monitors the panel like any other slave on its bus.
The two roles live in different settings. In TIA Portal, the panel's role is set in the Devices & networks editor: click the panel's PROFIBUS interface and change Operating mode under Properties > General. An ordinary HMI connection never satisfies a DP slave entry, and why an HMI panel cannot be a PROFIBUS DP slave explains why the two cannot stand in for each other.
Why the migration left the fault behind #
The OP27 project was built around direct keys, so the CPU's hardware configuration carries the panel as a DP slave at station address 11 with its own cyclic I/O image. Your ProTool to WinCC flexible 2008 to TIA Portal V13 path moved the screens, tags and area pointers onto the KP700, and the S7 connection came up straight away, which is why the machine runs. What has not come up is the cyclic role: the DP master still polls address 11 for I/O data and gets no answer, so BF stays on.
Watch for the inverse mistake as well: switching IO Device on in the panel project without a matching slave entry in the CPU creates a second communication role that nobody polls. And work on the right network: read the diagnostic entry and the network view first, then edit only that network's settings, because a PROFIBUS fault is not fixed by touching a PROFINET setting, or the reverse.
The migration path and its panel-side settings are walked through in the OP27 ProTool to KP700 Comfort TIA Portal programming guide. A moved project can carry other legacy quirks across too; why a Comfort Panel seems to scale fonts set in TIA Portal covers a common one.
Working the OP27-to-KP700 case on a CPU318-2 DP at address 11 #
Inputs, each from your own setup:
- Controller: CPU318-2 DP running as PROFIBUS DP master on its integrated DP interface.
- Panel: KP700 Comfort replacing an OP27, project migrated through WinCC flexible 2008 into TIA Portal V13.
- Fault: BF with a network error naming slave 11, read from the CPU diagnostic buffer.
- Panel bus address: PROFIBUS station address 11.
- Behavior: screens, area pointers and machine operation all work.
The rule, in words: a DP master sets BF only when a configured DP slave fails to return valid cyclic I/O data, and a working HMI connection is a different service that never answers those polls. The diagnosis is therefore a comparison chain: match the faulted address to a configured device, then check whether that device's cyclic role is active at both ends.
Work the chain:
- Faulted address 11 matches the panel's station address 11, so the object under test is the panel's DP slave entry, not the HMI connection.
- Working screens and a running machine prove the S7 service is up, which confines the fault to the cyclic I/O role.
- The CPU's hardware configuration still lists a slave at 11 while the master receives no I/O answer from it: one end configured, the other end silent.
- The migrated project runs its screens without the panel coming up in the IO Device operating mode, so the silent end is the panel's cyclic role.
- No migrated screen function consumes the cyclic key bits, so the DP slave entry has no remaining purpose.
Result: BF is the residue of the OP27's direct-keys slave configuration. The CPU expects an I/O slave the panel no longer plays.
Decision: with no direct keys in use, remove the role, which means deactivate IO Device on the panel's PROFIBUS interface and delete the slave entry at address 11 in the CPU's hardware configuration. With direct keys still in use, keep the role and align it, which means IO Device active on the panel at station address 11 and a cyclic I/O layout identical at both ends. Either way, compile and download both devices before judging the result.
Removing the IO Device role when direct keys are gone #
- Archive the working migrated project before touching network roles, so you can roll back.
- In the
Devices & networkseditor, click the panel's PROFIBUS interface and setOperating modeunderProperties > Generalaway from IO Device. - In the CPU's hardware configuration, delete or deactivate the DP slave entry at station address 11, the old panel with its I/O addresses.
- Compile both configurations and clear every interface and address error before downloading.
- Download the changed hardware configuration to the CPU and the changed project to the panel. Downloading changed hardware configuration restarts a DP master's interface and every slave behind it, so run this download from a planned machine stop, never with the line producing.
- Watch the CPU come up: with no slave entry left to poll, BF stays off and the diagnostic buffer records no new entry naming station address 11.
A panel-only download cannot remove a slave the CPU still configures, and a CPU-only download cannot change the panel's operating mode. Both downloads are required.
Keeping direct keys: matching both ends #
If an operator function still relies on direct keys, the role stays and the two ends must agree on four things: network, station address, operating role and cyclic I/O layout.
- PROFIBUS direct keys: leave IO Device active on the panel's PROFIBUS interface at station address 11, and make the CPU-side DP slave entry's cyclic input and output areas identical to the transfer areas configured in the panel project. Take the layout from the project configuration rather than estimating byte counts. Compile and download both devices.
- PROFINET direct keys: activate PROFINET IO in the panel's
Control Panel, and make the PROFINET device name configured in the project match the name entered at the panel, as the direct-keys configuration document requires. Remove the PROFIBUS slave entry rather than leaving it in place, because a PROFIBUS object cannot stand in for a PROFINET I/O relationship.
Verify the bus after the download #
- Live values update and operator commands reach the PLC on the KP700. The HMI service was never the fault, and it must survive the fix untouched.
- Without direct keys: no slave entry at address 11 remains in the CPU configuration, BF stays off, and the diagnostic buffer shows no new entry naming that station.
- With direct keys: slave 11 comes up present, BF clears once the master establishes the relationship, and each operated key changes only its assigned cyclic input bit.
- If BF persists, read the current diagnostic entry before blaming the panel again: another bus participant may be failing, or one end may still mismatch on network, address or role.
Questions asked
How do I confirm the faulted address before changing anything?
Connect online to the CPU in TIA Portal and open its diagnostic buffer. The newest entry names the station address of the DP slave whose bus connection failed, and that entry is your evidence for which configured device to inspect. Take the address from the buffer rather than from the BF indication alone, because the indication only tells you a bus fault exists somewhere on the DP interface.
Do I have to redo the migration to clear the fault?
No. The fix is two configuration edits in the project you already have: the operating mode on the panel's PROFIBUS interface and one DP slave entry in the CPU's hardware configuration. Compile, download to both devices, and the fault clears. No new migration, no panel image update and no change to your screens, tags or area pointers is involved.
What are direct keys on an operator panel?
Direct keys let key or touch operations on the panel drive points in the PLC's process image directly, through cyclic I/O transfer, instead of through logic that reads a tag. The WinCC flexible communication manual documents the function as a setup where the HMI device is configured as a slave in the PROFIBUS DP network. Old machine logic may still consume those key bits, and that is the only reason to keep the IO Device role.
Can the machine keep running with the BF left in place?
It runs, but do not leave it that way. The CPU holds a permanent bus fault for a device that will never answer, which teaches everyone on the line to ignore that indication and can mask a genuine failure on another DP slave. Remove the slave entry when direct keys are gone, or bring the panel up in the IO Device role when they are not.