Creating a function block instance

Carry out the following steps:

Steps

Actions

1

In the Data Editor select the function blocks tab.

2

Double-click the empty cell for Name (marked with an arrow), enter the name of the instance and confirm by pressing the Enterbutton.

3

Double-click on the corresponding Type field and click on
.

The following window appears:

4

In the libraries/families area select the following:

  • the <Applications> directory for a type already in the application,

  • the <Library> directory for an already archived type.

Example: Select an EFB type archived in the Diagnostics library:

5

In the Name column select the EFB or DFB type and confirm with OK.

Example:

Deleting a function block instance

Instances that are accessed at least once cannot be deleted in the data editor.

Example from an ST section:

FBI_1(IN:=TRUE, OUT=>VarA);

The application explained above will block the deletion because FBI_1 is accessed.

VarA:=FBI_1.OUT

The application explained above will not block the deletion because FBI_1 is not accessed.