Introduction

The Data Editor: Variable Type Selection provides the following options:

  • Selection:

    • of derived data types (typical structures/arrays),

    • the function block data types (EFB\DFB),

  • Creating non-typical arrays.

At a Glance

Data Editor: You can access the variables type selection by double-clicking on the Type column and clicking on in the Data Editor.

Depending on the tab used to start the editor for the selection of the data type, one of the following windows is displayed:

Variables:

DDT Types:

Function blocks :

NOTE: Access to the editor for the selection of the data types is not possible via the DFB types tab.

Description of the area Libraries/Families

This area contains directories and subdirectories where various selectable data types are classified.

If you choose one of the directories or subdirectories, the types for the right-hand side of the columns Name/Type/Comment are shown.

  • The directory <Application> shows the data types used in the project:

    • the Derived Data Types (DDT); the checkbox DDT must be enabled.

    • the Derived Function Block (DFB); the DFB checkbox must be enabled.

    • the Derived Data Types that refer to the inputs/outputs (IODDT); the IODDT checkbox must be enabled.

    • the data types for the elementary function blocks (EFB); the EFB checkbox must be enabled,

    • the Device Derived Data Types (DDDT); the Device DDT checkbox must be enabled.

  • the <EDT> directory shows the types for the elementary data,

  • the <GDT> directory shows the types for the generic data,

  • the <Libset> directory that is organized into special libraries contains the families made available by the manufacturer or the functions archived by the user:

    • the Derived Data Types (DDT); the DDT checkbox must be enabled.

    • the data types for the sequence controls (SFC); the DDT checkbox must be enabled,

    • the data types for the derived function blocks (DFB); the DFB checkbox must be enabled,

    • the elementary function blocks (EFB); the EFB checkbox must be enabled,

    • the Device Derived Data Types (DDDT); the Device DDT checkbox must be enabled.

  • the <Catalog> directory that shows the derived data types that reference inputs/outputs (IODDT) from the manufacturer ; the IODDT checkbox must be enabled.

ARRAY checkbox

If this checkbox is enabled, you can use the editor to select the array types to have a single size or several sizes (maximum six dimensions).

Example: Array with two dimensions 10x4 DINT

REF_TO checkbox

If this checkbox is enabled, you can use the editor to create a reference type instance.

Example: REF_TO BOOL

Filtering

You can create filters in the data editor to display the data types according to your requirements.

The Name field is used to enter the name of the data type that you want to display in the Name/Type/Comment area. You can use place holder symbols (* or ?) to carry out multiple search operations.

Clicking on the button updates the display corresponding to the filter term defined in the field Name .

Clicking on this button opens the Filtering data dialog box where you can define various filter attributes.

Clicking on this button inverts the filter. The button changes from = to <> and vice versa.