Tab "Namespaces"

The tab Namespaces (behind the list of the declared variables) enables you to declare the current POU within a →namespace. Moreover, use this tab to see to it that other namespaces are used. Subsequently, other POUs outside of the current namespace can be used within the drawing field .

images/download/attachments/414778222/Namespaces_EN-version-1-modificationdate-1534243062149-api-v2.png

By default, the tab Namespaces is not visible for the FBD-editor. You can make the area visible by the following possibilities (this is to be done per FBD-editor):

  • Click images/download/thumbnails/414778149/FBDHideVarDecl-version-1-modificationdate-1534238178900-api-v2.png (left of the horizontal scroll bar below the drawing field).

  • From the context menu of the drawing field, select Show/Hide and Toggle Variable List.

  • Press Ctrl+L.

If the list of the declared variable is in the foreground, change to the tab Namespaces.

If you want to hide the tab Namespaces (incl. the list of the declared variables), repeat one of the above possibilities for making the area visible.

Components of the tab

Use the fields in the tab Namespaces and/or the context menu to declare POUs within a namespace and to use other namespaces. See "Actions for tab" for a list of possible actions.

Actions for tab

Assigning a namespace to the current POU or changing the assigned namespace

See "Declaring a POU within a namespace".

Viewing/using other namespaces within the current POU

See "Using the list of the used namespaces".

Deleting/removing namespaces for the current POU

See "Deleting/removing namespaces for a POU".