Internal variables

Internal variables are only available in QuickHMI and can only be used in there. To communicate with external data sources, use external variables.

You have the choice between local and global variables. Whereas local variables only refer to a selected client on the server,

global variables are directed to all clients on the server.


Changes to local variables only affect the client on which the change was made. Changes to global variables, are visible for all clients.




Create, edit and delete internal variables

So, select whether you want to create a local or a global variable. Use the corresponding buttons.




Then select all the specifications for the variable, such as "Name", "Data type" and "Value". The value here is the initial value of the variable.


An overview of the different data types can be found below in this chapter.



Click on "Add" to create the variable.


If you do not want to create further variables "Close" the window.




All created variables appear detailed in the table. Here you will also see the start value of the individual variables.





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

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





Data types:

Data type

Definition

Boolean

True / False

DateTime

64bit Time stamp

Byte

8bit signed

Short

16bit signed

Integer

32bit signed

Long

64bit signed

UByte

8bit unsigned

UShort

16bit unsigned

UInteger

32bit unsigned

ULong

64bit unsigned

Float

32 Floating point

Double

Floating point

Color

Color




Address syntax for internal variables

Internal variables can also be added with a fast entry. With a correct syntax, a variable can be created here with a single field entry.


In general, the following syntax applies:


  • [Data type]



Data types: