Troubleshooting
WinCC event list general interrogation flood: causes and filter
Short answer
Repeated IEC 60870-5-104 general interrogation bursts flood a WinCC event list when unstable bay connections disconnect and trigger full station resynchronizations. Keep real faults visible by adding a dedicated AlarmControl view filtered on a verified process-value or user-text column with MsgFilterSQL, or apply server-side Alarm Hiding on WinCC V6.2 SP2 and later. Treat the display filter as temporary relief while isolating the switch, fiber, or driver drops causing the reconnections.

On this page
- Why do general interrogation events flood a WinCC event list?
- How fast does a bay disconnect fill a WinCC event list?
- Which WinCC AlarmControl field holds general interrogation and not-topical status?
- How do you extend MsgFilterSQL to filter out general interrogation events?
- Can you filter general interrogation events through a user text block instead?
- When should you use WinCC Alarm Hiding or Dynamic Alarm Filter instead?
- Are constant general interrogation storms a WinCC bug or a network fault?
- Questions asked
Stop a WinCC general interrogation (GI) flood from blinding operators by adding a second, filtered AlarmControl view while you fix the unstable relay links behind the storm. Whenever an IEC 60870-5-104 connection drops and reconnects to a SICAM PAS server, every datapoint in the bay refreshes under the station-interrogation cause code and buries live faults. Keep your original unfiltered view for diagnostics, and suppress GI and not-topical rows on the operator screen via MsgFilterSQL, a user text block, or server-side Alarm Hiding.
Why do general interrogation events flood a WinCC event list? #
Whenever an IEC 60870-5-104 TCP link drops and recovers, the substation server sends a Type 100 station interrogation with qualifier QOI = 20, returning every bay point under cause code COT 20 and quickly filling the display list. In a SIPROTEC and SICAM PAS architecture, the burst happens in two stages. After a drop exceeds the supervision timeout—similar to how WinCC Ethernet connection status lags behind a link loss—the server marks existing bay signals not topical. Once TCP reconnects, the server issues command C_IC_NA_1 to rebuild a synchronized process image.
WinCC Alarm Logging records every returned state update as a chronological message row without separating spontaneous trips (COT = 3) from baseline interrogation refreshes. Built-in PAS CC library checkboxes that hide all validity transitions are too broad because they also hide diagnostic quality faults. Where your relays and server support partitioned queries, configuring IEC 60870-5-104 group interrogation support can reduce burst size by splitting points across smaller interrogation groups.
| IEC 60870-5-104 field | Verified code or bit | Meaning | Operator event view |
|---|---|---|---|
| Cause of Transmission | COT = 3 |
Spontaneous event or trip | Keep visible |
| Cause of Transmission | COT = 6 / 7 |
Activation / confirmation | Keep for command audit |
| Cause of Transmission | COT = 8 / 9 / 10 |
Deactivation / confirmation / termination | Keep for command audit |
| Cause of Transmission | COT = 20 |
Station-wide general interrogation | Filter out |
| Cause of Transmission | COT = 21 to 36 |
Interrogation groups 1 to 16 | Filter if group polls flood |
| Quality Descriptor (SIQ/QDS) | Bits 4 (16), 5 (32), 6 (64), 7 (128) |
Blocked, Substituted, Not Topical, Invalid | Filter verified representation |
How fast does a bay disconnect fill a WinCC event list? #
In an illustrative 150-bay substation split across 3 servers (50 bays per server), a single flap dropping 8 bays with 120 interrogated points and 20 not-topical entries each generates 1,120 rows, overflowing a 1,000-message list by 120 events. Because the live view enforces WinCC's 1000-message alarm list limit, burst rate—not archive disk space—pushes active trips off-screen. The per-bay counts below are illustrative example inputs, since real indication totals vary by relay template:
- Server load:
150 bays / 3 servers = 50 bays/server; losing8 baysimpacts8 / 50 = 16%of one server. - Disconnect burst:
8 bays * 20 not-topical entries/bay = 160 entries. - Interrogation burst:
8 bays * 120 GI entries/bay = 960 entries. - Unfiltered overflow:
160 + 960 = 1,120 entries, pushing1,120 - 1,000 = 120 entriesout of the live window from one flap. - Single-bay drop: One bay still writes
1 bay * (20 + 120) entries/bay = 140 entries(14%of the window), so eight staggered drops still overwrite the entire view. - Filtered operator view: Hiding both bursts leaves
8bay-link summary alarms (0.8%of capacity) plus spontaneous faults, preserving992rows.
The operational decision follows directly from that math: never replace the only unfiltered engineering list. Keep the unfiltered control for diagnostics, and add a dedicated filtered operator view so real breaker trips stay visible during a communication fault.
Which WinCC AlarmControl field holds general interrogation and not-topical status? #
The exact slot inside process value blocks PVALUE1 through PVALUE10 or user text blocks TEXT1 through TEXT10 varies by PAS CC build and project template, so you must inspect one live bay reconnection before writing any SQL filter. Per the SIMATIC WinCC documentation, AlarmControl exposes system fields (MSGNR, CLASS, STATE, DATETIME), ten numerical process value blocks typed as Double values by default, and ten user text blocks.
Do not assume another site's slot index or a single quality integer. In a raw IEC 60870-5-104 quality byte, Not Topical is bit 6 (decimal 64), while Invalid is bit 7 (decimal 128) and Blocked is bit 4 (decimal 16); combined flags add together, so Not Topical plus Invalid yields decimal 192. Depending on the PAS CC build, the channel may store raw protocol values, internal numeric flags, or readable text labels instead.
- Duplicate the production AlarmControl onto an isolated engineering test screen so operator consoles stay untouched.
- Temporarily unhide all ten process value blocks and all ten user text blocks in the test control layout.
- Capture one controlled bay disconnect and reconnect alongside a known spontaneous event on a test feeder or during maintenance.
- Note the exact column names and values populated on the spontaneous, not-topical, and station-interrogation rows.
- Open the AlarmControl Configuration Dialog, select
Message lists, thenSelection, thenEdit..., apply your observed criteria, and read the parser-valid SQL string generated underControl PropertiesinDefaultMsgFilterSQL.
How do you extend MsgFilterSQL to filter out general interrogation events? #
Append uppercase AND clauses for your verified field onto the baseline MsgFilterSQL string, using only documented numeric comparisons on Double process value blocks and keeping the original filter intact on a separate diagnostic view. WinCC AlarmControl requires space-separated Field Operator Value syntax, single quotes around text and 'YYYY-MM-DD hh:mm:ss.msmsms' timestamps, and uppercase AND or OR. In the SIMATIC WinCC documentation, STATE accepts only = or IN(...), while process value blocks reject LIKE and permit only >=, <=, =, >, <, and IN(...). A typical WinCC V6.0 / PAS CC 5.11 baseline filter looks like this:
CLASS IN(1, 11, 12, 13, 14, 15, 16, 17, 18)
AND TYPE IN(1, 2, 3, 161, 177, 193, 194, 195, 209, 210, 211, 225, 241, 257, 258, 273, 274)
AND STATE IN(1, 2)
AND PVALUE9 >= 0 AND PVALUE9 <= 65535
As an illustrative example, suppose live inspection confirms that PVALUE3 carries the numeric cause code. Using documented numeric comparisons rather than unverified negation syntax, exclude the station-interrogation code with a two-sided range check—or use IN(...) to allowlist only expected non-interrogation codes:
-- Illustrative example: replace PVALUE3 with the column verified on your system
CLASS IN(1, 11, 12, 13, 14, 15, 16, 17, 18)
AND TYPE IN(1, 2, 3, 161, 177, 193, 194, 195, 209, 210, 211, 225, 241, 257, 258, 273, 274)
AND STATE IN(1, 2)
AND (PVALUE3 < 20 OR PVALUE3 > 20)
AND PVALUE9 >= 0 AND PVALUE9 <= 65535
If your live check also maps not-topical status to a numeric slot, exclude every observed flag combination—or move to a user text block when bit combinations multiply. To toggle the runtime filter from a button without altering the baseline configuration, assign the documented MsgFilterSQL property on your AlarmControl object reference (objAlarmControl) using clearly separated local script variables:
' Illustrative local variables (not WinCC API identifiers)
Dim blnHideGi ' Boolean, initial value True to apply runtime GI filter
Dim strGiFilter ' String, illustrative clause for a verified PVALUE3 slot
blnHideGi = True
strGiFilter = "(PVALUE3 < 20 OR PVALUE3 > 20)"
' Documented WinCC AlarmControl property: MsgFilterSQL ("" clears runtime filter)
If blnHideGi Then
objAlarmControl.MsgFilterSQL = strGiFilter
Else
objAlarmControl.MsgFilterSQL = ""
End If
Prove the filter on the isolated test screen before deploying it: trigger one spontaneous state change and one bay reconnection, compare timestamped rows across the unfiltered and filtered views, confirm the spontaneous trip stays visible while GI rows disappear, and verify that assigning "" to MsgFilterSQL immediately restores the hidden rows.
Can you filter general interrogation events through a user text block instead? #
Yes: when your project writes the transmission cause or topicality label into one of the ten user text blocks, filtering that column with LIKE or equality operators avoids numeric bitmask pitfalls and stays easy for operators to toggle. Unlike Double process value blocks, user text columns support =, IN(...), and LIKE with % wildcards (for example, TEXT1 LIKE '%TI4711%' in the SIMATIC WinCC documentation). Generate the exact exclusion clause inside the AlarmControl Selection dialog so WinCC writes parser-valid syntax for your release.
Choose user text filtering on shared PAS CC projects where baseline process-value SQL changes are restricted, or when combined quality flags produce too many numeric values to exclude reliably. Never lock individual alarms as a workaround: locking suppresses specific alarm numbers statically, hiding genuine spontaneous trips from those bays alongside the interrogation burst.
When should you use WinCC Alarm Hiding or Dynamic Alarm Filter instead? #
Move from per-control SQL filters to server-side WinCC Alarm Hiding on WinCC V6.2 SP2 and later, or the Dynamic Alarm Filter Configurator on modern SICAM SCC installations, when every operator workstation needs identical suppression with full archive retention. Control-level MsgFilterSQL filters apply only to each edited picture, so multi-client stations require manual synchronization. Legacy WinCC V6.0 / PAS CC 5.11 predates native Alarm Hiding, making a filtered view the practical path when an upgrade is deferred.
From that WinCC release onward, Alarm Hiding evaluates criteria at the Alarm Logging server so every client sees the same suppressed list while archived records remain intact. Modern SICAM SCC systems built on SIMATIC WinCC add the Dynamic Alarm Filter (DAF) Configurator specifically for repetitive substation events and reconnection bursts, recording rule changes in C:\ProgramData\Siemens Energy\SICAM SCC\Trace\DAFConfig.log.
| Method | Supported platform | Scope | Archive kept | Best fit |
|---|---|---|---|---|
MsgFilterSQL on verified PVALUE |
WinCC V6.0–V8 / PAS CC | Single AlarmControl | Yes | WinCC V6.0 / PAS CC 5.11 with verified numeric slot |
User text block (TEXT1–TEXT10) |
WinCC V6.0–V8 / PAS CC | Single AlarmControl | Yes | Readable cause/status text or bitmask flags |
| WinCC Alarm Hiding | WinCC V6.2 SP2 and later | Alarm Logging server | Yes | Multi-client sites needing central suppression |
| SICAM SCC DAF Configurator | Modern SICAM SCC on WinCC | Substation HMI service | Yes | Managed suppression of reconnection bursts |
Are constant general interrogation storms a WinCC bug or a network fault? #
Recurring general interrogation floods are almost always driven by unstable relay-to-server links rather than a WinCC Alarm Logging defect, because the substation server must resynchronize every indication point whenever an IEC 60870-5-104 session resets. When bays turn not topical and burst back with station-interrogation updates, WinCC is displaying recovery traffic generated by the communication layer. Diagnose the underlying disconnects in this order:
- Check channel logs: Inspect
PASChannel_System.logandIECChannel_System.logon SICAM SCC hosts—or legacy PAS communication logs—to match bay IP addresses and switch uplinks against link-down timestamps. - Audit managed switches: Verify VLAN separation, multicast filtering, broadcast storm limits, and QoS queue priorities so TCP keep-alives and IEC 60870-5-104 supervisory frames survive traffic bursts.
- Test the physical path: Measure optical fiber attenuation, inspect patch cords and transceivers, and check grounding on the bays dropping most often.
- Check driver and failover triggers: Confirm that server redundancy switchovers or automatic startup interrogations (analogous to the
autoGQsetting in WinCC OA IEC 104 drivers) are not cycling due to process restarts.
Match your fix to what the logs show. On legacy WinCC and PAS CC installations, deploy the filtered operator AlarmControl view immediately so spontaneous trips stay visible, then eliminate the switch QoS or physical link faults driving TCP resets. On upgraded WinCC or modern SICAM SCC systems, move suppression into server-side Alarm Hiding or DAF rules once the network stabilizes so routine bay maintenance does not clutter screens. If channel logs confirm zero TCP drops during a storm, investigate driver restarts, redundancy failovers, and scheduled interrogation timers instead of adding tighter display filters.
Questions asked
What is the difference between COT 20 and COT 21 through 36 in IEC 60870-5-104?
COT 20 identifies responses to a station-wide general interrogation that queries every mapped indication in the relay, whereas COT 21 through 36 identify responses to interrogation groups 1 through 16. If a substation server or gateway uses group interrogations to stagger traffic across bays, filtering only the station-wide code leaves group-interrogation bursts visible in the event list. Inspect a live group refresh before finalizing your filter criteria so you exclude only the interrogation codes your site uses.
How do DefaultMsgFilterSQL and MsgFilterSQL work together in WinCC AlarmControl?
DefaultMsgFilterSQL holds the baseline filter evaluated whenever the screen opens, while MsgFilterSQL applies dynamic runtime criteria from scripts or operator controls. When both properties contain SQL clauses, WinCC evaluates them together with a logical AND rather than letting the runtime property overwrite the baseline. Setting MsgFilterSQL to an empty string clears only the temporary runtime restriction and returns the control to its baseline view, which is useful when an engineer needs to inspect suppressed reconnection traffic.
Do IEC 60870-5-103 and IEC 61850 protection relays cause similar general interrogation floods?
Yes, both protocols perform full state snapshots after communication recovery, though they identify them differently. IEC 60870-5-103 protection relays respond to a master ASDU 7 interrogation command until ASDU 8 marks the end of the cycle. In IEC 61850 Buffered and Unbuffered Report Control Blocks, setting the general interrogation trigger option requests a full data-set snapshot, and enabling ReasonCode in the optional fields stamps each attribute as gi rather than dchg so the SCADA client can separate baseline refreshes from spontaneous changes and clear invalid quality bits.
How do SCADA platforms like Ignition avoid WinCC MsgFilterSQL syntax restrictions?
Instead of parsing a single SQL filter string with strict column-type rules, Ignition Vision and Perspective Alarm Status Tables evaluate a per-row Python extension function named filterAlarm that returns True to show a row or False to hide it. Scripts read built-in fields and custom associated data directly through the event object, which avoids SQL parser restrictions around numeric comparison operators, text wildcards, and negation precedence.

