First, open the Unity Pro application you want to update.
This is a test application with in modules in a local rack, as well as on Ethernet Remote IO drops.
All modules are created with Device DDT Data model.
Note : the default Device DDT name proposed by Unity pro has been changed for better understanding.
We have chosen a name related to the topological address of module.
First we will export the variable lists from Unity Pro.
Now create and name .xsy export file.
This Excel tool named Unity Variable Management.xlsm is delivered with the Unity Pro DVD
and is installed on computer.
The first thing we’ll do is to enable macros in the options of Excel.
go to XSY Management folder.
click on the Settings menu, and ensure that "Expand all structures" and "Expand all Arrays" options are checked.
click on “Open File” in order to import the xsy file into Excel.
Check that all Device DDT structures are imported.
Go to the column “Alias”, and prompt Alias names.
In this demo to go faster, I have prepared a template with all Alias names I want to create.
So enter all Alias names, or copy/paste them.
Note: In this example we’ll paste some values to save time
Now click on “Update Alias” icon from the XSY menu
Check that all new Aliases has been created, and linked to the Device DDT IO field.
Export the updated file : click on “Save Sheet” icon, and save as new XSY file
Now we are going to close the Excel tool
Then go back to Unity pro, and import the XSY file you have just created.
right click on variables FB instances and select Import select the excess why
Select the XSY file.
Press “import” in pop up windows and confirm.
When “Import Trouble Report” windows appears, press “Keep all” button
you obviously want to keep all Device DDT within your application, and just want to create & associate new aliases.
Variables are imported.
Now check that all aliases are now created and associated to the right IO.