Use

Functions allow the execution of JavaScript code that can be linked directly from the Properties window in the engineering component or used within the Actions and Conditions Editor. This makes it possible to pass parameters to the function via the engineering.

Typical use cases

Use 1:

Several functions are already available in the TwinCAT HMI engineering. To obtain an overview of the functions, open the "Functions" folder in the Actions and Conditions Editor.