IMD SolutionComputing LibraryShop main store

Troubleshooting

Why Historian QualityDetail drops below 192 until redeploy

Edge computing and IIoT Published 7 min read By IMD Solution engineering team

Short answer

QualityDetail below 192 while OPCQuality stays good means the path from the AppEngine or IDAS topic into the Historian failed, not the field device. Group the bad tags by engine topic with their first-bad timestamps: a whole topic failing at once is a network or name-resolution fault; scattered tags on a healthy engine are per-tag configuration divergence. A redeploy restores the connection but hides the cause, so use it as a test, not the repair.

On this page
  1. What does a bad QualityDetail on the History screen actually mean?
  2. How do you read QualityDetail and OPCQuality together?
  3. Do the failed tags cluster on one engine or topic?
  4. Is the network path from each AOS node to the Historian node clean?
  5. Why do the logs show nothing when quality goes bad?
  6. What does the redeploy fix tell you about the tag configuration?
  7. How do you confirm the fix end to end?
  8. Questions asked

On a System Platform 2020 R2 application rebuilt beside a System Platform 2012 system that shows no fault, tags whose QualityDetail falls below 192 while their OPCQuality stays good have lost the hop between their engine and the Historian, not the field device. QualityDetail is set by Historian subsystems — the AppEngine integration, IDAS or the server — so a bad value there beside a good source quality puts the failure on that hop. The steps assume one Historian node, one GR node and four AOS nodes carrying the engines, all managed with SMS. You will query both quality columns, group the bad tags by topic and first-bad timestamp, prove or clear the network from each AOS node, then diff failing tags against stable ones. A redeploy restores quality but only rebuilds the connection, so treat it as a test, never as the repair.

What does a bad QualityDetail on the History screen actually mean? #

A QualityDetail other than 192 on a tag whose process value is still changing means a Historian subsystem could not vouch for that row, while OPCQuality carries what the data source itself reported.

Historian keeps Quality as a 1-byte flag summarizing the quality of the associated data value in the packet sent by Application Server, and it splits what it knows across two columns:

Column Set by What it reports
QualityDetail the AppEngine integration, IDAS or the Historian server the health of the path carrying the value into Historian
OPCQuality the data source or its interface the quality the field side reported

That split is the whole diagnostic. When the source column is good and the Historian column is bad, the value reached the engine and then failed somewhere between the engine or topic and the Historian; blaming the IOServer or the PLC wiring at that point sends you to the wrong layer.

How do you read QualityDetail and OPCQuality together? #

Return both columns for the affected tags across the failure window: OPCQuality good beside a bad QualityDetail sends you to the engine-to-Historian hop, and both columns bad send you to the field source first.

The History query over the stored rows is your evidence; the tag names and dates here are examples, so substitute your own:

SELECT DateTime, TagName, Value, QualityDetail, OPCQuality
FROM History
WHERE TagName IN ('Area1.Tag1', 'Area1.Tag2')
  AND DateTime >= '2026-09-29 00:00'
  AND DateTime <= '2026-09-30 00:00'

From the result, record for every bad row:

  • the exact QualityDetail value, because uncertain and bad are different failures;
  • whether OPCQuality stays good in the same rows;
  • the first-bad timestamp per tag.

This step is proven when you hold a list of bad rows with both quality columns side by side. A tag that returns no row at all, rather than a bad-quality row, is a different fault; see why a bad quality update hides Historian values.

Do the failed tags cluster on one engine or topic? #

Group the bad tags by the AppEngine or IDAS topic hosting them: a network fault between an engine node and the Historian turns every tag on that topic bad at one timestamp, while scattered tags on a healthy engine point at per-tag configuration.

Build a table of every bad tag with its engine, its topic and its first-bad timestamp, then read the pattern:

Pattern in the bad-tag table Likely layer Next move
every tag on one engine bad at the same timestamp network or name resolution between that node and the Historian the link and DNS checks below
several engines bad at the same timestamp shared infrastructure: a switch, the Historian node or DNS switch logs and the Historian node event log
individual tags on a healthy engine, different timestamps per-tag history configuration in the rebuilt application diff against the 2012 Galaxy

Illustrative example with made-up counts: your window returns 43 bad rows, and 41 of them share the first-bad timestamp 02:14:07 and belong to engines on a single AOS node. 41 ÷ 43 = 0.95, so 95 percent of the fault is one topic drop, and the two leftover rows go to the per-tag comparison.

Identical timestamps across a whole topic settle the layer question before you touch any configuration. With engines spread over four AOS nodes, a fault confined to one node's engines also clears the other three.

Is the network path from each AOS node to the Historian node clean? #

Prove name resolution and the link from each of the four AOS nodes: with the 2012 and 2020 R2 systems sharing the plant network, duplicate hostnames or addresses, competing DHCP servers, unreliable DNS, bad cabling and unstable wireless links are the first suspects.

Run these checks from every AOS node:

  • Resolve the Historian node name and demand one stable answer every time, for example Resolve-DnsName HISTNODE01 for a Historian node named HISTNODE01.
  • Send 200 pings, for example Test-Connection HISTNODE01 -Count 200; the pass is zero lost, while 3 lost is 3 ÷ 200 = 0.015, a 1.5 percent loss that fails, because a topic drop needs only one bad reconnection.
  • Confirm that no hostname or static address exists on both a 2012 node and a 2020 R2 node, and that exactly one DHCP server answers on each segment.
  • Read the switch port counters and the Windows network adapter events on each AOS node for link-down or reconnect entries near the first-bad timestamps.

