FB_BA_View
The function block FB_BA_View is used to create a folder within the project structure.
Illustration
FUNCTION_BLOCK FB_BA_View EXTENDS FB_BA_Object IMPLEMENTS I_BA_View
VAR_INPUT CONSTANT PERSISTENT
{region 'Variable Parameters'}
eNodeType : E_BA_NodeType := E_BA_NodeType.Automatic;
{endregion}
END_VAR
VAR_INPUT CONSTANT
{region 'Operational Parameters'}
bAcknowledgeRm : BOOL;
{endregion}
END_VAR
VAR
{region 'SubInit'}
eDPADMode : E_BA_DPADMode := E_BA_DPADMode.Undefined;
{endregion}
{region 'Events'}
fbActiveEvents : FB_BA_EventIndicator;
{endregion}
END_VAR
Inputs CONSTANT PERSISTENT
Name | Type | Description |
---|---|---|
eNodeType | The variable NodeType describes the folder level within the project structure. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
bAcknowledgeRm | BOOL | Input for local acknowledgement of the events of an object. |
VAR
Name | Type | Description |
---|---|---|
eDPADMode | The variable influences the project structure integrated generation of the user address key. To create the project structure it is mandatory to establish an integrated parent / child relationship within the TwinCAT project. This means that all instances of the function block FB_BA_View must be told from whom they originate. However, the number of levels within the TwinCAT program or symbol path often differs from the number of levels in the user address key. Often there are more levels in the symbol path of the TwinCAT project than in the user address key. It may therefore be necessary to exclude some levels from the concatenation of texts for the generic generation of object names and description texts. This is possible with the enumeration eDPADMode. | |
fbActiveEvents | FB_BA_EventIndicator | Gives information about events of all objects of a View object. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |