IMD SolutionComputing LibraryShop main store

Troubleshooting

Why Auto deadband style delays Double tag history storage

Edge computing and IIoT Published 6 min read

Short answer

Under Auto, the historian gives Float and Double tags analog compression: a changed value becomes a stored record only when a later sample leaves the compression window, so the newest history row can lag the live value. Set the tag's Deadband Style to Discrete and size the deadband to the change magnitude when every qualifying change must be recorded immediately.

On this page
  1. Confirm which side of the chain is late
  2. What Auto selects for each data type
  3. Why the analog branch holds the newest sample back
  4. Check the discrete deadband against the change magnitude
  5. Worked example: a Double tag stepping from 4 to 5
  6. Applying and verifying the Discrete configuration
  7. Decision summary
  8. Questions asked

When Deadband Style is set to Auto, the historian applies analog compression to Float and Double tags: a changed value becomes a stored record only after a later sample moves outside the compression window. That is why a Double tag can show a current value of 5 while its newest history row still reads 4, and why a copy of the same tag set to Discrete stores 5 immediately. To record every qualifying change as it happens, set the tag's Deadband Style to Discrete and size the deadband to the smallest change magnitude the application must retain.

Confirm which side of the chain is late #

Before changing history settings, separate a live-value problem from a storage-behavior one. The signal passes through the source, the tag system, the historian's storage decision and the history query, and a delay in any of them can look the same in a trend.

  • Read the live tag value, quality and timestamp next to the newest raw historical record. If the live value itself is stale or wrong, the fault is in acquisition, not in the historian.
  • Check the tag's data type. A Float or Double under Auto follows analog behavior; an Integer does not.
  • Check the Deadband Style and Deadband value in the tag's history configuration. An analog deadband can hold the newest sample back; a discrete deadband can reject a change smaller than the threshold.
  • Read raw stored records, not a rendered trend. Interpolation and aggregation in a client can display values that were never stored as rows.

If the live value is correct but history lags behind it, continue with the checks below. If stored records are correct but a client shows something else, fix the query or display configuration instead of touching the historian. Where the underlying problem is that OPC-sourced changes never reach history at all, the symptoms differ; see the article on Ignition historian logging memory tags but not OPC tag changes.

What Auto selects for each data type #

Auto is the default Deadband Style, and it picks between Analog and Discrete based on the tag's data type: Float and Double tags get Analog, other types get Discrete. This is documented behavior of the tag historian, described on the Configuring Tag History page of the Ignition 8.1 user manual.

The consequence is that two tags holding identical-looking values can behave differently. A Double carrying only whole numbers still takes the Float/Double branch, because Auto reads the declared data type, not the current value. Changing the data type to Integer to alter history behavior also changes the numeric representation of the measurement, so prefer selecting the history style directly instead.

  • Float or Double under Auto: analog compression applies. Continue to the next check.
  • Any tag under Discrete: the deadband applies directly to the value. Skip to the deadband check.
  • Integer under Auto: discrete behavior applies, so a delayed record on such a tag has a different cause, such as acquisition or a storage fault, and the Float/Double compression explanation does not fit it.

Why the analog branch holds the newest sample back #

With Analog, the deadband acts as a compression threshold in a modified sliding-window algorithm, the same family of algorithm other historian packages use. The historian keeps an emerging sample as a candidate rather than committing it, and commits it only when a later sample moves far enough that the candidate is needed to represent the trend within the threshold.

That produces exactly the sequence in the reported case: the live value advances to 5, history still shows the older committed point 4, and when the value changes again the previous candidate appears in history. The stored point is chosen for its role in the compressed trend, not because it was the latest live value. Waiting for a sample is normal behavior of this mode, not a fault.

Use Analog when the requirement is to preserve a continuous measurement trend with fewer stored rows. Use Discrete when the requirement is to see every qualifying change as soon as it is acquired. A comparison of the live value against the newest history row is a valid acceptance test for the discrete requirement, not for the analog one. Note that compression is also why stored row counts can grow differently than expected under point limits; the article on the Internal Historian point limit, data loss and backup growth covers that side.

Check the discrete deadband against the change magnitude #

With Discrete, the historian registers a change whenever the value moves more than the specified deadband from the last stored value. The threshold still filters changes after analog compression is removed, so size it deliberately.

Work the comparison in tag engineering units against the deadband's configured interpretation, absolute by default. A change qualifies when the difference from the last stored value exceeds the deadband.

Worked example: a Double tag stepping from 4 to 5 #

Inputs and where each comes from: the tag is a Double with history enabled (reported case); the live value steps from 4 to 5 in engineering units (reported case); under Auto the newest stored row remains 4 (reported case); the deadband default is absolute, applied directly to the tag value (documented in the tag history configuration documentation).

