Overview

To purge unused instances of EDTs, EFBs and DFBs the Data Editor tabs provide the respective context menus.

Purge Unused Variable

The purge depends on the check boxes (EDT, DDT, IODDT and Device DDT), i.e. only the visible data (of checked types) will be purged.

Step

Action

1

Select the Variables tab of the Data Editor.

2

Right-click any column of the tab.

3

Select the menu command Purge Unused Variables from the context menu.

4

Confirm with Yes.

Result: The unused data will be purged.

Purge DDT Types

NOTE: The purge feature is not available for DDT types.

Purge Unused FB Instances

The purge depends on the check boxes (EFB, DFB), i.e. only the visible data (of checked types) will be purged.

Step

Action

1

Select the Function Blocks tab of the Data Editor.

2

Right-click any column of the tab.

3

Select the menu command Purge Unused FB Instances from the context menu.

4

Confirm with Yes.

Result: The unused data will be purged.

NOTE: When a FFB is not available for a kind of PLC (after a section import for instance) but still in the application (removed from the section but still in the list of the Application FFBs), the purge feature should be used before building the application.

Purge Unused Private Variables/DFB Types

From the context menu of the DFB Types tab two purge operations are accessible.

Step

Action

1

Select the DFB Types tab of the Data Editor.

2

Right-click any column of the tab.

3

Select one of the two menu commands Purge Unused Private Data Instances or Purge unused Types from the context menu.

4

Confirm with Yes.

Result: The unused data will be purged.