The threshold variable is are deleted when deleting unused variables

Which products are affected?
ESP-HMI1-P (HMI Designer V1.7)

What happens?
The following error message is indicated when compiling the HMI project (menu item: Tools>Compile projects):
ERROR – Page no.x: threshold variables not correct

When does the problem occur?
If a variable in an HMI project is exclusively used as threshold variable (e.g. as threshold variable for a touch key) and the <Delete Unused> button of the Variables project is pressed, this variable is deleted. As a result, an error message is generated when compiling the HMI project.

Possible diagnostics?
None.

Short-term measures/recommendations?
Only press the <Delete Unused> button if you are sure that the variables used in the HMI project are exclusively used as threshold variables.

Evaluation:
The <Delete Unused> button deletes all variables which are not used in the HMI project. The function restriction occurs if the button is pressed and the variables in the HMI project are exclusively used as threshold variables.
HMI projects for text displays are not affected by this function restriction since it is not possible to define threshold variables there.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200806375/1/
Kontaktformular