Internal variables

Internal variables are only available in QuickHMI and can only be used there. External variables are used for communication with external data sources.

You can create internal variables as local or global variables. Local variables refer to a selected client on the server. Global variables are aimed at all clients on the server.

This means that changes to local variables only affect the client on which the change was made. Changes to global variables, on the other hand, are visible to all clients.


You can display system variables using a checkbox.


Add internal variables

To create an internal variable, select the + button.

Then select all specifications for the variable, such as “Name“, “Data type” and “Value“. The value represents the initial value of the variable.

Click on “Add” to create the variable.

If you do not want to create any more variables, “Close” the window.

All created variables appear in detail in the table. The start value of the individual variables is also displayed here.


Edit or delete internal variables

To edit or delete a created variable, select the desired variable and then interact with the corresponding buttons.

Alternatively, you can also double-click (edit) or use the Del key (delete).


Data types:

Data typeExplanation
BooleanTrue/False
DateTime64bit timestamp
Byte8bit signed
Short16bit signed
Integer32bit signed
Long64bit signed
UByte8bit unsigned
UShort16bit unsigned
UInteger32bit unsigned
ULong64bit unsigned
Float32 Floating point number
DoubleFloating point number
ColorColor

Address syntax for internal variables for quick entry

Internal variables can also be added with a quick entry.

A variable with a single field entry can be created here using the correct syntax.

In general, the following syntax applies:

  • [Data type]

Data types:

AbbreviationDescription
XBoolean
I2Short
I4Integer
I8Long
FFloat
SString

System alarm variables

As of QuickHMI Hawk, there are 3 new internal alarm variables:

  • active_message_alarm_count
  • active_warning_alarm_count
  • active_error_alarm_count

In the previous versions, there was only the variable “active_alarm_count“. This shows how many alarms are generally active, but there is no subdivision of the alarm types.

In the variables mentioned above, the number of alarms is broken down by alarm type. This means you can immediately see how many messages, warnings and errors there are.