Industry Applied

Global industry.
Applied in Australia & New Zealand.

The OPC UA server sampled a short event. Why did the historian miss it?

Compare sampling, queue capacity and publishing time. A real transition can be sampled and still be replaced before delivery.

Industry Applied Editorial Published 2 min read

Monitoring equipment beside a factory conveyor. AI-generated editorial illustration.
AI-generated editorial illustration by Industry Applied · Industry Applied editorial artwork

An OPC UA monitored item can sample changes faster than its subscription publishes notifications. If the monitored item keeps only the latest change, a transition can enter the queue and then be replaced before the client receives it. Faster sampling alone cannot preserve every short event.

Follow one second of activity

Take a simplified example with an observed initial low value. Between two publishes, the sampled state changes high at 0.2 s, low at 0.4 s, high at 0.6 s and low at 0.8 s. With a one-value queue, the last low can be the only value available at the next publish. A queue holding the most recent two changes could deliver high and low. With room for all four under the assumed settings, all four can be retained.

The model assumes four reportable changes, discard-oldest behaviour where relevant, no earlier queued item and no other delivery limit.
Figure 1. The model assumes four reportable changes, discard-oldest behaviour where relevant, no earlier queued item and no other delivery limit. Original figure by Industry Applied Editorial. Illustrative data.

Worked data

Available queue slots

Changes generated

Changes retained

1

4

1

2

4

2

4

4

4

Download the figures in this worked example (CSV)

Inspect the settings the server actually revised

Read the monitored item’s revised sampling interval and queue size, the discard policy, applicable data-change filter and the subscription’s publishing interval. An application’s requested values may differ from the values a server supports. Examine overflow indications where the configuration exposes them, then check whether the downstream historian applies another filter or aggregation step.

This is a history-preservation question, not proof of the physical event’s duration. A pulse entirely between samples can be missed before queueing is relevant. An application that must count every transition may need an appropriate event or counter at the source. Use an approved replay or offline test signal to distinguish acquisition, queueing, delivery and historian storage without affecting a production process.

Sources

OPC Foundation · Monitoring parameters and queue size

Cover illustration by Industry Applied, generated with AI. Monitoring equipment beside a factory conveyor.

Related reading

Distinguishing observation time and gateway receipt

0 views0 comments

Comments