Movicon Help on Line - Rel. 11.7.1301
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'.
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)
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:
Variable Value: displays the variable's current value
Variable Min. Value: displays the variable's minimum value statistic
Variable Max. Value: displays the variable's maximum value statistic
Variable Average Value: displays the variable's average value statistic
Variable Total Time ON: displays the statistic value which indicates how long the variable remained at a value other than zero. In this case the value is shown in days, hours, minutes and seconds
Daily Variable Min. Value: displays the variable's minimum value statistic on a daily basis
Daily Variable Max. Value: displays the variable's maximum value statistic on a daily basis
Daily Variable Average Value: displays the variable's average value statistic on a daily basis
Daily Variable Total Time ON: displays the statistic value which indicates how long the variable remained at a value other than zero on a daily basis. In this case the value is shown in days, hours, minutes and seconds
Weekly Variable Min. Value: displays the variable's minimum value statistic on a weekly basis
Weekly Variable Max. Value: displays the variable's maximum value statistic on a weekly basis
Weekly Variable Average Value: displays the variable's average value statistic on a weekly basis
Weekly Variable Total Time ON: displays the statistic value which indicates how long the variable remained at a value other than zero on a weekly basis. In this case the value is shown in days, hours, minutes and seconds
Monthly Variable Min. Value: displays the variable's minimum value statistic on a monthly basis
Monthly Variable Max. Value: displays the variable's maximum value statistic on a monthly basis
Monthly Variable Average Value: displays the variable's average value statistic on a monthly basis
Monthly Variable Total Time ON: displays the statistic value which indicates how long the variable remained at a value other than zero on a monthly basis. In this case the value is shown in days, hours, minutes and seconds
Yearly Variable Min. Value: displays the variable's minimum value statistic on a yearly basis
Yearly Variable Max. Value: displays the variable's maximum value statistic on a yearly basis
Yearly Variable Average Value: displays the variable's average value statistic on a yearly basis
Yearly Variable Total Time ON: displays the statistic value which indicates how long the variable remained at a value other than zero on a yearly basis. In this case the value is shown in days, hours, minutes and seconds
Variable TimeStamp: displays the variable's TimeStamp being the date and time the variable was last updated. The default format with which the value is displayed with is composed of the date and time including milliseconds if the project is running on Windows 32/64 bit platforms (milliseconds are not available in Windows CE). To customize this format use the Display's "Value Format" property.
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.
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.
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.
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.
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:
Numeric Variable: if the variable is numeric type, the number set will represent the number of decimal figures after the point. For example, when entering the '2' value in this field, the "x.xx" format will be used. If the set value is negative, the absolute value will be taken, therefore when entering "2" or "-2" the same result will be obtained. If the value is in floating type with decimal figures, the value will be rounded off, for example; an entered "1.4" will be taken as "1" and an entered "1.6" will be taken as "2".
String Variable: if the variable is string type, its format must be one of those provided by the control system which are listed in the paragraph headed "Predefinided Movicon Format" from the section on "Data Formats" (i.e. "x.xx", "%s", etc.).
|
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.