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
- Conversion: Conversion of values within a function, e.g. conversion of units.
- Validation: Checking of values within a function and feedback on the validity of the value.
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. |
Further Information