FB_BA_View

The function block FB_BA_View is used to create a folder within the project structure.
Syntax
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 generation of the user address key integrated by the project structure. 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 FB_BA_View function block 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. |
Methods
Name | Description |
|---|---|
This method is invoked when certain events occur. It counts state changes. | |
Change of an event in a sub-object. | |
This looks up the index of a subordinate object using the object’s interface pointer. | |
This determines the index of an object using the subject identifier. | |
This method looks up a specific object using the known index. | |
This iterates over all subordinate objects. | |
This looks up a subordinate object that matches the specified subject identifier. | |
This resolves an object path that is relative to the current instance. |
Requirements
Development environment | Required PLC library |
|---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |