Display Variable Properties

The 'Variables' properties are used to associate Movicon Real Time DB variables to Display objects. The majority of these properties are the same ones also used in the "Spin", "List" and "Combo Box" objects.

To edit the Variables properties, select the object with the mouse and use the Movicon 'Properties Window'.

 

 

Edit-Box Display Variable

The name of the variable to be displayed or set by means of using the Display object is inserted in this editbox (or selected using the "..." browse button on the right).

 (Also see  "Tag Display" property described in the "Combo Box Variable properties" paragraph)

Value to Display

This property allows you to select the data type to display for the variable associated to the display object through its "Variable Display" property. The options are:

 

 

Total Time ON

When the "Total Time ON" is displayed, the value format is shown for default as follows:

 

d, HH.MM.SS

 

where: d = days, H = hours, M = minutes, S = seconds

 

you can also customize the value to be displayed by specifying the format desired in the display's "Value Format" field. The format may include the following codes:

 

%D = Days

%H = Hours

%M = Minutes

%S = Seconds

 

For example by inserting the format string:

 

%H:%M:%S

 

the display will now show the day value.

 

Displaying Statistical Data

If you wish to display the variable's statistical values you will need to enable the variable's statistics and set the variable as retentive type ("Enable Statistic Data" and "Retentive not Shared" variable properties). Otherwise the variable's current value will always be displayed.

You must also take into account that the variable's statistical data will be zeroed in different ways according to which data type is used.  For further information on this, please consult the section on "Retentive Variables and Statistical Data".

 

Default Structure

See paragraph "Variables Properties" for Drawings and Controls.

 

Min. Variable

The name of the variable whose value will be used as the lowest value which can be set in the 'Variable' is entered in this edit box (or selected with the '...' browse button on the right).  By doing this, the threshold value will become dynamic and, therefore, editable during Runtime.

 

Max. Variable

The name of the variable whose value will be used as the highest value which can be set in the 'Variable' is entered in this edit box (or selected with the '...' browse button on the right).  By doing this the threshold value is made dynamic and therefore editable during Runtime.

 

Password Style Variable

The name of the variable whose value is to be used for enabling the "Password" style property is entered in this edit box (or selected by using the "..." browse button on the right). This means that when this variable has a zero value, the contents in the Display Variable will be made evident. When this value is different from zero the Display Variable contents will be displayed in protected mode with asterisks and not made evident.

 

Format Variable

The name of the variable whose value will be used to determine the display format of the variable associated to the Display is entered in this editbox (or selected using the  "..." browse button on the right). The displayed value format can also be modified during runtime using this variable.  When this field is left empty, the format defined in the "Format Value" property will be used, otherwise the variable's contents will be used.

Numeric variables or string variables can be entered in this field:

 

 

Caution! When using a string variable type make sure that you insert a correctly supported format.  If the string inserted is not in a valid string format, the value will not be displayed correctly.

 

"Byte Array" or "Structure" variable types (inserted as global variables without using a single member) are not supported.  In this case the value will be displayed with the format defined in the "Format Value". property.

 

Enable Var.

See paragraph "Variables Properties" for Drawings and Controls.

 

Status Var.

See paragraph "Variables Properties" for Drawings and Controls.

 

 

See Also