FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
06-08-2023 12:51 PM
When I do an "update items" or create/delete a variable, in the process manager, and it asks me for an "update tag" it deletes all the previously entered limits (whether they are fixed or dynamic).
I tried to export the variables and then re-import them, but the limits are not present in the exported file.
How can I not miss the variable's limits?
Solved! Go to Solution.
06-09-2023 08:23 AM - edited 06-09-2023 08:24 AM
You cannot use the "Items" tab and the "Variables" concurrently. In fact, you should not add or edit any items in the "Items" tab at all - you should only edit the variables and structures.
Whenever you click on the "Update Items" button all items listed in "Variables" will be created, deleted and/or overwritten in case you changed something manually in the "Items" tab - which you should not do as written before.
I was unable to reproduce the aforementioned issue. I was able to export a variable and import it in another HMI with the input and alarm limits being imported correctly.
06-09-2023 10:38 AM
06-09-2023 10:49 AM - edited 06-09-2023 10:50 AM
I am unable to reproduce the issue:
1. Create two variables "min" and "max"
2. Create another variable "value" that has "min" and "max" set in DATA ATTRIBUTES -> Input/Display Limits -> Minimum & Maximum
3. Click on "Update Items"
4. Export variables through the Import/Export button
5. Tab "Items": item "value" correctly shows "min" and "max" in DATA -> Minimum and Maximum
6. Create a new HMI
7. Import the exported file through the Import/Export button
8. Click on "Update Items"
9. Tab "Items": item "value" correctly shows "min" and "max" in DATA -> Minimum and Maximum
06-09-2023 10:53 AM
As an additional info:
- structures and variables are the definitions for items (like a class definition in an OOP language)
- items are the instances of the variables and structures (like an object in an OOP language)
If you do not update the items when prompted to do so of course errors like this will occur. If you however do update the items correctly this should not occur. Otherwise pelase explain the detailed steps you took according to my previous steps with a fresh HMI where you are able to reproduce the issue so we can look into this.