Functions
Functions enable various logical operations to be executed on the client side. The functions can be used in the Properties window, in the Actions and Conditions Editor or in the Code Behind.
To use a function in Code Behind, a reference to the function must be obtained via the API function TcHmi.Functions.getFunction. This reference can then be called directly.
In addition to the provided functions, it is possible to implement your own logic in JavaScript.
The basic functions of the TwinCAT HMI can be found in the package Beckhoff.TwinCAT.HMI.Functions.