Functionalities

System Engineering consists of several functionalities.

Navigation attributes

To create a navigation, the corresponding FBs must be provided with attributes. The substructure is only searched for further attributes if they are available. This is necessary, for example, to find symbols for the parameters.

Attributes

Description

'TcHmiSystemEng.Name'

Name of the node. If other variables are in use below this variable, this name is used as the navigation name in the TreeView.

'Packing'

'TcHmiSystemEng.NameArrayIndex'

Name of the array index. If other variables are in use below this variable, this name is used as the navigation name in the TreeView. The [[index]] placeholder can be used to include the array index in the name.

Requires a variable of type array.

'Packing 1'

'TcHmiSystemEng.TreeViewImage'

The TreeViewImage can be used to attach an image file for the TreeView. This image is then added to the navigation in the TreeView at the corresponding position.

'Images/Labeling.svg'

'TcHmiSystemEng.Layer'

The display path for the TreeView can be adjusted by setting the layer. The symbol path from the PLC is used as the default value. By setting the value, the path can be moved upwards in the structure by the set value.

'-2' (Moves the entry point up two levels.)

'TcHmiSystemEng.Visibility'

By setting the visibility, the display path or the corresponding variable can be hidden.

'true'

PROGRAM MAIN
VAR
    {attribute 'TcHmiSystemEng.Name'                 := 'Machine'}
    {attribute 'TcHmiSystemEng.TreeViewImage'        := 'Portal/normal.svg'}
    fbMachine                     : FB_MachineUnit;
END_VAR