An OPC UA Subscription groups several MonitoredItems and publishes value changes periodically (PublishingInterval typically 100-1000 ms); the server keeps a buffer of unacknowledged notifications for reliability.
True
Subscriptions are the optimised push mechanism of OPC UA. A MonitoredItem points at a node attribute and carries its own sampling interval and deadband. A Subscription groups N MonitoredItems and is configured with a PublishingInterval. The client periodically sends PublishRequests and the server returns the accumulated notifications. The KeepAliveCount and LifetimeCount counters handle client inactivity and prevent server-side memory leaks. The result is one network transaction for hundreds or thousands of value changes, far cheaper than individual Reads.
Always size LifetimeCount as at least three times KeepAliveCount, otherwise a transient network glitch will drop the subscription and force a costly resubscribe of every MonitoredItem.
OPC UA bank in preparation
The full OPC UA bank isn't available yet. Drop your email to get notified at launch and grab an early-bird discount.
Join the waitlist →See the 9 other OPC UA practice questions
Related questions
- What is the complete format of an OPC UA NodeId?2. NodeIds · NodeId-Format
- Which Security Modes does an OPC UA SecureChannel support per the standard?4. Security · SecureChannel-Modi
- OPC UA uses X.509 certificates to authenticate applications (both client and server): each application holds its own certificate, and trust is established mutually through the exchange that happens during the SecureChannel handshake.4. Security · Zertifikate
- OPC UA Pub/Sub supports several transports: UDP multicast (lowest latency, machine-to-machine), MQTT (cloud-friendly via broker) and AMQP (enterprise messaging), making it adaptable to a wide range of use cases.9. Pub/Sub · Transport-Optionen
- OPC UA Pub/Sub supports two encodings: Binary (compact and fast, about 30% of the payload size of JSON) and JSON (human-readable, debug-friendly, easy to integrate with web and REST stacks). The choice depends on the performance versus interoperability trade-off.9. Pub/Sub · JSON- vs. Binär-Encoding