HVAC_RotaryHeatExchanger (FB)¶
FUNCTION_BLOCK HVAC_RotaryHeatExchanger
HVAC rotary heat exchanger.
Functionality¶
HVAC_RotaryHeatExchanger provides a control strategy for a HVAC rotary heat exchanger taking into account:
control of bypass damper
differential pressure monitoring
optional cleaning operation
malfunction detection
malfunction locking
operational time
The heat exchanger is requested if:
it is enabled (xEnable = TRUE)
setpoint reaches/exceeds request threshold (rSetpt >= rReqTreshold)
optional cleaning operation¶
If the rotary heat exchanger had not been enabled for a given time (tCleanMaxOff) it is enabled and set to rCleanPos for tCleanTime.
malfunction detection¶
If a hardware malfunction is detected via hardware error indication (input) or differential pressure monitor xError is set to TRUE, eErrorID is set to Error.HardwareError.
malfunction locking¶
Malfunction locking makes the difference how to handle / recover from a detected hardware malfunction.
Malfunction locking enabled (xMalFuncLock := TRUE): If a malfunction is detected, the rotary heat exchanger (xOn) is shut off. If the hardware malfunction is gone, xError / eErrorID and rotary heat exchanger shutoff are kept until a reset (xReset := TRUE).
Malfunction locking disabled (xMalFuncLock := FALSE): If a malfunction is detected, the rotary heat exchanger (xOn) is NOT shut off. The rotary heat exchanger recovers from a hardware malfunction automatically.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLTRUE
Enable
rSetptREAL0.0
Setpoint, 0..100(%)
rReqTresholdREAL0.0
Request threshold, 0..100(%)
xDifferentialPressureMonitorBOOLTRUE
Differential pressure monitor - TRUE => signaling proper differential pressure
tCleanMaxOffTIMETIME#2880m0s0ms
Maximum off time to enable cleaning operation
tCleanTIMETIME#0ms
Cleaning operation duration, set to T#0S to disable cleaning operation
rCleanPosREAL100.0
Cleaning operation setpoint, 0..100(%) - 0% => closed, 100% => open
xErriBOOLFALSE
Error indication - rotary heat exchanger is signaling an error
xMalFuncLockBOOLFALSE
Enable the malfunction locking
xOpTimeInitBOOLFALSE
Initialize the operational time with a given value (tInit).
tOpTimeInitLTIMELTIME#0ns
Initialization value
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
xOnBOOLRotary heat exchanger is switched on, bypass dampers closed
rSetptOutREALActual setpoint
tToNextCleanTIMERemaing time to next clean operation
tOpTimeLTIMEOperational time
xErrorBOOLError indication
eErrorIDError ID
Methods:
Structure: