CommandExecutionMonitoring (FB)¶
FUNCTION_BLOCK CommandExecutionMonitoring
Command execution monitoring of of BOOL commands.
This function block does monitor a control device (often an actuator - for example a shut-off valve) if it’s operatig as expected. In case the service indication (or operating-state feedback) of the control device is different than the control signal provided to the control device longer than a given margin time an error is issued.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLTRUE
Enable error detection - xEnable := FALSE doesnt reset detected error
xControlBOOLControl signal
xSvciBOOLService indication
tMarginTIMETIME#5s0ms
Margin time
xResetBOOLFALSE
Reset detected error
itfDateTimeProviderUtil.IDateTimeProviderGlobals.g_dtpDateTimeProvider
Source for the current date and time information in milliseconds since 1.1.1970 00:00:00.000
Output
xErrorBOOLError indication
eErrorIDError ID