7.17 UA_MonitoredItemOperateList

FB-Name UA_MonitoredItemOperateList
This Function Block is designed to be called to update the values of a list of Variables and the corresponding information in the associated lists like ValuesChanged, TimeStamps and NodeQualityIDs of the control program. The use of the function block depends on the underlying system – see notes.
VAR_INPUT
BExecuteBOOLOn rising edge monitored items will be modified.
BSubscriptionHdlDWORDSubscription handle.
BMonitoredItemHdlCountUINTNumber of valid elements in the array to modify.
BMonitoredItemHdlsARRAY OF
DWORD

Array of monitored item handles.

Length is vendor-specific (MAX_ELEMENTS_MONITORLIST). See Constants of Array Lengths. Shall be the same size than MonitoredItemHdlCount.

VAR_OUTPUT
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.
BNodeErrorIDsARRAY OF
DWORD

Array of DWORD. Contains an error code for each element of the MonitoredItemHdls-Array.

Length is vendor-specific (MAX_ELEMENTS_MONITORLIST). See Constants of Array Lengths Shall be the same length than MonitoredItemHdlCount.

BPublishedBOOLIndicates, that variables have been published since the last call. At least one element of the array of ValuesChanged will be TRUE.
Notes: It is expected to use this call, if the underlying system will NOT update the values automatically. Shall not be used together with the function block UA_SubscriptionProcessed. After the successful execution it is expected, that the values of the Variables and the corresponding information in the associated lists like ValuesChanged, TimeStamps and NodeQualityIDs have been updated. See also 4.2 Monitored Items.
UA_MonitoredItemOperateList
BOOLExecuteDoneBOOL
DWORDSubscriptionHdlBusyBOOL
UNITMonitoredItemHdlCountErrorBOOL
ARRAY OF DWORDMonitoredItemHdlsErrorIDDWORD
NodeErrorIDsARRAY OF DWORD
PublishedBOOL