Rule in words: under Auto a Double takes analog compression, so the 5 becomes a stored point only when a later sample leaves the compression window around it. Under Discrete the historian compares the new value with the last stored value and stores the change when the difference exceeds the deadband.

Arithmetic: change magnitude = |5 − 4| = 1 engineering unit.

Result and decision: with Discrete and a deadband smaller than 1 unit, the 1-unit change qualifies and 5 is stored as soon as the tag system acquires it, which is what the Discrete-configured copy of the tag shows. With Auto, storage of 5 waits for a later change, and the committed row stays at 4 until then. Decision: if the application must see the step to 5 immediately, set Deadband Style to Discrete on that tag and keep the deadband below the smallest change magnitude that matters; if the requirement is a compressed trend and a one-step lag is acceptable, Auto is the correct setting.

Applying and verifying the Discrete configuration #

  1. Record the tag's current data type, Deadband Style, Deadband value and deadband mode before editing, so the change can be undone cleanly.
  2. Set Deadband Style from Auto to Discrete on the target tag. Leave the data type as it is.
  3. Set the deadband to the smallest change magnitude the application must retain, in the tag's engineering units, keeping the absolute interpretation unless the application requires otherwise.
  4. Apply a controlled sequence of known values through the normal acquisition path. Use a test tag or an authorized test condition on an operating process rather than forcing a live control input.
  5. Compare each applied change against the raw historical records. Confirm every qualifying change becomes a row on its own, without a later change being needed to release it.
  6. Re-check after the first real process excursion: if records appear as expected through a genuine value swing, the configuration is settled.

If a qualifying change is acquired but still missing, the cause is not the deadband style any more; check historian storage diagnostics and acquisition health before adjusting settings again. Avoid tuning the threshold while watching only a rendered trend, because interpolated display values can make the storage test misleading.

Decision summary #

  • Float or Double, trend fidelity matters, one-step storage lag acceptable: keep Auto.
  • Float or Double, every qualifying change must be stored as it is acquired: set Discrete, deadband below the smallest required change magnitude.
  • Integer or other non-floating type under Auto: already discrete behavior; investigate acquisition or storage for delayed rows, not the deadband style.

Questions asked

Does the Auto deadband style use analog compression for every Float and Double tag, even one holding whole numbers?

Yes. Auto picks the style from the tag's data type, not from the values the tag carries. A Double that currently holds only whole numbers still follows the Float/Double branch and gets analog compression. The fix is to select Discrete explicitly on that tag rather than changing the data type, which would alter its numeric representation.

Why does an Integer tag historize immediately while a Double with the same values does not?

Auto maps Integer and other non-floating types to Discrete behavior, where the deadband is applied directly to the value and a qualifying change is stored at once. The Double gets the modified sliding-window analog compression instead, so its change waits for a later sample to release the candidate point. The data type, not the value pattern, drives the difference.

Can I raise the deadband value to make an analog tag store changes sooner?

No. With analog compression a larger deadband widens the window a sample must exceed before the candidate point is committed, so it generally delays storage further. To reduce the storage delay, set the Deadband Style to Discrete and keep the deadband at or below the smallest change magnitude you must record.

Does switching a tag to Discrete change anything already stored?

No. Existing history rows stay as they were, including any points that compression selected. The new style applies to storage decisions from the change onward. To verify the new behavior, run a controlled sequence of known values through the normal acquisition path and confirm each qualifying change appears as a raw record without a later change being needed.

Keep reading

  • Troubleshooting

    Cut Ignition Tag Historian growth before compressing the table

    A 75 GB Tag Historian table after 2.5 months is a sampling problem, not a compression problem. Raise analog deadbands above instrument noise, set a minimum time between samples, then shorten partitions to about a week and enable pruning. Compressing the existing table changes none of the growth rate.

    Edge computing and IIoT

  • How-to

    Setting historian pruning and retention for Ignition tag history

    Prune tag history on the history provider, not with the transaction group's delete setting: in the Gateway's tag history configuration, enable data pruning and set a retention period in days. At 250 MB per day of growth, 30 days of retention holds about 7.5 GB and a full year about 91 GB. Deadband and Max Time Between Samples decide most of the daily rate, and QC records from transaction groups keep growing on a separate budget.

    Edge computing and IIoT

  • How-to

    Ignition historian deadband threshold timing test

    Historian deadband compression is lossy: two signals can leave the same stored points yet differ in time above a threshold. Capture one analog tag upstream of the deadband, compute the exceedance duration from both records with identical rules, and accept the settings only when the error stays inside your stated limit. The worked example hides a 5 s excursion under a 2 °C deadband.

    Edge computing and IIoT