IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Shows ### on a SIMOTION C240 OPC Link

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

WinCC shows ### because the tag's quality is bad, not because a display is broken. On a C240 link the quality comes from a chain of five layers: the NIC and IP address, the access point mapping, the SIMATIC NET OPC server, the SCOUT symbol export and the WinCC OPC channel. Test them bottom up with ping and a standalone OPC client before touching the WinCC project.

On this page
  1. What the ### actually tells you
  2. The five links to rebuild
  3. Link 1: NIC and IP addressing
  4. Link 2: access point mapping
  5. Link 3: test the OPC server without WinCC
  6. Link 4: the symbol export from SCOUT
  7. Link 5: the WinCC OPC channel and tag bindings
  8. End-to-end verification
  9. Questions asked

The ### in an I/O field is not a display fault. WinCC prints ### when the tag behind the field carries bad quality, which means the tag was never read or the channel feeding it is not connected. A WinCC 7.0 SP2 project that talks to a SIMOTION C240 over Industrial Ethernet through the SIMATIC NET OPC server depends on five links in a row, and a Windows and WinCC reinstall on an undocumented machine resets every one of them. The project file survives the reinstall; the runtime simply has nothing to connect through. Rebuild the chain from the bottom up and do not open the WinCC project until a standalone OPC client reads the C240 with good quality.

What the ### actually tells you #

WinCC grades every tag with a quality code. A code of 0x80 means good, and 0x4C means the tag still holds its initial value because it has not been updated yet; both leave the value readable in an I/O field. Everything else is bad quality, and bad quality is what an I/O field renders as ###. So the symptom narrows the fault for you: the runtime is running and the picture is loading, but the value path is broken somewhere below.

A second symptom usually comes with it: the whole runtime feels sluggish or frozen, because the OPC channel keeps retrying the dead connection and each failed read blocks the screen update cycle.

Work through this list in order and do not move on until the current link passes its check:

  1. The NIC on the WinCC PC and its IP address, proven by a clean ping to the C240.
  2. The access point mapping in Set PG/PC Interface, so the OPC server can reach the controller.
  3. The SIMATIC NET OPC server itself, proven by an independent test client reading one C240 variable with good quality.
  4. The symbol export from SCOUT, so the symbolic item names resolve.
  5. The WinCC OPC channel connection and the tag bindings.

Each layer below depends on the ones above it in this list, which is why a WinCC-side repair cannot be separated from a network fault while link 1 is unproven.

Set the Industrial Ethernet NIC on the WinCC PC to a static address in the same subnet as the C240's Ethernet interface, and read the controller's address from the SCOUT project or the C240 network settings rather than guessing it. Check the subnet with the mask before you ping. For example, with the PC set to 192.168.0.10 and mask 255.255.255.0, and the C240 at 192.168.0.2:

  • 192.168.0.10 AND 255.255.255.0 = 192.168.0.0
  • 192.168.0.2 AND 255.255.255.0 = 192.168.0.0

Both network portions match, so the ping should go through directly. If the PC instead sat at 192.168.1.10, the network portion would be 192.168.1.0, which differs, and no direct Ethernet link to the controller is possible without a router. A standard onboard NIC, including a Broadcom-based one, carries TCP/IP-based S7 communication; whether a given card is released for a specific SIMATIC NET protocol stack is listed in the documentation for the installed SIMATIC NET version, so check that list before blaming the hardware.

If the PC carries two NICs, keep only the one on the controller subnet active while testing; dual interfaces on the same subnet split traffic and break reachability, which the page on PC dual NIC same-subnet communication problems explains in detail. S7 communication over Industrial Ethernet uses TCP port 102, so a firewall profile blocking that port kills the link even when the ping path is sound; disable the blocking rule for the test and restore the rules afterwards.

Expected result: ping replies with stable latency and no loss. Do not proceed until this is true.

SIMATIC NET reaches the controller through an access point that must be mapped to a physical interface. The Set PG/PC Interface tool in the Control Panel does that mapping, and after a reinstall it sits at defaults, which leaves the C240 unreachable by the OPC server even though ping works. Open the tool, select the application access point the OPC server uses, and map it to the Industrial Ethernet NIC with the TCP/IP protocol. The failure mode and repair are the same as the case where a missing TCP/IP PG/PC interface breaks the HMI link entirely.

The station configurator, which defines the PC as a station object for configured connections, is likewise reset. For recovering an undocumented machine, map the access point and leave the PC station out; build a configured PC station only if the WinCC channel unit settings show the original project connected through one. The diagnostics test in Set PG/PC Interface should then report the C240 as a reachable station.

Test the server before you touch the project. Connect a test client to the SIMATIC NET OPC server on the local PC. The SIMATIC NET delivery includes a matching test client, and any third-party OPC Data Access client can also browse the same server because it speaks the same COM interface; a client such as an independent OPC explorer proves the server layer without involving WinCC at all.

Add one known SIMOTION variable as an item, either a symbolic name from the exported symbol file or a direct address, and read it.

