Introduction

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

A filter is the sum of the conditions applied to various attributes.

In every tab, it is standard for all variable instances or data types to be shown.

The various filters you have defined are saved when the data editor is closed and restored when it is opened again.

At a Glance

The filter parameterization in the data editor is determined depending on the tab chosen. Description of the Data editor different fields depending on the tab:

Area

In which table is it available ?

Purpose

Button

All tabs

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

Button

All tabs

Clicking on this button opens the Filtering data dialog box where you can define the conditions for the individual attributes.

Button

All tabs

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

Name

All tabs

Field where the name (symbol) of the instance or the data type you want to display can be entered. You can use the place holder (* or ?) for this.

EDT

Variables tab

The enabled check box authorizes the display of the Elementary Data Types (EDT).

EFB

Function Blocks tab

The enabled check box authorizes the display of the Elementary Function Blocks (EFB).

DDT

Variables tab

The enabled check box authorizes the display of the Derived Data Types (DDT).

DFB

Function Blocks tab

The enabled check box authorizes the display of the Derived Function Blocks (DFB).

IODDT

Variables tab

The enabled check box authorizes the display of the Derived Data Types (DDT) that reference inputs/outputs (IODDT).

Device DDT

Variables tab

The enabled check box authorizes the display of the Derived Data Types (DDT).

The dialog box Filtering data

The dialog box Filtering data makes it possible to:

  • view the current filter conditions,

  • change the current filter conditions,

  • define new filter conditions.

NOTE: The contents of the Filtering data dialog box depends on the tab from which it was called.

Description of the dialog box columns Filtering data

Description:

Column

Description

Name

This column contains the attributes for the (Variables, DDT Types, Function Blocks or DFB Types) tab used to open the dialog box.

Check the box for the attributes that you want to filter.

Condition

The column allows you to define the filter condition for every attribute.

Inverted

Using this checkbox you can invert the filter condition for the attribute in question.

Options for defining a filter for Variables:

Name

Condition

inverted disabled

inverted enabled

Comment

Free text

e.g. *motor*

All variables whose comment attribute contains the word Motor are filtered.

All variables whose comment attribute does not contain the word Motor are filtered.

Type

Free text

e.g. Int

All variables of data type Int are filtered.

All variables not of data type Int are filtered.

Alias of

Yes

All variables defined as an alias are filtered.

All variables not defined as an alias are filtered.

Value

User defined

All variables defined with an initial value are filtered.

All variables not defined with an initial value are filtered.

Constant

Yes

All variables defined as constants are filtered.

All variables not defined as constants are filtered.

Custom

Free text

e.g. *HMI*

All variables are filtered if their user-defined text (free text for use in an external tool or for special user requirements) contains the word HMI.

All variables whose user-defined text does not contain the word HMI are filtered.

Used

>0

All variables used in the project are filtered.

All variables not used in the project are filtered.

Owner

Free text

e.g. \2.1\*

All variables which owner begins with \2.1\ are filtered.

All variables which owner doesn’t begin with \2.1\ are filtered.

Address

Free text

e.g. %MW1

All variables with the address %MW1 are filtered.

All variables that do not have the address %MW1 are filtered.

Global data

Yes

All variables defined as global data are filtered.

All variables not defined as global data are filtered.

Save

Accept

All variables that accept saving and restore operations are filtered.

All variables that do not accept saving and restore operations are filtered.

HMI variable

Yes

All variables defined as HMI variable are filtered.

All variables not defined as HMI variable are filtered.

Time stamping

Free text

e.g. Both edges

All variables which Time stamping attribute is Both edges are filtered.

All variables which Time stamping attribute is not Both edges are filtered.

Scanned Variables

Yes

All variables defined as Scanned Variables are filtered.

All variables not defined as Scanned Variables are filtered.

Exchange On STBY

Yes

All variables defined as Exchange On STBY are filtered.

All variables not defined as Exchange On STBY are filtered.

Retain

Yes

All variables defined as Retain Variables are filtered.

All variables not defined as Retain are filtered.

Options for defining a filter for DDT types:

Name

Condition

inverted disabled

inverted enabled

Comment

Free text

e.g. *Motor*

All DDT types whose comment attribute contains the word Motor are filtered.

All DDT types whose comment attribute does not contain the word Motor are filtered.

Options for defining a filter for Function Blocks:

Name

Condition

inverted disabled

inverted enabled

Comment

Free text

e.g. *Motor*

All function blocks whose comment attribute contains the word Motor are filtered.

All function blocks whose comment attribute does not contains the word Motor are filtered.

Diag

Accept

All function blocks that accept the attribute Diag are filtered.

All function blocks that do not accept the attribute Diag are filtered.

Type

Free text

e.g. TON

All function blocks of type TON are filtered.

All function blocks not of type TON are filtered.

Custom

Free text

e.g. *HMI*

All function blocks are filtered if their user-defined text (free text for use in an external tool or for special user requirements) contains the word HMI.

All function blocks whose user-defined text does not contain the word HMI are filtered.

Used

>0

All function blocks used in the project are filtered.

All function blocks not used in the project are filtered.

Owner

Free text

e.g. \2.1\*

All function blocks which owner begins with \2.1\ are filtered.

All function blocks which owner doesn’t begin with \2.1\ are filtered.

HMI variable

Yes

All function blocks defined as HMI variable are filtered.

All function blocks not defined as HMI variable are filtered.

Exchange On STBY

Yes

All function blocks defined as Exchange On STBY Variables are filtered.

All function blocks not defined as Exchange On STBY are filtered.

Retain

Yes

All function blocks defined as Retain Variables are filtered.

All function blocks not defined as Retain are filtered.

Options for defining a filter for DFB types:

Name

Condition

inverted disabled

inverted enabled

Comment

Free text

e.g. *Motor*

All DFB types whose comment attribute contains the word Motor are filtered.

All DFB types whose comment attribute does not contain the word Motor are filtered.

Diag

Accept

All DFB types that accept the attribute Diag are filtered.

All DFB types that do not accept the attribute Diag are filtered.

Protection

Protected

All protected DFB types are filtered.

All non-protected DFB types are filtered.