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
xEnable
BOOL
TRUE
Enable
rSetpt
REAL
0.0
Setpoint, 0..100(%) - 0% => closed, 100% => open
tBpMaxOff
TIME
TIME#2880m0s0ms
Blocking protection maximum off time
tBpTime
TIME
TIME#0ms
Blocking protection time, set to T#0S to disable blocking protection
rBpPos
REAL
100.0
Blocking protection position, 0..100(%) - 0% => closed, 100% => open
xReset
BOOL
FALSE
Reset
itfDateTimeProvider
Util.IDateTimeProvider
Globals.g_dtpDateTimeProvider
Source for the current date and time information in milliseconds since 1.1.1970 00:00:00.000
Output
rSetptOut
REAL
Actual setpoint
xError
BOOL
Error indication
eErrorID
Error ID
itfValveContinuous
Output to connect THIS to other function block inputs
Properties:
Structure: