Structure of the properties dialog box

The properties dialog box consists of four tabs:

  • General

    Enter the name and the type of access protection of the Program Unit in this tab.

  • Localization

    You can enter the functional module of the Program Unit in this tab.

  • Condition

    You can enter a BOOL or EBOOL variable which can enable/disable the Program Unit in this tab.

  • Comment

    You can enter a comment in this tab.

General tab

Representation of the General tab:

Elements of the General tab:

Element

Description

Name

Enter the name of the Program Unit in this text box.

The name must be unique in the entire project and conform to the general naming conventions.

Protection

Select the type of access protection from this list box.

  • None

    No protection

  • Read-Only

    Write protection

  • No read & write

    Read and write protection

See also Program Unit, Section and Subroutine Protection.

OK

Use this command button to accept the entries and close the properties dialog box.

Apply

Use this command button to accept the entries without closing the properties dialog box.

Localization tab

Representation of the Localization tab:

Elements of the Localization tab:

Element

Description

Task

The task of the Program Unit is displayed in this field.

Functional module

Select the functional module to which the Program Unit is to be allocated to in this list box.

For detail, refer to chapter Functional Modules.

OK

Use this command button to accept the entries and close the properties dialog box.

Apply

Use this command button to accept the entries without closing the properties dialog box.

Condition tab

Display of the Condition tab:

Elements of the Condition tab:

Element

Description

Variable

You can enter variable of BOOL or EBOOL type which can conditionally enable/disable the Program Unit in this tab. The scope to select the variable is a either a global variable, or a public variable or an output parameter of another Program Unit.

In this area, you can enter the following:

  • Name

    • You can directly enter the name of the variable/address or paste it from the clipboard.

    • Use the command button ... to open an instance selection dialog box.

  • Comment

    The comments about the selected variables are displayed in this text box.

Can be forced

This check box indicates whether the selected variable can be forced or not.

OK

Use this command button to accept the entries and close the properties dialog box.

Apply

Use this command button to accept the entries without closing the properties dialog box.

The animation of the activation condition behavior is provided in the project browser. The Program Unit and its sections have activation conditions.

In the project browser, the flag (green for activate, red for inactivate) of the Program Unit and the sections reflect the variable value of the variable used for their activation.

A section under a Program Unit is executed only if the section is activated and the Program Unit is activated.

Case:

Description

The section Start_process is executed and the section Weighing_Material is not executed.

The Program1 is not activated, Start_process and Weighing_Material sections are not executed.

Comment tab

Representation of the Comment tab:

Elements of the Comment tab:

Element

Description

Text box

A comment about the Program Unit can be entered in this text box.

OK

Use this command button to accept the entries and close the properties dialog box.

Apply

Use this command button to accept the entries without closing the properties dialog box.