Licensing

In addition to the general licensed software metrics, additional metrics are defined for . These metrics are checked during download.

[Important] Important

The metrics are calculated during compile and the current value is displayed in the editor only afterwards.

The determined values refer to one application. When multiple applications exist, the values of the individual applications are added up.

Calculation of the values

Metric

Tags used in visualizations

The value of the metric results from the number of variables used and the type of the visualization element.

Element

Determined Value

Variables

For scalar variables such as INT, WORD, REAL, and STRING, one tag is counted.

In the case of arrays, each index is counted. In the case of structures. each variable in the structure is counted.

All variables are counted only one time, even if they are used in different visualizations.

Local visualization variables and variables in the hotkey configuration are not counted.

Trend, Trace, Histogram, Cartesian XY Chart

For each curve, 100 tags are counted.

Table

For each cell, 1 tag is counted.

All columns and only visible rows are taken into consideration. (number of tags = number of columns x visible cells)

The cells of a template column are counted two times. (Use template option).

Combo Box, Array

For the Variable and for Data array properties, 1 tag is counted.

In addition, one tag is counted for each column in the array.

Alarm Table, Alarm Banner

One tag is counted for each cell.

All columns and only visible rows are taken into consideration.

Frame

Frames are typically used with an interface. If a frame is used with different instances, then the variables of the instances which are used by the frame are counted.

Constants are counted like variables when they are passed to interface variables.

Dialogs

All dialogs which are opened by an input action are counted like a frame reference.

System dialogs are counted with the following number of tags:

  • Number field: 5

  • Keyboard: 5

  • Text input with limitation: 5

  • Login: 5

  • Password change: 5

  • Configuration change: 20

Native controls

All scalar variables are counted.

HTML5 controls

All scalar variables are counted.

Configured constants are counted like variables (colors, fonts, ...)

If the type of the variable is ARRAY oder STRUCT, then the number of tags is calculated depending on the element size. A cell size is defined with a height of 30 pixels and a width of 50 pixels. This can typically be used to display an INT variable. The tags are calculated using the formula (height in pixels / 30 pixels) x (width in pixels / 50 pixels).