Introduction

This function makes it possible to "look into" a DFB or subroutine. This makes it possible to see the internal state of the DFB/subroutine when animation is used, or to make changes to the logic very quickly.

NOTE: The only limitation occurs when the displayed variable is in an ARRAY with at least 2 dimensions and when the index is not a constant. In this case an error message is displayed and the variable value can't be displayed.

Refining DFBs

Process the following steps to refine DFBs:

Step

Action

1

Select the DFB.

2

You have the following options to refine DFBs:

  • Use the Services > Refine menu command.

  • Use the Refine menu command from the shortcut menu.

    or

  • Press the Ctrl+Q key combination.

Result: If the DFB contains only one section, this will be opened automatically.

If the DFB contains several sections, a selection dialog is opened.

Example:

3

Select the desired DFB section.

Result: The DFB section is opened.

Note: With nested DFBs, several refine processes are possible, but we should not let open simultaneously the refine editors or it could lead to a wrong data display.

Refining subroutines

Process the following steps to refine subroutines:

Step

Action

1

Select the subroutine block.

2

You have the following options to to refine subroutines:

  • Use the Services > Refine menu command.

  • Use the Refine menu command from the shortcut menu.

    or

  • Press the Ctrl+Q key combination.

Result: The subroutine section is opened.

Note: With nested subroutines several refine processes are possible.