FB-Name

UA_SubscriptionProcessed

This Function Block is designed to be optionally called to check if monitored items have been published. The use of the function block depends on the underlying system – see notes.

VAR_INPUT

B

Execute

BOOL

FB operates on each call.

B

SubscriptionHdl

DWORD

Subscription handle.

B

Timeout

TIME

Time to response.

VAR_OUTPUT

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.

B

Published

BOOL

Indicates, that variables have been published since the last call.

Notes: It is expected to use this call, if the underlying system WILL publish the values automatically. Shall not be used together with the function block UA_MonitoredItemOperateList. This call is expected to return with a valid result after it is called. See also 4.2 Monitored Items.

UA_SubscriptionProcessed

BOOL

Execute

Done

BOOL

DWORD

SubscriptionHdl

Busy

BOOL

TIME

Timeout

Error

BOOL

ErrorID

BOOL

Published

DWORD