10.6 UA_SubscriptionOperate

FB-Name UA_SubscriptionOperate
This Function Block is designed to be optionally called -even cyclically- to check if the variables have been published and to check and modify publishing parameters (enable / interval).
VAR_INPUT
BExecuteBOOLFB operates on rising edge.
BSubscriptionHdlDWORDSubscription handle.
BPublishingEnableBOOLActivates the publishing.
BPriorityBYTEPriority of the Subscription in the server relative to the other Subscriptions created by this client.
BTimeoutTIMETime to response.
VAR_OUTPUT
BPublishedBOOLIndicates, that variables have been published since the previous call.
BDoneBOOLFB has completed its task.
BBusyBOOLThe FB is not finished and new output values are to be expected.
BErrorBOOLSignals that an error has occurred within the FB.
BErrorIDDWORDError code.
VAR_IN_OUT
BPublishingIntervalTIMEPublishing interval (can be changed by the Server revised publishing interval).
Notes: This FB is deprecated and just for backward compatibility – better use UA_NodeGetInformation
UA_SubscriptionOperate
BOOLExecutePublishedBOOL
DWORDSubscriptionHdlDoneBOOL
BOOLPublishingEnableBusyBOOL
BYTEPriorityErrorBOOL
TIMETimeoutErrorIDDWORD
TIMEPublishingIntervalPublishingIntervalTIME