IMDTouchKnowledge BaseShop main store

Troubleshooting

Why a third HMI on PROFIBUS drops the MPI SCADA link

HMI and touchscreens Published 7 min read

Short answer

The third TP177B exhausts the CPU 315-2 DP's fixed communication-session pool, and the SCADA session on MPI is the one the CPU refuses. The installed 6ES7315-2AF01-0AB0 predates the Communication tab, so the resource split cannot be changed; the durable fix is a CPU whose documented connection capacity covers three panels plus SCADA.

On this page
  1. Why does the SCADA computer drop off MPI when the third HMI joins PROFIBUS?
  2. Is this a PROFIBUS wiring or termination fault?
  3. How many HMI and SCADA sessions can a CPU 315-2 DP carry?
  4. Why is there no Communication tab in my CPU's properties in HW Config?
  5. Which connections are consuming the CPU's communication resources?
  6. How do I get three TP177B panels and the SCADA station working together?
  7. What do I verify before ordering a replacement CPU?
  8. Questions asked

The SCADA link is not failing on the network; it is being squeezed out of the CPU. A CPU 315-2 DP terminates every panel session and every SCADA session in one fixed pool of communication resources, and on the installed 6ES7315-2AF01-0AB0 that pool is small, non-configurable and already holding two TP177B sessions plus the WinCC station over MPI. The third panel asks for a session the CPU cannot grant, and the MPI SCADA connection is the one that goes. Nothing in the PROFIBUS cable, the termination or the WinCC flexible project is at fault, and no rewiring will help. The durable fix is a CPU revision whose documented connection capacity covers three panel sessions, the SCADA station and a programming slot at the same time.

Why does the SCADA computer drop off MPI when the third HMI joins PROFIBUS? #

The third panel requests one more communication session than the CPU's fixed pool can grant, and the MPI SCADA session is the one the CPU refuses or displaces. PROFIBUS and MPI are separate networks, but every session ends inside the same CPU.

An S7-300 CPU holds several types of communication resources that are accounted separately but affect each other. Operator panels such as the TP177B take an operator session each; a WinCC station over MPI takes a PC session; a programming device online with the CPU takes a PG session. The number of these slots is set by the CPU order number itself. Your observed threshold, two panels running happily and the SCADA link dying when the third panel connects, is the signature of that pool running empty, not of a transmission problem.

Is this a PROFIBUS wiring or termination fault? #

No. Two panels hold stable sessions over the same cable, and the failure shows up as a session on a different network disappearing, which is the signature of a connection-resource limit rather than an electrical fault.

A wiring or termination fault corrupts everything on that cable at once. Yours does not: the 15 Masterdrives keep exchanging their cyclic DP data through the moment of failure, and both configured panels keep working. The element that fails, the WinCC station over MPI, does not even share a cable with the panels. A session limit mimics a network dropout because the symptom in front of the operator is the same lost screen, which is the same trap as when a drive answers ping but the PLC cannot connect. Configuration is also not suspect: the panels were only configured with WinCC flexible, the PLC program is untouched, and a project change on the panel side cannot enlarge the CPU's fixed pool.

How many HMI and SCADA sessions can a CPU 315-2 DP carry? #

The working system answers this for your exact build: two TP177B panel sessions plus the MPI SCADA session run together, so three operator-side sessions fit, and the third panel needs a fourth that this CPU's fixed pool does not have.

The documented rule for the S7-300 is that the CPU order number determines the number of connection resources; there is no single figure for the family. Work the count for this machine as it now stands:

  • Sessions demanded with all three panels: 3 panel sessions + 1 SCADA session + 1 PG session for a laptop left online = 5 concurrent sessions
  • Sessions the CPU demonstrably holds today: 2 panels + 1 SCADA = 3
  • Shortfall: 5 − 3 = 2 sessions

Even with the laptop disconnected, 4 demanded against 3 held leaves the third panel and the SCADA station contending for one slot, and the SCADA link is the loser. The 15 Masterdrives do not enter this arithmetic: cyclic DP exchange runs through the DP interface and does not draw on the PG, OP and S7 session pool.

Ignore any figure quoted for a different order number. The value of four static plus four dynamic connections that circulates for the next revision is an unverified recollection about other hardware, and sizing against it is how this kind of project gets stuck a second time. The same fixed-session arithmetic governs other families too, which is why an S7-226 MPI port limits you to three HMI clients on that platform.

Why is there no Communication tab in my CPU's properties in HW Config? #

Because the Communication tab only exists on the 6ES7315-2AF03 revision onwards. Your 6ES7315-2AF01-0AB0 predates it, so the split of its resources between programming, operator and basic-communication sessions is fixed and cannot be shifted from the project.

On CPUs that do expose the tab, the documented procedure opens the CPU properties in the hardware configuration and reserves more operator connections while reducing the reservation for basic communication. That is exactly the trade your application could use, since you run no basic communication at all and no S7 connections to other CPUs. On your revision that headroom is locked in. The missing tab is a hardware-revision constraint, not a configuration mistake, and it is also why the CPU's technical data is hard to find: you need the specification that belongs to the exact order number printed on the label.

Which connections are consuming the CPU's communication resources? #

Count every session that terminates in the CPU before blaming the panels, because a programming laptop left online or a second SCADA client takes a slot exactly the way a panel does.

Go online with the CPU and account for each consumer:

  • Each connected TP177B panel: one operator session while it communicates
  • The WinCC SCADA station: one PC session for as long as the visualization runs
  • Any engineering station or laptop online with the CPU: one PG session, often left connected after a download
  • S7 connections to other CPUs: none in this project, but confirm it in the configured connections
  • Basic communication calls such as cross-CPU read and write functions: unused here, yet they still hold their reserved share on this CPU
  • The 15 Masterdrives: cyclic DP exchange through the DP interface, outside the session pool

If an online PG session turns out to be connected, disconnecting it frees a slot and the current three-session set will run again. That is relief, not capacity.

How do I get three TP177B panels and the SCADA station working together? #

On this CPU you cannot. The resource split is fixed, so the workable paths are removing a competing session permanently or moving to a CPU whose documented connection capacity covers three panel sessions, the SCADA station and a programming slot with room to spare.

Work the decision in this order:

  1. Read the order number off the CPU label and treat only that number's own technical data as valid for connection capacity.
  2. Go online and confirm no PG or second SCADA session is stealing a slot; if one is, close it and retest the three-panel state.
  3. Accept that the installed revision offers no rebalancing path, and stop tuning the panel projects against a limit they did not create.
  4. Plan the CPU replacement. Port the DP configuration for the 15 drives and the WinCC flexible projects, then bring all three panels and the SCADA station online together, and repeat the test after a CPU restart so the result does not depend on connection order.

Before the swap, confirm how the drives behave on DP link loss and return, so the CPU restart does not command an unexpected drive state on the line.

What do I verify before ordering a replacement CPU? #

Verify from the candidate CPU's own technical data that its documented operator and PC connection capacity is at least five sessions — three panels, the SCADA station and one programming slot — before ordering anything.

Check that the successor supports your existing DP configuration as DP master for the 15 drives and that your panel projects remain serviceable with the tools you own. Newer platforms also make the accounting visible instead of hidden: an S7-1200, for example, shows its reserved and available connection resources in the TIA Portal inspector window, and the same article on why an S7-1200 runs out of HMI connection resources explains what that display means when an HMI set grows past it.

Decision: keep the installed 6ES7315-2AF01-0AB0 only if the three panels are never required online together with the SCADA station. On this machine the third panel is a stated requirement, the shortfall is two sessions against a demonstrably three-session pool, and no configuration, cable or project change recovers them. Replace the CPU with a revision whose documented capacity covers the five-session load, verify it from that order number's specification before ordering, and prove the fix with all sessions live at once after a CPU restart.

Questions asked

Will the SCADA link come back if I power-cycle the third panel?

Sometimes, temporarily. Cycling the panel frees its session and the SCADA station reconnects, but the pool is unchanged, so the drop returns the next time all sessions are demanded at once. Treat the recovery as confirmation of the resource limit, not a repair.

Does the MPI baud rate or cable length matter here?

No. The MPI link carries the SCADA session normally right up to the moment the CPU refuses a new one, so transmission speed, cable length and termination are not the constraint. No change to the cable adds sessions to a fixed pool inside the CPU.

Do the 15 Masterdrives reduce how many HMIs I can connect?

Not from the session pool. The drives exchange cyclic data through the DP interface, which is separate from the PG, OP and S7 session pool. They load the CPU's cycle time, but they do not occupy operator-session slots, so they do not decide the panel count.

Can I see the free connection count online?

On a CPU with the Communication tab, the hardware configuration shows the reservation for each connection type. The installed 6ES7315-2AF01-0AB0 has no tab, so only online diagnostics of active connections are available. Newer platforms go further: an S7-1200 lists its reserved and available connection resources in the TIA Portal inspector window.

Keep reading

  • Explainer

    Why an HMI panel cannot be a PROFIBUS DP slave

    No. The TP177B PN/DP puts S7 communication on PROFIBUS with the panel as master and offers no DP-slave mode, so no station address, baud rate or cable change lets an APACS PFM compile it as a slave. The working design is a two-interface S7-300 CPU, for example a 315-2DP, with its DP interface as intelligent slave to the PFM and its other interface as the panel's S7 partner, limited to 244 bytes per direction and mapped in the PLC program.

    HMI and touchscreens

  • Explainer

    Why an S7-1200 runs out of HMI connection resources

    The V3.0 CPU 1214 in this case reserves six HMI connection resources and cannot be upgraded to V4.x firmware, which belongs to a different hardware generation. Six panels plus the two connections WinCC 7.2 runtime opens need eight resources, two more than the CPU has: audit the WinCC project for a duplicate connection, then either move a panel off the CPU or fit a V4.x-generation CPU with twelve reserved HMI connections.

    HMI and touchscreens

  • How-to

    Transfer a WinCC flexible project to an MP277 via S7 routing

    Yes, the engineering PC reaches the CPU 315-2 PN/DP over Ethernet, the CPU forwards the WinCC flexible transfer onto its MPI subnet, and the MP277 receives it at its MPI node address. That takes the CPU's routing configuration compiled and loaded, the panel configured on the MPI subnet, transfer enabled on the panel's MPI/PROFIBUS channel, and the PC's online access bound to its Ethernet adapter. Routing never targets the panel's Ethernet channel.

    HMI and touchscreens

Why HMI Alarm Beeps Sound Irregular Over Serial PLC Links