OPC UA sampling publishing interval revised rate - PLC Playground troubleshooting guide

OPC UA Publishing Is Fast but Values Still Lag? Check Sampling

A fast subscription publishing interval does not guarantee equally fast source sampling. Inspect the actual revised sampling interval and underlying device update rate before increasing client requests.

OPC UA service model; server and device capabilities determine actual timing.

What is happening?

Monitored items have sampling behavior, while subscriptions deliver notifications on a publishing schedule. Servers can revise requested settings to supported values. The source itself may update more slowly than either requested interval.

Check these five things

  1. Record requested and revised monitored-item settings.

  2. Check subscription publishing interval separately.

  3. Identify the source device update rate.

  4. Compare source and server timestamps where meaningful.

  5. Test the complete path with a known changing value.

Worked example

A teaching client requests publishing every 50 ms, but its monitored item is sampled every 500 ms and the device refreshes every second. More frequent publishing cannot manufacture new source measurements. The slowest relevant stage remains part of the observed delay.

Quick diagnostic reference

Stage Inspect
Device Source update
Monitored item Revised sampling
Subscription Publishing
Client Display processing

The mistake to avoid

Requesting the fastest possible rate everywhere can increase load without improving useful information. Choose rates from the measurement and application requirement.

How to verify the fix

Verify update age and load under representative activity. Save the revised settings returned by the server rather than documenting only what the client requested.

Field-work boundary: These are educational diagnostic guides. Use the exact equipment manuals and approved site procedures. Electrical testing and machinery changes belong to qualified, authorized personnel; control hazardous energy and validate affected functions before release.

Technical reference

OPC Foundation: MonitoredItem services. The examples and diagnostic tables above are original teaching material; they do not replace the product manual.

Continue troubleshooting

Previous Post