FB_BA_Vlv
The template is used to control a continuous valve with analog inputs and outputs. It mainly consists of the base class FB_BA_ActuatorAnalog, the anti-blocking protection function Ablk and the AI object Fdb for recording the position feedback from the valve.
The valve is switched on externally by the priorities of the command structure stCmd of the base class FB_BA_ActuatorAnalog or internally by the anti-blocking protection function Ablk.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Syntax
FUNCTION_BLOCK FB_BA_Vlv EXTENDS FB_BA_ActuatorAnalog
VAR_INPUT
bAblkLock : BOOL;
END_VAR
VAR_INPUT CONSTANT
Ablk : FB_BA_AntiBlocking;
Fdb : FB_BA_AI_Raw;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
bAblkLock | BOOL | A TRUE at this input variable interrupts the anti-blocking protection function Ablk. It should be prevented that pumps and valves get an anti-blocking protection pulse at the same time. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
Ablk | Anti-blocking protection. | |
Fdb | Analog input object for logging the position feedback of the valve. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |