Controller Autonomy and Plant Availability During Complete OS Server Outage in PCS 7
If both redundant OS Servers shut down simultaneously in a SIMATIC PCS 7 plant, the automation controllers (S7-400 / CPU 410-5H) will continue running autonomously and the plant will remain fully operational. Real-time control logic, safety interlocks, and PID control loops execute independently in controller memory without relying on supervisory servers. However, operators lose all visualization, setpoint manipulation, and alarm logging. If operational policies require stopping the plant upon total loss of supervisory communication, an AS-to-OS communication watchdog (lifebeat) must be configured in CFC to trigger a controlled sequence hold.
Table of Contents
- Executive Summary
- Architecture and Fundamental Mechanics
- Step-by-Step Implementation Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
A foundational design principle of distributed control systems (DCS), including SIMATIC PCS 7 (V8.0 through V9.1), is the architectural decoupling of the automation controller layer (AS) from the supervisory operator layer (OS). In the catastrophic event that both servers in a redundant OS server pair fail or lose power simultaneously, plant management frequently fears immediate plant shutdown. This article establishes the definitive behavior of autonomous controllers during complete supervisory blackout, examines the risks of operating blind, and provides the engineering methodology to implement automated plant holds if communication loss protocols mandate it.
Architecture and Fundamental Mechanics
DCS Decoupling Architecture and Controller Autonomy Mechanics:
- Autonomous Controller Execution:
- In SIMATIC PCS 7, the controller (S7-400H or CPU 410-5H) is an independent, real-time deterministic computing platform.
- All Continuous Function Charts (CFC), Sequential Function Charts (SFC), PID algorithms (
PIDConL), motor/valve drivers (MotL,VlvL), and hardware I/O scanning execute cyclically in Organization Blocks (OB30–OB38). -
The controller does not require authorization or polling from the WinCC OS server to execute its user program. If both OS servers crash, power down, or lose network connectivity, the AS continues controlling physical valves, pumps, and heaters without perturbation.
-
Operational Blackout Consequences (Operating Blind):
-
Although the plant continues running, the facility enters a 'dark control room' state:
- Loss of Visibility: Operator consoles (OS Clients) freeze; process values, graphic pictures, and alarm lists stop updating.
- Loss of Operator Intervention: Operators cannot change setpoints, manually trip motors, or override interlocks from faceplates.
- Loss of Historical Logging: Tag Logging and Alarm Logging buffers stop recording to the SQL database.
- Batch Execution Stall: Higher-level SIMATIC BATCH recipes stall when transitioning recipe steps that require PC-level allocation.
-
Independent Safety Instrumented Systems (SIS):
-
Emergency shutdowns and personnel protection are governed by S7 F-Systems / Safety Matrix executing in fail-safe controllers independently of both the standard AS logic and OS servers. Safety loops remain 100% active.
-
Watchdog / Communication Timeout Logic (If Plant Stop is Desired):
- The DCS philosophy is designed for maximum availability (keeping the plant running). However, if safety regulations dictate that an unattended or unmonitored process must not run, an active watchdog handshake can be programmed between AS and OS:
- The OS cyclic script toggles a binary heartbeat tag every 1–2 seconds.
- The AS runs a timer monitoring the heartbeat. If no toggle occurs within a timeout window (e.g. 15–30 seconds), logic initiates a graceful ramp-down or transition to safe state.
Step-by-Step Implementation Procedure
Step-by-Step Procedure to Implement an AS-OS Communication Watchdog in CFC:
- Create Heartbeat Handshake Tags in the AS:
- In a CFC chart running in OB35, instantiate a timer block (e.g.TimerPor custom watchdog logic).
- Declare an input binary tagOS_Heartbeat_Inwith system attributeS7_m_c := 'true'.
- Declare an output binary tagAS_Heartbeat_Outwith system attributeS7_m_c := 'true'. - Configure Cyclic Script on OS Servers:
- In WinCC Explorer on the master OS Server, open Global Script -> C-Editor or VBS-Editor.
- Create a 1-second cyclic action that readsAS_Heartbeat_Out, inverts the bit, and writes it back toOS_Heartbeat_In. - Implement Timeout Detection Logic in AS:
- In the AS CFC chart, feedOS_Heartbeat_Ininto an edge detection block (R_TRIG).
- Connect the edge output to reset the watchdog timer (e.g. preset timeT = 20s).
- IfOS_Heartbeat_Instops toggling, the timer elapses and sets outputWatchdog_Fault = TRUE. - Parameterize Graceful Plant Action:
- InterconnectWatchdog_Faultto trigger a controlled technological response:- Force running SFC sequences to enter
HOLDINGstate via inputHoldLi. - Ramp down feed controllers to minimum safe flow rates.
- Sound an external physical control room horn or beacon wired directly to an AS digital output.
- Force running SFC sequences to enter
- Compile and Verify:
- Compile CFC charts and compile OS.
- Download changes to the AS and download project to the OS Server.
Verification
Verification Procedure:
1. Autonomous Controller Test: While the plant or PLCSIM is running, terminate WinCC Runtime on both OS Servers. Verify through physical I/O status or engineering monitoring that PID loops and motor run commands remain completely stable.
2. Watchdog Timing Audit: Stop the OS heartbeat script; observe the AS watchdog timer. Confirm that after exactly 20 seconds, Watchdog_Fault asserts.
3. Controlled Hold Verification: Verify that all configured technological units transition smoothly into Hold without abrupt emergency trips.
Limitations and Operational Precautions
Operational Precautions and Process Engineering Guidelines:
- Availability vs Safety: Carefully evaluate whether stopping a plant on HMI loss creates more hazard than allowing automated stabilization. In continuous petrochemical or power applications, continuous controller execution is overwhelmingly preferred.
- Redundant Server Independence: Do not stop the plant if only one server fails; the watchdog must monitor communication health to the redundant pair as a whole.
- F-System Separation: Never route emergency safety trip signals through non-safety OS communication scripts; all critical emergency trips must reside in certified fail-safe logic.
Engineer FAQ
Will my plant stop automatically if both OS servers lose power?
No. S7-400 and CPU 410-5H controllers execute all logic, PID loops, and interlocks autonomously. The plant continues running in its last commanded automated state.
What is the primary risk of a complete OS server outage?
The primary risk is 'operating blind': operators lose all visual monitoring, alarm indication, and the ability to intervene or adjust process parameters from control room consoles.
Can I configure the PLC to stop the plant if OS servers fail?
Yes. By configuring a cyclic heartbeat watchdog between AS and OS in CFC, the controller can detect supervisory loss and initiate a controlled shutdown.
Does a server outage affect emergency safety trips in S7 F-Systems?
No. Fail-safe logic executing in S7-400F/FH controllers operates completely independently of OS servers and will trip safety valves if field process limits are breached.
What happens to historical trend data during a server outage?
Tag Logging and Alarm Logging are halted during the server outage; data during the blackout period cannot be recovered unless backed up by controller-resident buffer blocks.
Technical References
- SIMATIC Process Control System PCS 7 High Availability Process Control Systems
- SIMATIC Process Control System PCS 7 OS Process Control Manual
- SIMATIC S7-400 Automation System Module Data Manual
Related Articles
- Migrating a SIMATIC PCS 7 OS Single Station to a Redundant Client-Server Architecture
- Configuring SFC Type State Logic for Holding, Resuming, and Custom Step Skipping
- Sizing SIMATIC PCS 7 OS Client Runtime Licenses Across Multi-Server Architectures
Related Tags
- Plant Availability
- Controller Autonomy
- WinCC Outage
- Watchdog Logic
- High Availability