FB_BA_Swi2P
Two-point switch
Functional description
The function block FB_BA_Swi2P is a two-point switch with one switch-on point and one switch-off point.
A general function block enable can be implemented at input bEn. The output bQ is FALSE as long as bEn is FALSE. The direction of action of the block depends on the relative position of the switch-on/switch-off points.
If the switch-on point is greater than the switch-off point, the direction of action is direct/synchronous (cooling mode).
Is the switch-off point is greater than the switch-on point, the direction of action is direct/reversed (heating mode).
Inputs/outputs
VAR_INPUT
bEn : BOOL;
rIn : REAL;
rOn : REAL;
rOff : REAL;
bEn: general enable of the function block
rIn: input value
rOn: switch-on point
rOff: switch-off point
VAR_OUTPUT
bQ : BOOL;
bQ: control output
Requirements
Development environment | Target system | required library | required supplement |
---|---|---|---|
TwinCAT 2.11 R3/x64 | PC/CX | TcBA library from V1.0.0 | TS8040 | TwinCAT Building Automation from V1.0.0 |