FB_BA_Dmp2P
The template is for the control of a two-point damper with integrated monitoring of both end positions.
It essentially consists of the base class FB_BA_ActuatorCmd for controlling a binary aggregate and collecting all safety-related faults. The two templates MonitOpn and MonitCls are used to monitor the end positions.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Syntax
FUNCTION_BLOCK FB_BA_Dmp2P EXTENDS FB_BA_ActuatorCmd
VAR_OUTPUT
bSwiOpn : BOOL;
bSwiCls : BOOL;
END_VAR
VAR_INPUT CONSTANT
SwiOpn : FB_BA_BI_Raw;
SwiCls : FB_BA_BI_Raw;
MonitOpen : FB_BA_FdbBinary;
MonitClose : FB_BA_FdbBinary;
END_VAR
Outputs
Name | Type | Description |
---|---|---|
bSwiOpn | BOOL | End position "Open" has been reached. |
bSwiCls | BOOL | End position "Closed" has been reached. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
SwiOpn | Binary input object is used to process the limit switch "Open". | |
SwiCls | Binary input object is used to process the limit switch "Closed". | |
MonitOpen | FB_BA_FdbBinary | The template monitors the "Open" end position. |
MonitClose | FB_BA_FdbBinary | The template monitors the "Closed" end position. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |