Machine Edition update existing custom variables by import

Ozpeter

Member
Join Date
Aug 2014
Location
Virginia
Posts
124
I am using PME 9.5 but I believe that what I want to do relates to earlier version of PME.

I have an existing ME project in which I want to update the properties for about 3000 variables (out of about 24,000 total). So I export the variable list to a CSV file, cull out the variables I don't want to change, and then for the remainder I update the values of some properties and save to a new CSV file

I then import the new CSV file and during the import process I indicate that I want to identify conflicts by variable name (as some of the variables I want to change are symbolic), and that I want to overwrite the existing variables.

The works well for individual global and local variables. But I have many variables that that are custom data types EG BaseName.Property, where BaseName is a variable of a custom data type. The import process always seems to reject these variable types.

Does anyone know how to import variables of a custom data type in order to overwrite exiting variable properties?
 
Found the solution! When importing variables that are a part of a custom data type, you also have to import the base name of that custom variable - which has a link back to the custom data type. ME isn't smart enough to make this connection by itself.
 

Similar Topics

Hello everyone, I am experiencing a strange issue with machine using a PanelView Plus 7 and a CompactLogix 1769 PLC. I am using FTView ME V13...
Replies
1
Views
341
I'm getting frustrated creating arrays of variables in Machine edition. I need to make 2 variable arrays that are 102x2 in size, with varying...
Replies
3
Views
112
I have an issue. I am trying to resolve what logic is in a 90-30 PLC (364 CPU). I have 3 Machine Edition backups with different names. All show...
Replies
2
Views
158
Hello everyone, I am not a programmer, but I can do some simple programming. So now I want the time to be recorded every time a pump turns on. I...
Replies
35
Views
2,716
Hello everyone, how can I see in machine edition (in 1 overview) which variables are not in use? When I create a new variable it continues with...
Replies
2
Views
569
Back
Top Bottom