Expected result: quality good and a changing value that matches the watch table in SCOUT. Good quality with a frozen value points at the wrong variable; bad quality with a valid server connection points at the item path or the connection below the server, never at WinCC. Server-side diagnostics for OPC Data Access have been available since SIMATIC NET PC Software V8.0, so use them to see whether the server holds the connection to the controller or is failing at that hop.

SIMOTION variables are not addressed like classic S7 data blocks. The OPC server needs the symbol information of the downloaded project, exported from SCOUT and loaded into the SIMATIC NET configuration. A rebuilt PC has no symbol file, so every symbolic item from the old project fails to resolve. Re-export after confirming that the project open in SCOUT is identical to the program running on the C240; an older export yields wrong items, bad quality or wrong values even over a healthy link. The steps for diagnosing the SCOUT-to-C240 side of that handshake are covered in the guide on troubleshooting SCOUT V4.4 SIMOTION C240 communication failures.

Expected result: browsing the server namespace in the test client shows the project's technology objects and global variables under the controller connection, and reading one returns good quality.

In WinCC Explorer, add the OPC channel driver under Tag Management, create a connection to the SIMATIC NET OPC server on the local machine, and bind each tag to its item. A restored project often keeps the tag names but loses the channel unit, which leaves every tag unconnected. Use the item syntax that worked in the test client, and pick each item from the server browse dialog rather than typing it, so the names come from the live namespace.

Expected result: the connection status reads connected, and activating runtime shows the same value in the I/O field that the test client displays, with ### gone. If only some tags still show ###, those tags carry item names or data types that no longer match the namespace; rebind them from the browse dialog. If every tag shows ###, the fault is in the connection or in one of the layers above, not in the tags.

End-to-end verification #

Run this sequence once the runtime is up:

  • Ping the C240 from the WinCC PC: stable replies, no loss.
  • The test client reads a SIMOTION variable: good quality, value equal to the SCOUT watch table.
  • Runtime starts without hanging, and the channel diagnostics show the connection established.
  • Write an agreed test setpoint from a WinCC field and read it back in SCOUT: the value arrives within one update cycle.
  • Pull the Ethernet cable for a few seconds: the affected fields return to ### and recover automatically after the link returns, with no runtime restart.

The last check is the decision point for the whole repair. If the cable pull produces ### and clean automatic recovery, the chain is healthy end to end. If quality is good in the test client but ### persists in runtime, the fault is in the WinCC channel or the tag bindings. If the test client still reads bad quality, return to the access point, the symbol export and the connection below the server, in that order.

Questions asked

Why do only some WinCC tags show ### while the rest update normally?

The channel and server are working, because the other tags update. The failing tags carry item names or data types that no longer resolve, usually after a symbol re-export changed the namespace. Open one failing tag, browse the OPC server from the tag dialog instead of typing the item, and compare the data type against the SIMOTION variable.

Is a SIMATIC PC station required for the OPC link to a C240?

Not for service access. Mapping the access point to the NIC with Set PG/PC Interface plus the exported symbol file is enough when the WinCC channel unit connects to the local OPC server without a configured connection. A configured PC station is needed only when the original project downloaded a connection into the station configurator and the channel expects that connection. Check the channel unit settings to see which case applies.

Can a third-party OPC client prove the SIMATIC NET server works?

Yes. Any OPC Data Access client speaks the same COM interface, so it can browse the local SIMATIC NET server and read a C240 item with a quality judgment. It only proves the server layer. A test client cannot build the access point mapping or the communication configuration, so a Bad quality reading still points to the layers below, not to the client.

Does ### always mean a communication fault?

No. On a WinCC flexible runtime that was copied to another target PC, ### on every tag from the first screen points to a missing runtime license, and the fix is transferring the license to that PC. On the C240 OPC link described here, ### means bad tag quality from a communication chain that has to be rebuilt layer by layer. The difference shows in the channel status: one is a licensing state, the other a failed connection.

Keep reading

  • Troubleshooting

    Why WinCC tag updates run slow on an IM 151-7 PROFIBUS link

    The 8-12 second WinCC lag on an IM 151-7 is the CPU's communication ceiling, not a bus fault: late answers are still correct answers, so Connection Diagnosis stays clean. Set the Cycle load due to communication to 50%, set the OP connections to the two real partners, download in a planned stop, and confirm the maximum cycle time still fits.

    HMI and touchscreens

  • Troubleshooting

    Why a WinCC server IP change freezes all HMI clients

    Treat the synchronized freeze as a server-side fault with two leads: pin the process server to its fixed address instead of dynamic addressing, and find any add-on such as OPC software running on a demonstration license whose documented runtime limit matches the interval between freezes. Rebooting only resets the running session. Run the server without its SCADA software to rule the machine itself in or out.

    HMI and touchscreens

  • Troubleshooting

    Why rebuilt HMI runtime files show #### for PLC tags

    Hashes on every tag after transferring a rebuilt WinCC Runtime Advanced project are a display symptom, not a communication code. Restore the working runtime files as a baseline, add an alarm view showing buffered System alarms, and branch on the message text: connection establishment, TLS certificates and clocks, hidden project pairing, or single-field formatting.

    HMI and touchscreens

Why WinCC V6 Needs an OPC Server to Reach an S7-200 PPI Port