FB_BA_View

FB_BA_View 1:

The function block FB_BA_View is used to create a folder within the project structure.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Object

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

FB_BA_View 2: Inputs CONSTANT PERSISTENT

Name

Type

Description

eNodeType

E_BA_NodeType

The variable NodeType describes the folder level within the project structure.

FB_BA_View 3: Inputs CONSTANT

Name

Type

Description

bAcknowledgeRm

BOOL

Input for local acknowledgement of the events of an object.

VAR

Name

Type

Description

eDPADMode

E_BA_DPADMode

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.

FB_BA_View 4: Methods

Name

Description

 

 

OnObjectEventChange

Change of an event in a sub-object.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0