Troubleshooting
MP370 Profibus dropouts with an S7-400: the fixes that worked
Short answer
An MP370 reading an S7-400 over Profibus showed number signs every 5 to 15 minutes. The causes were a defective Profibus connector at the segment end and one tag pointing to a DB that did not exist in the PLC; replacing the connector and correcting the tag cleared it, with no STEP 7 integration and no CPU change.
On this page
- What the panel showed and what it rules out
- The two faults behind the dropouts
- Testing the token theory against a 5 to 15 minute dropout interval
- Fix the segment end first
- Audit every tag address against the PLC program
- Read the fault off the panel itself
- What to leave alone
- The decision, case by case
- Questions asked
An MP370 that shows ###### in its value fields every few minutes while reading an S7-400 over Profibus has two likely defects, and neither of them is the missing STEP 7 integration. On the line in question the panel sat at the end of the Profibus segment behind a defective connector, and one tag in the panel project pointed to a DB that did not exist in the S7-400 program. Replacing the connector and correcting the tag cleared the fault; the panel kept running without integration, and the scan cycle load was already at the raised setting, so the CPU was never touched. Go to the segment end and the tag list first, and read the fault pattern off the panel itself before changing any bus or CPU setting.
What the panel showed and what it rules out #
Three observations came from watching the panel, and each one removes a suspect. Write them down before opening the cabinet:
- The panel read data correctly most of the time, so the connection parameters were right and the link came up on its own. A wrong baud rate or station address fails permanently, not occasionally.
- The
######appeared at intervals that wandered between a few minutes and a quarter of an hour, so something intermittent was failing. A configuration error fails on every update. - Changing the tag cycle times changed nothing, so the update rate was not the lever.
A WinCC flexible output field shows ###### when it has no valid value to display, so every one of those events was an update that failed or arrived broken. The wandering interval is the clue that matters: it separates a degrading physical component from any fixed timing or load cause, and the worked example below puts numbers on that separation. For the same symptom viewed from the network side, the walkthrough of troubleshooting intermittent PROFIBUS dropouts on an S7-400 network works the segment checks in more depth.
The two faults behind the dropouts #
The repair found exactly two defects, in this order:
- A defective Profibus connector at the segment end. The MP370 was the last device on its segment, which makes its connector the one carrying termination for the whole cable. That connector was not working right, and replacing it removed the first fault. Active termination draws its power from the device it sits in, so a dying end-of-line connector can degrade traffic for every station on the segment, not only its own.
- A tag pointing to a nonexistent DB. One tag in the panel project referenced a data block that was not present in the S7-400 program, so every update cycle the panel asked for data that could not exist. Correcting the tag address removed the second fault.
Either defect alone produces the same screen symptom, which is why the panel only went quiet after both were fixed. A wrong address reference is easy to underestimate: the bus looks healthy, the PLC sees a request it cannot satisfy, and the field just shows ######. That is the same failure family as when a SCADA write to a PLC real address fails silently — the address is wrong, the traffic flows, and the data never lands.
Testing the token theory against a 5 to 15 minute dropout interval #
The first theory on that line was timing: the panel acts as an extra Class 2 master the STEP 7 project does not list, token timing suffers, and the PLC skips some answers. The observed pattern tests that theory without touching a single setting.
Inputs, with their sources:
- Dropout interval: every 5, 10, or 15 minutes, observed at the panel on that line.
- Token circulation on a healthy segment: the token passes from master to master in milliseconds, so even a pessimistic full rotation finishes well inside 1 s.
- The suspected cause: token contention from an unlisted Class 2 master.
The rule in words: a timing artifact repeats at a fixed period, because the thing it disturbs — token rotation, scan cycle — runs at a fixed rate. A failing physical component fires whenever it happens to fail, so its interval wanders. Two tests separate the causes: is the interval fixed, and is the gap many token cycles long?
The arithmetic: at the shortest observed interval, 5 min = 300 s; at the longest, 15 min = 900 s. The spread is 900 s ÷ 300 s = 3, with no fixed period anywhere in it. Even against a pessimistic 1 s token rotation, 300 s ÷ 1 s = 300 token passes fit between two dropouts at the shortest interval, and 900 passes at the longest. A contention defect that strikes once in 300 to 900 passes is not contention.
The result: the interval is not fixed and each gap spans hundreds of token cycles, so token timing explains none of what the panel did.
The decision: leave every token and bus-timing setting alone and move to the segment end and the tag list. The signature that would send you back to timing causes is different — a dropout interval that holds at one fixed value, or faults striking many stations at once instead of one panel.
Fix the segment end first #
Profibus faults concentrate at the two segment ends, because the ends are the only places termination lives. Work that end before opening any project:
- Identify which devices terminate the segment. The MP370 was one of them on that line, which made its connector suspect number one.
- Inspect the connector at that device: the locking tab, the cable entry, and the termination setting. A connector that is loose, corroded, or set without termination degrades the whole segment.
- Replace the connector if it does not behave. Replacement removed the fault here; the panel was still reading cleanly when the job closed out.
Power the panel down before swapping the connector; a data fault is never a reason to work inside a live cabinet.
Treat the connector swap as one fix, not a verdict. It removed one of two faults, and the panel only stayed quiet once the tag audit below came back clean.
Audit every tag address against the PLC program #
The second fault is the one that hides, because a tag whose DB does not exist produces the same ###### as a marginal connector. The audit has to be systematic rather than targeted:
- List every tag in the panel project that reads or writes the S7-400.
- Resolve each tag to its DB number and start address against the S7-400 program itself, not against a note or a spreadsheet: open the project and confirm the block exists.
- Correct or delete any tag whose target block is missing, and record who owned the address so the same mistake does not return at the next edit.
On that line one tag pointed to a DB that was not in the PLC, and correcting it removed the second fault. The audit is cheap insurance for future edits too: a block deleted on the PLC side but left behind in the panel project is exactly how this defect is born.
Read the fault off the panel itself #
Both diagnostic moves that paid off on this job cost nothing but configuration:
- Add an alarm view with the System alarm class. Communication faults surface there as system messages, and the timestamps between two entries hand you the fault interval at the next occurrence, so nobody has to stand at the panel waiting for
######to reappear. - Check the connection parameters against a generated reference. Build a small WinCC flexible sample project integrated into STEP 7, read the values it generates under Connections, and compare them field by field with the standalone project. Use that comparison to verify parameters, not as proof that integration is mandatory; the panel ran fine without it.
If the alarm view stays empty while the fault recurs, that gap is itself a finding: the event never reached the alarm layer, which narrows where the fault can live.
What to leave alone #
Three changes were considered on that job and none of them was the fix:
- Integration into STEP 7. Not needed. PROFIBUS, the Type 3 profile of IEC 61158, shares the cable by token passing between masters; a Class 2 master such as a panel joins that token ring without an entry in the DP master's project. The panel proved it by running the rest of the job without integration.
- The scan cycle load. The CPU already sat at 40 percent, the raised value the advice for this symptom names, and the dropouts were physical, so there was nothing to raise and no evidence the CPU was starving.
- The engineering software arrangement. Keep WinCC flexible off the machine that runs PCS 7 6.1 SP1 with WinCC 6.0 SP3a; separate engineering machines are the clean arrangement. But that software has no path into the panel-to-PLC connection, and the job confirmed it: the fault lived in a connector and a tag address.
Token-ring dropouts do exist as a fault class, but they live on the CPU-side communication processor and look different from one wandering panel; the root-cause walkthrough of CP443-5 PROFIBUS token ring dropouts covers that separate case.
The decision, case by case #
######at wandering intervals on a panel that otherwise reads fine: inspect and replace the connector at the segment end, then audit every tag address. That combination cleared this exact fault with integration untouched and no CPU setting changed.- One field stuck on
######permanently while its neighbors update: stop looking at the cable; that tag's address is wrong. Fix it against the PLC program in the panel project. - A dropout interval that holds at one fixed value, or faults hitting many stations at once: that is the signature timing and load causes produce, so bus settings and the CPU-side communication processor come back into play, from measurements rather than a hunch.
In every case the panel's System alarm view costs nothing, gives you the interval, and settles which branch you are on before you change anything.
Questions asked
What does the panel showing number signs instead of values actually mean?
A WinCC flexible output field shows number signs whenever it has no displayable value. The usual causes are a failed tag update, or a value that arrived but is too wide for the field, so check the field width once before chasing the network. In this fault the fields recovered on their own every time, which points at failed updates rather than a broken link, because a lost connection keeps every field filled with number signs until the link returns.
When should the scan cycle load setting be changed for an HMI panel?
Only after the connector and tag audit come back clean and the CPU diagnostics point at communication load. The default sits at 20 percent and 40 percent is the usual raised value; on that line the setting already read 40 percent, and the dropouts turned out to be physical, so the setting was never the lever. Change it when CPU diagnostics show communication load trouble, not when a panel hiccups.
Can WinCC flexible and PCS 7 share one engineering PC?
Keep them on separate machines. The station running PCS 7 6.1 SP1 with WinCC 6.0 SP3a stays on its own PC and WinCC flexible 2005 SP1 runs on another; the tool families were never designed to share a machine and coexistence is not supported practice. This job adds a data point either way: the fault lived in a connector and a tag address, so the software arrangement played no part in the dropouts.
Why did changing the tag cycle times make no difference?
The cycle time only sets how often the panel asks the PLC for a value. It cannot repair an address that points at a DB the program does not contain, and it cannot clean up frames a dying connector corrupts, so both faults kept returning at whatever rate the tags were set to. Fix the address and the endpoint first, then tune cycle times if a screen needs a faster update.
How long should the panel run clean before the fault is called fixed?
Let it run through several of the old fault windows. At the previous rhythm of one dropout every 5 to 15 minutes, a full shift without a single number sign covers dozens of windows where the old fault would have fired, which is far stronger evidence than an hour of clean running. Watch the System alarm view alongside the screens so the evidence does not depend on someone staring at one field.