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 |
|||
B |
Execute |
BOOL |
FB operates on rising edge. |
B |
SubscriptionHdl |
DWORD |
Subscription handle. |
B |
PublishingEnable |
BOOL |
Activates the publishing. |
B |
Priority |
BYTE |
Priority of the Subscription in the server relative to the other Subscriptions created by this client. |
B |
Timeout |
TIME |
Time to response. |
VAR_OUTPUT |
|||
B |
Published |
BOOL |
Indicates, that variables have been published since the previous call. |
B |
Done |
BOOL |
FB has completed its task. |
B |
Busy |
BOOL |
The FB is not finished and new output values are to be expected. |
B |
Error |
BOOL |
Signals that an error has occurred within the FB. |
B |
ErrorID |
DWORD |
Error code. |
VAR_IN_OUT |
|||
B |
PublishingInterval |
TIME |
Publishing 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 |
|
|
||
BOOL |
|
Execute |
|
Published |
|
BOOL |
DWORD |
|
SubscriptionHdl |
|
Done |
|
BOOL |
BOOL |
|
PublishingEnable |
|
Busy |
|
BOOL |
BYTE |
|
Priority |
|
Error |
|
BOOL |
TIME |
|
Timeout |
|
ErrorID |
|
DWORD |
TIME |
|
PublishingInterval |
|
PublishingInterval |
|
TIME |
|
|
|
|
|
|
|