HeatCool2Linear (FB)¶
FUNCTION_BLOCK HeatCool2Linear
Support for 6-way-valves - map a heat / cool sequence (tuple operation mode / valve setpoint) to an “change over” control signal 2..10V / 0..10V.
Some 6-way-valves do have a a combined “change over” control signal 2..10V / 0..10V but no operation mode input - see ValveSixWay. HeatCool2Linear does the mapping of the tuple operation mode / valve setpoint to such an “change over” control signal 2..10V / 0..10V.
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLTRUE
Enable
rInREALInput control signal (0..100%).
eModeHeatCoolOperationMode.UNUSED
Operation mode.
xSeq1CoolBOOLTRUE
Sequence selection: xSeq1Cool:=TRUE => sequence 1 does the cooling (sequence 2 does the heating) - xSeq1Cool:=FALSE => vice versa
rSeq1BeginREAL2.0
Sequence 1 begin.
rSeq1EndREAL4.66
Sequence 1 end.
rSeq2BeginREAL7.33
Sequence 2 begin.
rSeq2EndREAL10.0
Sequence 2 end.
Output
rOutREALControl signal
xErrorBOOLError - r*End = r*Begin or rSetpt out of range 0..100%.
eErrorIDError ID