10.9 UA_MonitoredItemOperate

FB-Name UA_MonitoredItemOperate
This Function Block is designed to be optionally called to check and modify monitored item parameters.
VAR_INPUT
BExecuteBOOLOn rising edge node information will be read.
BMonitoredItemHdlDWORDMonitored item handle.
BTimeoutTIMETime to response.
VAR_OUTPUT
BValueChangedBOOLIndicates that the value of the monitored item has been changed.
BTimeStampDTTimeStamp
BRemainingValueCountUINTNumber of remaining value changes available for processing
This 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.
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.
VAR_IN_OUT
BMonitoringSettingsSTRUCTSee 9.1 UAMonitoredSettings (phased out structured data types)
Notes: -
UA_MonitoredItemOperate
BOOLExecuteValueChangedBOOL
DWORDMonitoredItemHdl TimeStampDT
TIMETimeout DoneBOOL
BusyBOOL
ErrorBOOL
ErrorIDDWORD
STRUCTMonitoringSettingsMonitoringSettingsSTRUCT