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
xEnable
BOOL
TRUE
Enable
rIn
REAL
Input control signal (0..100%).
eMode
HeatCoolOperationMode.UNUSED
Operation mode.
xSeq1Cool
BOOL
TRUE
Sequence selection: xSeq1Cool:=TRUE => sequence 1 does the cooling (sequence 2 does the heating) - xSeq1Cool:=FALSE => vice versa
rSeq1Begin
REAL
2.0
Sequence 1 begin.
rSeq1End
REAL
4.66
Sequence 1 end.
rSeq2Begin
REAL
7.33
Sequence 2 begin.
rSeq2End
REAL
10.0
Sequence 2 end.
Output
rOut
REAL
Control signal
xError
BOOL
Error - r*End = r*Begin or rSetpt out of range 0..100%.
eErrorID
Error ID