Variable - configuration window

Setting the properties of one variable.
The window is common to more objects configuration tabs; it differs only for some configurators. From this reason its description is divided according to the configuration tabs.
This configuration window can be opened by the button " > New variable (empty)" or " > Multiple new variables" on the "Data" tab of the data objects.
Configurators of the variable - basic:
NameName of the variable.
The maximum name length is 80 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
This configurator sets the initial value of the Name property.
PathWhole path to PmVar variable.
Data typeData type of the variable. This data type is preserved in the variable and written values are converted into this data type.
The exception is the Variant data type - means that the variable preserves the last written value with its data type. Thus even an array can be stored into the variable (not allowed with the PmRtFree licence).
ValueHere you can define
- the value (expression), that will be assigned to the variable after the application is launched, or
- the data binding to another value.

See Value property and see Data binding of the PmVar object.
Macro expression can be used for input (it is evaluated after the application is launched).
RoundingIf checked, then the value in the variable will be rounded do defined precision on each writing.
It is functional only for numeric data types (Double, Single, Long, Short, Byte).
See also Pm.Round.
PrecisionPositive number indicating precision (number of decimal places or whole places) to round the number to. For example:
0.01 = rounding to hundreths
0.1 = rounding to tenths
0.5 = rounding to five tenths
1 = rounding to whole numbers
10 = rounding to tens
25 = rounding to the closest multiple of 25
NoteNote for better orientation in the application, applicable through the script interface even in the running application.
This configurator sets the initial value of the Note property.
Macro expression can be used for input (it is evaluated after the application is launched).
Configurators of the variable - extended:
The PmVar variable can also contain additional extended configurators based on its placement in a specific object. For the description of all available configurators of the variable for the defined object type (both basic and extended) see corresponding the "Data" tab:
See also:
- PmVar (object)

Pm9.00.15: New "Path" configurator: Whole path to PmVar variable.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.