About

The Write Data Variable Action let’s you manipulate the value of a variable. Depending on which of the HMI Data Variable Types you have chosen, you’ll get different options to manipulate this variable.

If you would like to write to a variable of ‣ the action settings will look like this ☝️.

If you would like to write to a variable of ‣ the action settings will look like this ☝️.

PLC and Placeholder – Which One Gets Written To?

While working with the HMI Preview Panel (Content View) you are able to between Data Connection Modes (Preview Panel).

Writing Static vs. Dynamic Values

When writing data variables, you can choose the type of data you would like to write to this variable.

Write a Static Value

screenshot-2023-04-20.Google Chrome.001061@2x.png

Writing static values means that you input a specific value e.g. the number 0. This value will never change during the runtime of your HMI.

Write Dynamic Value

screenshot-2023-04-20.Google Chrome.001063@2x.png

Writing dynamic values means that you use the current value of another variable. This means the value that gets written can change during the runtime of your HMI.

👆 In the above case you will write to the Water variable using the current value of the Steam variable.

Toggle Boolean Variable

When using variables of Boolean (Data Variable Type) , you may want to simply toggle the current value instead of setting it to a fixed value such as true or false. In this case, you can use the third Toggle option to negate the current value.

screenshot-2023-04-20.Google Chrome.001065@2x.png