FB-Name

UA_SubscriptionModify

This Function Block is designed to be optionally called to 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

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: -

UA_SubscriptionModify

BOOL

Execute

Done

BOOL

DWORD

SubscriptionHdl

Busy

BOOL

BOOL

PublishingEnable

Error

BOOL

BYTE

Priority

ErrorID

DWORD

TIME

Timeout

TIME

PublishingInterval

PublishingInterval

TIME