Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Variable

Description:
Setting the property of one PmVar variable. The window is common to more objects pages; it differs only for some configurators. From this reason its description is divided according to the pages.

This window is opened by pressing the " > New variable"or " > Multiple new variables" button on the "Data" page of the data objects.

Configuration items variables - basic:
NameName of the variable (no diacritics, no spaces, must start with a letter).

This configurator sets the initial value of the property Name.

Data typeData type of a 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 indicating that the variable preserves the last written value with its data type. Thus even an array can be stored in the variable (not allowed with the PmRtFree license).

ValueHere you can define
- the value (expression), that will be assigned to the variable after starting the application, or
- the data binding to another value.

See Value property and see Data binding configuration.

Macro expression can be used for input (it is evaluated after starting the application).

RoundingIf checked, then the value in the variable will be rounded do defined accuracy on each writing.

It is functional only for numeric data types (Double, Single, Long, Short, Byte).

See also Pm.Round.

AccuracyPositive number indicating accuracy (number of decimal 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 project, applicable through the script interface even in the running application.

This configurator sets the initial value of the property Note.

Macro expression can be used for input (it is evaluated after starting the application).

Note:
Configuration items variables - 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" page:

See also:
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice