Skip to content

Question Regarding Subscription class and how datachange_notification works #1413

Answered by AndreasHeine
jordanjj8 asked this question in Q&A
Discussion options

You must be logged in to vote

a opc ua subscription and pubsub are two different things!

https://reference.opcfoundation.org/v104/Core/docs/Part4/5.13.1/

​In simple words:
​A OPC UA Subscription works like a "Mailbox" which gets emptied in a defined interval by the Client. ​The OPC UA Client sends a publishrequest, the server takes all notifications since the last publishrequest and send them in the publishresponse to the client. ​If there is no Notification in the "Mailbox" the Client will get a "keep-alive" back. ​The OPC UA Client can add "MonitoredItems" to the Subscription which will generate Notifications.

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
7 replies
@AndreasHeine
Comment options

@AndreasHeine
Comment options

@jordanjj8
Comment options

@jordanjj8
Comment options

@AndreasHeine
Comment options

Answer selected by jordanjj8
Comment options

You must be logged in to vote
2 replies
@AndreasHeine
Comment options

@AndreasHeine
Comment options

Comment options

You must be logged in to vote
2 replies
@AndreasHeine
Comment options

@jordanjj8
Comment options

Comment options

You must be logged in to vote
1 reply
@AndreasHeine
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants