FB-Name

UA_MonitoredItemOperate

This Function Block is designed to be optionally called to check and modify monitored item parameters.

VAR_INPUT

B

Execute

BOOL

On rising edge node information will be read.

B

MonitoredItemHdl

DWORD

Monitored item handle.

B

Timeout

TIME

Time to response.

VAR_OUTPUT

B

ValueChanged

BOOL

Indicates that the value of the monitored item has been changed.

B

TimeStamp

DT

TimeStamp

B

RemainingValueCount

UINT

Number of remaining value changes available for processingThis parameter is for diagnostic purpose and relates to the que size: High numbers indicate that the system is overloaded and should result in reducing the sample rate to faster process incoming MonitoredItems.

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

MonitoringSettings

STRUCT

See 9.1 UAMonitoredSettings (phased out structured data types)

Notes: -

UA_MonitoredItemOperate

BOOL

Execute

ValueChanged

BOOL

DWORD

MonitoredItemHdl

TimeStamp

DT

TIME

Timeout

Done

BOOL

Busy

BOOL

Error

BOOL

ErrorID

DWORD

STRUCT

MonitoringSettings

MonitoringSettings

STRUCT