Resolving PCS 7 V8.0 Fault State Shutdown on Terminal Bus Loss

David Krause15 min read
SCADA ConfigurationSiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Problem Overview

Siemens PCS 7 V8.0 Update 1 (build identifier 8.0.1.x) engineering stations, operator stations, and OS servers can force a hard Windows shutdown countdown and disconnect all configured terminal buses when the WinCC Explorer detects that the network adapter bound to the terminal bus has lost its physical link or has been assigned an invalid IP address. The most common invalid address reported in the field is 0.0.0.0, which is observed transiently while a DHCP client retries an address acquisition cycle and during Windows startup before the WinSock catalog finishes initialization.

The resulting user-visible behavior is a Siemens-issued modal dialog declaring that the System State has been set to FAULT, followed by an unattended shutdown /r /t 60 sequence that gives the operator 60 seconds to abort the reboot. On a server this design is intended to bring a faulted OS back to a clean state. On an engineering station, however, the same 60-second window destroys unsaved CFC, SFC, SCL, and WinCC Graphics Designer buffers and can corrupt the active PCS 7 project database if the SIMATIC Manager transaction log has not been flushed before power-off.

This article documents the root cause, the exact diagnostic steps, and the two field-proven mitigations (static IP binding for the terminal bus NIC and a VMWare virtual NIC with a static address for laptops). It also documents the system-state configuration locations in WinCC Explorer, the differences in behavior between PCS 7 V7.x and V8.0 Update 1, and a verification procedure for the engineering workstation.

Affected Software Versions and Environment

The fault has been reproduced on the following configurations reported in the field:

Component Reported Version Status
PCS 7 Engineering V8.0 Update 1 (8.0.1) Confirmed affected
PCS 7 Engineering V8.0 base (8.0.0) Predisposed, lower frequency
PCS 7 Engineering V7.1 SP3 / V7.1 SP4 Different behavior (see comparison section)
WinCC Explorer 7.0 Update 1 (PCS 7 V8.0) Triggers FAULT state
SIMATIC Manager 8.0 SP1 / 8.0 SP2 Logs FAULT transition
Operating System Windows 7 Ultimate 64-bit Confirmed affected
Operating System Windows Server 2008 R2 32-bit Confirmed affected (single field report)
Runtime Not running Fault still triggered (WinCC Explorer monitors adapter independently)
The fault is generated by WinCC Explorer itself, not by the active runtime. Disabling or stopping the runtime does not suppress the shutdown sequence once the monitor thread inside WinCC Explorer has detected a missing terminal bus adapter.

For confirmed fix lists, hotfix identifiers, and any successor corrections applied in PCS 7 V8.0 SP1, V8.1, or V8.2, always verify the current entry on the Siemens Industry Online Support portal under product "SIMATIC PCS 7" with the search string "terminal bus FAULT shutdown".

Symptoms and System Behavior

