FB_BA_BV_Op_Val
The template is a switch within a template at plant level.
It is itself a shell that represents the aggregate level and sets the internal binary object at the functional level.
A label is predefined in FB_Init that describes the internal binary object as a "switch", the preselected function is "latching" (E_BA_ToggleMode.eSwitch).
The initialization of the template takes place within the method FB_Init. |
Syntax
FUNCTION_BLOCK FB_BA_BV_OP_Val EXTENDS FB_BA_View
VAR_OUTPUT
fPresentValue : BOOL;
END_VAR
VAR_INPUT CONSTANT
Val : FB_BA_BV_Op;
END_VAR
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |