Diagnosing Missing PROFIBUS DP Rack and Station Failure Alarms in WinCC After PCS 7 V8.0 Upgrades
When PROFIBUS DP failure alarms (such as ET 200M station dropout or rack failure) do not appear in WinCC Alarm Logging after upgrading to PCS 7 V8.0 SP2, the fault is caused by desynchronized AS-OS message data, missing module driver generation, or WinCC AlarmControl filter settings. In PCS 7 V8.0, diagnostic alarms are created by system block OB_DIAG1 and assigned to the 'Process Control System' message class. To restore alarms, open CFC, execute compilation with 'Generate module drivers' enabled, perform a full OS compilation with 'Tags and Messages' checked, and verify that the WinCC AlarmControl display filter includes unacknowledged system messages.
Table of Contents
- Executive Summary
- PCS 7 Diagnostic Alarm Architecture: OB_DIAG1 and WinCC Message Classes
- Root Causes for Missing PROFIBUS Alarms Post-Migration
- WinCC AlarmControl Filter Configurations
- Alarm Diagnostic Pipeline and Parameter Comparison
- Step-by-Step Restoration Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
Following software upgrades from legacy PCS 7 versions (such as V7.1) to PCS 7 V8.0 SP2, operations teams often report that critical hardware failure alarms—specifically PROFIBUS DP slave disconnections, optical link faults, and ET 200M rack failures—no longer trigger visual or audible banners in the WinCC Alarm List. While the field bus physical fault LEDs actuate and I/O values freeze, the operator interface remains silent. This issue originates from desynchronization between the compiled CFC module drivers and the WinCC Alarm Logging database schema, or from unintentional message class filtering in modernized WinCC AlarmControl templates. This guide details the technical pathway required to regenerate diagnostic drivers and restore alarm annunciation.
PCS 7 Diagnostic Alarm Architecture: OB_DIAG1 and WinCC Message Classes
In SIMATIC PCS 7, peripheral bus faults are detected by CPU organization blocks (OB82 for diagnostic interrupts, OB86 for rack/substation failures, and OB122 for I/O access errors). When the CFC Driver Generator processes the hardware configuration, it automatically inserts system diagnostic blocks:
- OB_DIAG1 (FB118): Monitors cyclic execution and OB interrupt events, constructing diagnostic messages.
- MOD_D1 / MOD_HA: Evaluates channel health and module status words.
- RACK / SUBNET: Evaluates master system availability and transmission line integrity.
These blocks transmit structured alarms via ALARM_8P (SFB35) directly into the WinCC Alarm Logging engine under the standardized message class Process Control System Messages (Message Type: AS Dispatch Fault / Maintenance).
Root Causes for Missing PROFIBUS Alarms Post-Migration
Three distinct issues suppress PROFIBUS alarms following an upgrade to PCS 7 V8.0 SP2:
- Bypassed Module Driver Generation: If the AS was compiled using 'Changes Only' without selecting 'Generate module drivers', the compiler maintains outdated driver structures that fail to communicate with updated APL libraries.
- Incomplete OS Compilation: If the Operator Station is compiled without selecting 'Tags and Messages', WinCC retains the previous message table pointers, causing incoming ALARM_8P event packets to be discarded as unassigned raw events.
- AlarmControl Message Filter Overlap: Modern WinCC V7.2 AlarmControl objects introduce user filter configurations. If the operator screen filter is configured to show only 'Process Alarms' (Class 1), system messages (Class 10) are hidden.
WinCC AlarmControl Filter Configurations
The WinCC AlarmControl object (@alarmline.pdl and @screen.pdl) evaluates runtime message classes. To verify visibility:
- Open the AlarmControl properties in Graphic Designer.
- Navigate to Message Lists > Selection.
- Ensure that message classes
System, requires acknowledgmentandProcess Control Systemare checked. - Verify that SQL filter strings do not contain restrictive criteria (e.g.,
CLASS IN (1, 2)).
Alarm Diagnostic Pipeline and Parameter Comparison
The following table compares the diagnostic blocks, message classes, and compilation settings governing bus alarms:
OB_DIAG1 / RACKMOD_D1 / MOD_HAPcs7DiIn connected to hardwareSUBNETStep-by-Step Restoration Procedure
Method 1: Regenerating Module Drivers in CFC
- Open the target AS project in SIMATIC Manager.
- Open any CFC chart and select Chart > Compile > Charts as Program.
- In the compilation dialog, select the radio button Entire program.
- Check the box Generate module drivers.
- Click OK to execute compilation. Verify in the compilation log that
OB_DIAG1and related driver blocks are compiled without errors.
Method 2: Compiling OS Messages and Verifying AlarmControl
- In SIMATIC Manager, select the OS object under the target PC Station.
- Right-click and choose Compile.
- In the OS Compilation Wizard, select Tags and messages and ensure the connection to the AS is checked.
- Execute the OS compilation and verify that message generation completes with 0 errors.
- Open WinCC Explorer, launch Alarm Logging, and confirm that messages for
OB_DIAG1are populated. - Open the main alarm screen in Graphic Designer, check the AlarmControl selection filter, and save the picture.
Verification
To verify that PROFIBUS DP failure messages are annunciated correctly:
- Simulation / Physical Test: Disconnect the PROFIBUS Sub-D connector from an ET 200M remote I/O station (or simulate OB86 via S7-PLCSIM).
- Alarm Banner Inspection: Confirm that an incoming alarm appears immediately in the WinCC Alarm Banner with text 'Rack Failure' or 'Station Disconnected'.
- Alarm Acknowledgment: Reconnect the bus connector. Confirm that the outgoing event transitions to 'Gone' and clears upon operator acknowledgment.
Limitations and Operational Precautions
- CPU STOP Risk: Performing a full compilation with 'Generate module drivers' may alter OB execution orders. Delta downloads are typically supported, but verify that the CPU does not require a cold restart.
- Third-Party GSD Modules: Standard module drivers cannot evaluate proprietary diagnostic structures of third-party DP slaves unless customized diagnostic blocks or generic
MOD_PALblocks are implemented. - System Message Flooding: In plants with marginal physical cabling, flapping PROFIBUS drops can generate alarm storms. Ensure alarm suppression or flutter suppression is parameterized in the channel drivers.
Engineer FAQ
Why did PROFIBUS failure alarms work in V7.1 but disappear after upgrading to V8.0?
In V8.0, message numbers and APL driver blocks were updated. If the OS is not compiled with 'Tags and Messages' after generating module drivers, the OS retains stale message pointers.
Can I generate module drivers for a single CFC chart?
No. Module driver generation is a global system compilation process that evaluates the entire hardware configuration and all CFC charts simultaneously.
Where are OB86 rack failure events logged if WinCC is offline?
Events are retained in the CPU circular Diagnostic Buffer, accessible via SIMATIC Manager under PLC > Module Information > Diagnostic Buffer.
Technical References
- Siemens Industry Online Support Entry ID 109760968: SIMATIC Process Control System PCS 7 Advanced Process Library Manual
- Siemens AG: SIMATIC PCS 7 Operator Station OS Configuration Manual (Doc No. A5E03419561)
- Siemens Industry Online Support Entry ID 109780813: SIMATIC PCS 7 System Guidelines for Fault-Tolerant Systems
Related Articles
- https://industrialautomation.net/search?query=pcs7+generate+module+drivers+ob_diag1
- https://industrialautomation.net/search?query=wincc+alarm+logging+missing+system+messages
- https://industrialautomation.net/search?query=profibus+dp+rack+failure+ob86+diagnostics
Related Tags
- https://industrialautomation.net/search?query=simatic-pcs7
- https://industrialautomation.net/search?query=profibus-dp
- https://industrialautomation.net/search?query=wincc-scada
- https://industrialautomation.net/search?query=alarm-logging