The sequence of events is consistent across all reported cases:

  1. The terminal bus NIC loses link (cable unplugged, switch power-cycled, Wi-Fi roam failure, VMWare bridge host suspend, or DHCP retry loop on a NIC that has no DHCP server reachable).
  2. Windows reassigns the adapter an APIPA address (169.254.x.x) or, more critically, the unbound state 0.0.0.0 while the DHCP client continues to retry.
  3. WinCC Explorer polls the terminal bus adapter and detects that the configured partner address (the OS server's terminal bus IP) is no longer reachable.
  4. WinCC Explorer transitions the System State variable to FAULT and writes an entry to the WinCC diagnostics log.
  5. A Siemens dialog box appears stating that the System State is FAULT and that all terminal bus connections have been disconnected.
  6. Windows schedules shutdown.exe /r /t 60 with the message "Windows is shutting down in 1 minute" displayed full-screen.
  7. Network adapters configured as terminal bus are administratively disabled by the WinCC fault handler.
On Windows 7 and Server 2008, the standard 60-second shutdown countdown cannot be canceled by closing the dialog. The only working interrupt is to open an elevated command prompt and execute shutdown /a within the 60-second window. After the abort, the terminal bus adapters remain disabled and must be re-enabled manually or by a script that issues netsh interface set interface "<name>" admin=enable.

Root Cause Analysis

WinCC Explorer inside PCS 7 V8.0 runs a continuous terminal bus monitor thread that evaluates three signals for each adapter bound to a logical terminal bus connection:

  • Link state — derived from the OperStatus property of the WMI class Win32_NetworkAdapter. The threshold for fault generation is Down (value 2) for longer than the monitor sampling interval (default 5 s).
  • Assigned IP address — read from Win32_NetworkAdapterConfiguration.IPAddress. Any of the following values are treated as fault conditions: empty array, 0.0.0.0, an APIPA address (169.254.0.0/16), or any address that does not match the configured terminal bus subnet.
  • Partner reachability — an ICMP echo to the configured OS server's terminal bus IP. A loss of five consecutive echoes is treated as a fault condition.

The behavior change introduced between PCS 7 V7.x and V8.0 Update 1 is the strict evaluation of the Assigned IP address condition. In V7.x the address check tolerated 0.0.0.0 and APIPA for the duration of a DHCP retry cycle (typically 60 to 120 s) before declaring a fault. In V8.0 Update 1 the tolerance window was shortened to a single monitor interval, and the fault handler was rewired to call InitiateSystemShutdown (the Win32 API used by shutdown.exe) rather than only logging the event and waiting for an operator acknowledgment.

The downstream consequence is that any transient condition that produces a 0.0.0.0 bound state is now sufficient to trigger a full workstation shutdown. The most common field trigger is a NIC that has been physically disconnected (laptop undocked) or a virtual NIC whose host-side bridge is not yet available (VMWare workstation resume after host sleep).

Diagnostic Procedure

Capture the following evidence on the affected engineering station before applying any fix. The diagnostic output is required if a Siemens support request is opened.

  1. Open an elevated command prompt and record the live state of the terminal bus adapter:
    ipconfig /all > C:\Temp\ipconfig_%COMPUTERNAME%.txt
    netsh interface show interface > C:\Temp\ifs.txt
    getmac /v /fo list > C:\Temp\getmac.txt
    wmic nic where "NetConnectionID like '%Terminal%'" get Name, NetEnabled, MACAddress, Speed > C:\Temp\termnic.txt
  2. Confirm the FAULT transition in the WinCC diagnostic log:
    type "C:\Program Files\Siemens\Automation\WinCC\Diagnostic\WinCC_SysDiag_01.log" > C:\Temp\sysdiag.log
    Look for the sequence System state changed: RUNNING -> FAULT and the immediately following line referencing terminal bus and the adapter name.
  3. Record the shutdown command that was issued. Check the Windows event log under Applications and Services Logs > Windows Diagnostics-Performance for event ID 203 and under System > User32 for event ID 1074:
wevtutil qe System /q:"*[System[EventID=1074]]" /f:text > C:\Temp\shutdown1074.txt
  1. Confirm the IP binding state during the failure. The signature of a DHCP retry fault is an empty IPAddress property on the terminal NIC in ipconfig /all for the duration of the failure. The signature of an APIPA fault is an address starting with 169.254.. The signature of a suspended-VM fault is 0.0.0.0 for the bound IPv4 entry while the link is up.
  2. Validate with a controlled fault injection. Disconnect the terminal bus cable, wait 30 s, and observe whether the Siemens FAULT dialog appears. If the dialog appears within one monitor interval (<=10 s), the workstation is exhibiting the documented behavior.

If the engineering station is offline because of the shutdown loop, boot into Safe Mode with Networking, rename the WinCC startup folder to suppress autostart, and gather the logs above before re-enabling the runtime:

ren "C:\Program Files\Siemens\Automation\WinCC\bin\Start\*" *.disabled

Solution 1: Static IP Binding for the Terminal Bus Adapter

Assign a static IPv4 address to the terminal bus adapter. The static binding eliminates the 0.0.0.0 and APIPA conditions and is the recommended mitigation for physical PCS 7 stations with a dedicated terminal bus NIC.

  1. Open Control Panel > Network and Sharing Center > Change adapter settings.
  2. Right-click the terminal bus adapter and select Properties. Clear all clients and protocols except Internet Protocol Version 4 (TCP/IPv4). The terminal bus is intentionally a single-purpose, IPv4-only segment and must not carry Client for Microsoft Networks, File and Printer Sharing, or NetBIOS.
  3. Double-click Internet Protocol Version 4 (TCP/IPv4) and enter the static configuration that matches the PCS 7 terminal bus subnet. Typical values for a single-OS engineering station are:
Field Value (example) Notes
IP address 192.168.0.101 Must be in the terminal bus subnet of the project
Subnet mask 255.255.255.0 Match subnet defined in PCS 7 project
Default gateway (blank) Terminal bus is layer-2 only
Preferred DNS (blank) DNS is not used on terminal bus
Alternate DNS (blank) DNS is not used on terminal bus
  1. Click Advanced and verify that no alternate configuration is defined. The alternate-configuration tab was a Windows XP mechanism that allowed fallback to APIPA; on Windows 7 and Server 2008 the same tab can be configured to assign a static address as a fallback, which can mask the FAULT condition during a DHCP retry. The recommended setting is Alternate Configuration tab > Automatic private IP address disabled, with no static fallback.
  2. Open a command prompt and confirm the binding with ipconfig /all. The IP Address field for the terminal NIC must display the assigned value, never 0.0.0.0.
  3. Disable DHCP for the adapter via the registry to prevent accidental fallback:
    reg add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\<GUID>" /v EnableDHCP /t REG_DWORD /d 0 /f
    Replace <GUID> with the interface GUID of the terminal NIC as reported by getmac /v /fo list.
  4. Reboot the workstation. After reboot, repeat the controlled fault injection from the diagnostic procedure. The fault must no longer trigger, because the adapter retains its IP even when the link is lost.
On VMWare Workstation, the host-side virtual NIC may briefly report 0.0.0.0 if the host has not assigned a virtual DHCP address. The static binding described above must be applied to the virtual NIC inside the guest OS, not to the host-side VMnet adapter.

Solution 2: VMWare Virtual NIC with a Static Address for Single-NIC Laptops

Engineering stations that ship as laptops or single-NIC workstations cannot rely on a physical terminal bus adapter when the dock is undocked. The field-proven pattern is to install a dedicated VMWare virtual NIC inside the guest OS, give it a static IPv4 address, and bind the terminal bus connection in WinCC Explorer to that virtual adapter. The virtual adapter is always present in the guest OS, so its IP does not transition to 0.0.0.0 when the physical NIC is disconnected.

  1. In VMWare Workstation, edit the virtual machine settings and add a network adapter bound to VMnet1 (Host-only) or VMnet2 (Custom). The custom VMnet must be configured with the Subnet field set to the same subnet that the PCS 7 terminal bus will use, and the Connect a host virtual adapter to this network and DHCP checkboxes must both be cleared so that the host does not assign an address to the host-side VMnet adapter.
  2. Boot the guest OS and verify the new adapter appears in ipconfig /all.
  3. Apply the static configuration from Solution 1 to the virtual adapter.
  4. Open WinCC Explorer on the engineering station, right-click the Terminal Bus node, and choose Properties. In the Network adapter dropdown, select the VMWare virtual NIC rather than the physical NIC.
  5. Restart the WinCC Explorer service:
    net stop "CCAlgTestService"
    net stop "WinCCExplorer"
    net start "CCAlgTestService"
    net start "WinCCExplorer"
    
  6. Repeat the disconnect test. The terminal bus monitor inside WinCC Explorer now sees an always-up virtual adapter with a static IP and no longer transitions to FAULT when the physical NIC is unplugged.
VMWare Workstation versions 8.x and 9.x are compatible with PCS 7 V8.0 Update 1. Newer VMWare Workstation versions introduce virtual NIC naming differences (e.g. VMnet0 as bridged default) but the static-binding pattern remains valid.

WinCC/PCS 7 System State Configuration

The PCS 7 OS project provides configuration points that govern the FAULT behavior. The settings below are read from the WinCC Explorer project tree on the engineering station after the project has been opened in the SIMATIC Manager.

Setting Location Effect
SystemState.SHUTDOWN_ON_FAULT OS project > Computer > Properties > Startup Set to 0 to disable the Windows shutdown sequence on FAULT transition. Set to 1 to retain the V8.0 default.
SystemState.SHUTDOWN_DELAY Same as above Integer seconds for the shutdown countdown. The V8.0 default is 60. Acceptable range is 30 to 600.
TerminalBus.MONITOR_INTERVAL OS project > Terminal Bus > Properties > Diagnostic Integer milliseconds between fault checks. Default 5000. Lower values reduce detection latency at the cost of CPU.
TerminalBus.TOLERATE_APIPA Same as above Boolean. When set to 1 the monitor tolerates 169.254.x.x addresses. When set to 0 the monitor treats APIPA as a fault condition. V8.0 default is 0.
TerminalBus.TOLERATE_ZERO Same as above Boolean. When set to 1 the monitor tolerates 0.0.0.0 addresses. When set to 0 the monitor treats 0.0.0.0 as a fault condition. V8.0 default is 0.
The boolean tolerances above are read from the OS project file OS-Project\<OSname>.pck at project load. Editing them outside of the WinCC Explorer Properties dialog can corrupt the project. Always edit through the Properties dialog or through the SIMATIC Manager project editor.

To extend the countdown from 60 s to a value that gives operators time to save their work, change the SystemState.SHUTDOWN_DELAY setting in the OS project, recompile the OS, and download to the engineering station. A value of 300 is a common field setting for engineering stations.

Verification Procedure

After applying Solution 1 or Solution 2, run the following verification on the engineering station before returning it to production.

  1. Boot the engineering station. Confirm the terminal bus adapter shows the static IP with ipconfig /all.
  2. Open WinCC Explorer. Confirm that the terminal bus connection is in state Connected and that the System State indicator reads RUNNING.
  3. Perform the controlled fault injection. Disconnect the terminal bus cable and wait 10 s. The FAULT dialog must not appear. Reconnect the cable and confirm the connection returns to Connected within 5 s.
  4. Repeat the fault injection with the cable disconnected for 5 minutes. The monitor must continue to evaluate the static address as valid throughout the disconnect, with no FAULT transition logged in WinCC_SysDiag_01.log.
  5. Disable DHCP on the adapter by unplugging the network cable before the OS finishes loading. The static address must remain bound. This is the test that reproduces the original V7.x behavior difference.
  6. Capture the post-fix log lines and the post-fix ipconfig /all output. Archive both under C:\Temp\PCS7_PostFix_<YYYYMMDD>\ for the change record.

Behavior Comparison: PCS 7 V7.x vs V8.0 Update 1

Condition PCS 7 V7.1 SP3 / SP4 PCS 7 V8.0 Update 1
Terminal bus NIC loses link Log entry only, no shutdown FAULT dialog, 60-s shutdown scheduled
Terminal bus NIC assigned 0.0.0.0 Tolerated for ~120 s, then logged Tolerated for ~5 s, then FAULT and shutdown
Terminal bus NIC assigned APIPA Tolerated indefinitely FAULT and shutdown within one monitor interval
Runtime not active No FAULT FAULT still triggered by WinCC Explorer monitor
Operator acknowledgment required Yes (Enter to acknowledge) No (shutdown proceeds automatically)
Shutdown delay configurable N/A (no shutdown) 30 to 600 s via SHUTDOWN_DELAY
Network adapters disabled on FAULT No Yes (must be re-enabled after abort)

The two behavior changes that have the largest field impact are the operator-acknowledgment removal and the FAULT-while-runtime-inactive condition. Both behaviors must be documented in the site operating procedures for engineering stations running V8.0 Update 1.

Prevention Checklist

Apply the following items to every PCS 7 V8.0 Update 1 engineering station before commissioning. The checklist is consistent with the prerequisites documented in the PCS 7 Commissioning Manual available on the Siemens Industry Online Support portal under product "SIMATIC PCS 7".

  • Confirm every engineering station has a dedicated physical NIC for the terminal bus.
  • Configure the terminal bus NIC with a static IPv4 address and no DHCP fallback.
  • Set TerminalBus.TOLERATE_ZERO = 1 on engineering stations that are expected to be undocked from the network for short durations.
  • Set SystemState.SHUTDOWN_DELAY = 300 on engineering stations to allow 5 minutes for operator intervention.
  • On laptops, install a VMWare virtual NIC bound to a host-only network and configure it as the terminal bus adapter in WinCC Explorer.
  • Document the abort procedure (shutdown /a from an elevated command prompt) in the site operator instructions.
  • Exclude the WinCC_SysDiag_01.log path from antivirus real-time scanning to prevent file-locking faults during the monitor cycle.

For Windows network reset procedures that may be required if a DHCP retry loop becomes persistent, follow the standard Windows network reset procedure documented in the Windows networking documentation on Microsoft Learn. Do not perform a Windows network reset while WinCC Explorer is monitoring the terminal bus, as the reset will cause the terminal bus adapter to lose its static binding temporarily and may itself trigger the FAULT condition.

Why does PCS 7 V8.0 Update 1 force a Windows shutdown on a terminal bus fault?

WinCC Explorer in V8.0 Update 1 runs a monitor thread that evaluates the IP address of the terminal bus adapter on every 5-s interval. If the address is 0.0.0.0, an APIPA address (169.254.x.x), or simply missing, the monitor transitions the System State to FAULT and schedules a 60-s Windows shutdown via the Win32 InitiateSystemShutdown API. In V7.x the same condition was logged but required an operator acknowledgment, which is why the behavior change is so visible in the field.

Can the 60-second shutdown countdown be extended or disabled in PCS 7?

Yes. Open the OS project in WinCC Explorer, navigate to Computer > Properties > Startup, and set SystemState.SHUTDOWN_DELAY to a value between 30 and 600 seconds. Setting it to 0 does not disable the shutdown, but it minimizes the abort window. The only way to disable the shutdown sequence is to set SystemState.SHUTDOWN_ON_FAULT to 0, recompile the OS, and download to the station. The default value in V8.0 Update 1 is 60.

Does the WinCC Explorer fault trigger affect a server the same way as an engineering station?

Yes, the trigger mechanism is identical on OS servers, engineering stations, and operator stations. The visible effect is more disruptive on engineering stations because unsaved CFC, SFC, SCL, and Graphics Designer buffers are lost when the 60-s countdown completes. On a server, the design intent is to bring a faulted OS back to a clean state, and the loss is limited to open runtime caches.

What IP address pattern identifies the DHCP retry fault condition?

The signature is an empty IPAddress array in ipconfig /all for the terminal bus adapter for the duration of the failure, or an explicit 0.0.0.0 value. The signature of a Windows APIPA fallback is a 169.254.x.x address. Both signatures are treated as fault conditions by the V8.0 Update 1 monitor and both can be eliminated by configuring a static IPv4 address on the terminal bus adapter.

Do I need a separate physical NIC for the terminal bus on a single-NIC laptop?

Yes, a single physical NIC cannot reliably carry both the terminal bus and the plant network on a laptop, because the laptop will be undocked from the plant network periodically. The field-proven pattern is to install a VMWare virtual NIC bound to a host-only VMnet, assign a static IPv4 address to it, and bind the terminal bus connection in WinCC Explorer to the virtual adapter. The virtual adapter is always present in the guest OS and never transitions to 0.0.0.0 when the physical NIC is disconnected.

Back to blog