ValveContinuous (FB)¶
FUNCTION_BLOCK ValveContinuous IMPLEMENTS IValveContinuous
Continuous valve.
Functionality¶
Simple continuous valve including an optional blocking protection.
Blocking protection¶
If the valve is not opened for a given time tBpMaxOff, open it even if rSetpt = 0.0 for a given time tBpTime and the given position rBpPos.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLTRUE
Enable
rSetptREAL0.0
Setpoint, 0..100(%) - 0% => closed, 100% => open
tBpMaxOffTIMETIME#2880m0s0ms
Blocking protection maximum off time
tBpTimeTIMETIME#0ms
Blocking protection time, set to T#0S to disable blocking protection
rBpPosREAL100.0
Blocking protection position, 0..100(%) - 0% => closed, 100% => open
xResetBOOLFALSE
Reset
itfDateTimeProviderUtil.IDateTimeProviderGlobals.g_dtpDateTimeProvider
Source for the current date and time information in milliseconds since 1.1.1970 00:00:00.000
Output
rSetptOutREALActual setpoint
xErrorBOOLError indication
eErrorIDError ID
itfValveContinuousOutput to connect THIS to other function block inputs
Properties:
Structure: