When sending PLC or OPC UA data to SCADA, keep the applicable quality status and timestamps with each reading. They explain what happened when a connection is interrupted.
Read the whole DataValue
OPC UA DataValue can carry the value, StatusCode, sourceTimestamp and serverTimestamp. StatusCode describes data quality or state. sourceTimestamp comes from the data source, while serverTimestamp reflects when the server received or knew the value.
The timestamps serve different purposes. Document which orders events and which helps diagnose latency. If the source provides no timestamp, record that limitation in the storage design.
A connection loss example
Suppose a screen last received 72.4 °C with good quality. On interruption, it can retain the last reading as a reference and show the loss of communication and last valid reception time. Reports should identify the gap before aggregating.
A slowly changing value may keep the same sourceTimestamp for a long time. Detect stale updates using quality, subscription health or an appropriate heartbeat together. Match the rule to how each variable is updated.
Verify recovery behavior
Test normal data, bad status, missing timestamps and recovery. For each case, record value, status, source time and reception time. After reconnection, check the live value and the way the historical gap is marked.
Clear storage and display rules let operators distinguish measured values from reference values. Retain enough report fields for someone else to verify calculations when exceptions occur.
Reference material
OPC Foundation — OPC UA Part 4, §7.11 DataValue
Need direct help from an engineer? Call 0971028833 or send a request.



























