This step is proven by zero ping loss, one consistent DNS answer and no adapter events across a window that previously produced bad quality. A topic drop that lines up with an adapter event or a DNS change is your root cause; clean results here move you to configuration.

Why do the logs show nothing when quality goes bad? #

A connection between an engine and the Historian can drop and reconnect without logging an error or warning at the default level, so an empty log never clears the network.

Take the first-bad timestamps from your query and line them up against three sources:

  • the Windows event log on the Historian node;
  • the Windows event log on each AOS node;
  • the ArchestrA logger in SMS.

Look inside one minute of each first-bad row, including entries that look unrelated — time synchronization, an adapter reset, a service restart. This step is proven when every bad-quality event either matches a logged system event or has no correlate at all; a subset of tags failing with no correlate while the network tests are clean sends you to the per-tag comparison next.

What does the redeploy fix tell you about the tag configuration? #

A redeploy restores quality because deployment rebuilds the engine-to-Historian connection for that object's tags, and the Historian documentation records IDAS nodes failing to connect when an existing connection token turns invalid.

That matches your symptom: a registration made at deploy time is not remade at runtime. Use the redeploy as a controlled experiment, and pick a test tag that drives no control action, because redeploying its owning object restarts that object:

  • Note the tag's QualityDetail, redeploy only its owning object — not the whole engine — and see whether that tag alone recovers.
  • Diff the history settings of a failing tag against a stable tag in the same area: history extension, storage method, deadband, scan settings.
  • Compare the same tags in the 2012 Galaxy, which runs the same application without the fault; a difference that exists only in the rebuild is the divergence.
  • Rebuild the failing objects from the same template as the stable ones; if the two groups differ only by template version or a per-instance override, you have named the cause.

This step is proven when you can name the difference — template, override or engine — between failing and stable tags, or you have shown the failures follow a network event instead. Tags that never reach the Historian at all, rather than dropping out, follow a different path; see why Wonderware System Platform tags do not reach Historian. If neither a configuration difference nor a network correlate shows up, open a case with AVEVA Technical Support and attach the bad-row query, the engine grouping and the network test results.

How do you confirm the fix end to end? #

Soak the 2020 R2 system with no redeploys for at least twice the longest interval between failures you recorded, then rerun the History query filtered for QualityDetail other than 192.

Worked example: if the worst gap between failures was 4 days, run 8 days, because 2 × 4 = 8, before you judge the result.

  • The filtered result set must be empty, or every remaining row must line up with a known, intentional outage.
  • OPCQuality must stay good across the same window.
  • The ping and name-resolution test keeps running from each AOS node for the whole soak: zero loss, one consistent answer.
  • Tag counts and values must agree with the parallel 2012 system within expected scan differences.

The fix is proven by an empty bad-quality result across a soak that contains windows which used to fail, backed by clean network tests from every node.

Questions asked

Which QualityDetail values count as good, uncertain or bad?

The good code is 192; 64 is uncertain and 0 is bad. A retrieval quality rule set to GOOD, the wwQualityRule setting, ignores uncertain values in retrieval calculations, so a tag parked at 64 also disappears from trends and reports even though its rows are stored.

Can the parallel 2012 system be causing the dropouts?

Yes, when both systems share a network segment: a hostname or static address duplicated between the old and new nodes, or a second DHCP server answering, breaks name resolution and connection stability for the new engines. Keep the 2012 and 2020 R2 nodes on separate segments or separate address ranges until cutover, and verify each node resolves exactly one address.

Could the IOServer be the cause after all?

Only if OPCQuality is bad too, because that column is set by the source. With OPCQuality good, the IOServer is delivering and the loss sits downstream. If both columns are bad, run the same name-resolution and ping checks on the SuiteLink hop between the engine and its IOServer before touching the Historian.

Should I raise the log level to catch the next dropout?

Yes, as a diagnostic during the soak: set the log level on one engine and on the Historian one step more verbose so a repeat drop is recorded with its timestamp, then return both to default afterward, because verbose logging grows the files quickly. The recorded entry, matched to a first-bad row, is the evidence a clean default-level log could not give you.

Keep reading

  • Troubleshooting

    AVEVA historian trends stop until a TOP Server restart

    When historian trends fed from TOP Server freeze and come back only after a restart, the IDAS SuiteLink topic is not detecting the disconnect: Set To No Timeout disables the reconnect attempt and a very large Timeout delays it. Clear the no-timeout selection, set a finite timeout, and treat the EventService relogon failure for FV_Gas_Process as a separate event-tag login problem.

    Edge computing and IIoT

  • Troubleshooting

    Linking AVEVA Historian to Omron PLC data through IDAS topics

    A topic alone is not the fix. Build the chain: a DeviceSelector and a Device Group in Operations Integration Server Manager against the OMRONFINS device, a Historian topic matching that group for the IDAS and I/O server, then the tag's item address. Prove one test tag end to end before importing the rest.

    Edge computing and IIoT

  • Troubleshooting

    Plant SCADA Connector shows connected but historian tags are NULL

    Connected status on both Connector ends proves the connections, not the reads: with Citect error 29, Bad User Parameters, the driver subsystem rejects the read before any value exists to store. Check the I/O Device special options and the variable tag data types first and leave the historian destination alone.

    Edge computing and IIoT

Ignition 8.3.1 historian skips tags with invalid source timestamps