Value adjustment of variables

To do this, click on the“Function icon” in the “Value adjustment” row when creating or editing a variable

(This option only appears for the relevant data types, in this case “String“.)

Then select the operation to be applied to the variable in the “Value adjustment” window that opens.

Finally, enter the value with which the operation is to be carried out. In this case, the variable value is always multiplied by 2.7.

Once all entries have been made, click on “Save” to complete the process.

Information: If the value of this variable is written back, the opposite operation is performed first. This means that in this case, the value would be divided by 2.7 before being written to the controller. If the controller outputs a 10, a 27 is displayed in the visualization. If a 54 is now written to this variable via the interface, it is first divided by 2.7. This results in a 20 in the controller.