Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unity Application Generator How Can I… Export variables of a Control module with all parameters, modify the some of the parameters like Initial values.

Similar presentations


Presentation on theme: "Unity Application Generator How Can I… Export variables of a Control module with all parameters, modify the some of the parameters like Initial values."— Presentation transcript:

1 Unity Application Generator How Can I… Export variables of a Control module with all parameters, modify the some of the parameters like Initial values and import the file back into UAG.

2 Schneider Electric 2 - EU – UAG team, October 2009 Issue ●I have two SCoDs: “AIB” and “DIB”. ●From these SCoDs, I want to export following variables: ●HH, H, LL, L, BUS, RACK, TYP, DV, HYST, DVL with all parameters. ●I want to modify the initial values or any other parameter like Archive, of these variables and import back the list with modified initial values of the variables.

3 Schneider Electric 3 - EU – UAG team, October 2009 How to do.. Basic explanation ●UAG generates xml file as Generic HMI. ●Format of these files can be adjusted in style sheet. ●By using pre developed style sheet and using GENERATE GENERIC HMI function, user can export the file in required format. ●There are 92 parameters, which user can define for each variable in the SCoD editor. Variables with these parameters can exported, modified and imported back. ●Note: The parameters which need to be modified should selected with “CHANGEABLE” selection box in the SCoD Editor

4 Schneider Electric 4 - EU – UAG team, October 2009 How to do.. Outside UAG, using xml file editor ●An style sheet has been developed named

5 Schneider Electric 5 - EU – UAG team, October 2009 How to do.. Outside UAG, using xml file editor ●In the style sheet, the name of SCoDs and and variables to be genreated are mentioned like this: ●As we have to export variable along with 92 parameters, following format defined in the end of style sheet:

6 Schneider Electric 6 - EU – UAG team, October 2009 How to do.. Outside UAG, using xml file editor ●Note: detail of the parameters along with format can be found under: UAG  HELP  CONTENT  BASIC USER MANUAL  Appendix  Format for the Import /Export..  Physical model

7 Schneider Electric 7 - EU – UAG team, October 2009 How to do.. Outside UAG, copying the style sheet ●Using explorer, please copy the style sheet under the directory where other UAG libraries and style sheet are located.

8 Schneider Electric 8 - EU – UAG team, October 2009 How to do.. In UAG customization ●Under UAG customization  Export format name, a new Export format need to be added using ADD button

9 Schneider Electric 9 - EU – UAG team, October 2009 How to do.. In UAG customization ●Following window will be appeared: ●New settings can be made by clicking on the ADD button. ●Following window will be appeared:

10 Schneider Electric 10 - EU – UAG team, October 2009 How to do.. In UAG customization ●From the drop down window, please select the style sheet delivered with this document (note: this is already copied under the library directory see slide 7) ●As we have to generate the output file as text file, “.txt” to be written in “OUTPUT FILE” tab

11 Schneider Electric 11 - EU – UAG team, October 2009 How to do.. In UAG customization ●Under the tab “Generic HMI”, define the path where the export file should be generated. ●Save and exit the UAG customization.

12 Schneider Electric 12 - EU – UAG team, October 2009 How to do.. In UAG ●In UAG, open the project, accept request to update the library. ●Click on VIEW  Option, ●This window will appear: IMPORTANT: If you are opening the exported file using text editor then, please ensure that “USER DEFINED” is selected and “;” is placed.

13 Schneider Electric 13 - EU – UAG team, October 2009 How to do.. In UAG IMPORTANT: If you have opened the exported file with Excel, then please save the file as txt file and ensure that “TAB” is selected Exit by clicking on OK

14 Schneider Electric 14 - EU – UAG team, October 2009 How to do.. In UAG ●Under TOPLOGICAL MODEL  Data Server  open “Properties”. ●This screen will appear:

15 Schneider Electric 15 - EU – UAG team, October 2009 How to do.. In UAG ●By clicking on drop down window on “Export Format Name” select the name of Export format defined in Customization (see slide 10) ●Click OK and close the Window.

16 Schneider Electric 16 - EU – UAG team, October 2009 How to do.. In UAG ●We are now ready for Generation of text file with the variables listed in the style sheet. ●Please click on GENERATE  HMI. ●UAG start generating both Vejio Citect and Generic HMI.

17 Schneider Electric 17 - EU – UAG team, October 2009 How to do.. In UAG ●On successful, generation, this message will appear. ●Open the txt file as defined here

18 Schneider Electric 18 - EU – UAG team, October 2009 How to do.. In Text editor ●Open the exported file with a text editor like NOTEPAD. All the 92 parametrs of the variable are listed in this file.

19 Schneider Electric 19 - EU – UAG team, October 2009 How to do.. In Text editor ●Modify the Initial values, save and exit the file.:

20 Schneider Electric 20 - EU – UAG team, October 2009 How to do.. In Excel ●The same file can be opened with excel using FILE  OPEN and then select the txt file.

21 Schneider Electric 21 - EU – UAG team, October 2009 How to do.. In Excel ●This Window will appear. ●Click Next

22 Schneider Electric 22 - EU – UAG team, October 2009 How to do.. In Excel ●This Window will appear. ●Click on SEMICOLON in addition to TAB ●This will look like this: ●Click next and click on FINISH

23 Schneider Electric 23 - EU – UAG team, October 2009 How to do.. In Excel ●One can see all the 92 parameters available in the excel. ●Modify the parameter, lets say INITIAL VLAUE. The order of the parameter can be found in the help file given in slide 6.

24 Schneider Electric 24 - EU – UAG team, October 2009 How to do.. In Excel ●Close the file, this window will appear: select YES ●This window will appear: ●Click on YES

25 Schneider Electric 25 - EU – UAG team, October 2009 How to do.. In UAG ●Click on the Equipment and import the file by using FILE  Import function

26 Schneider Electric 26 - EU – UAG team, October 2009 How to do.. In UAG ●This window will appear, select the correct exported file, take care of the path also:

27 Schneider Electric 27 - EU – UAG team, October 2009 How to do.. In UAG ●On successful completion of the import, following message will appear:

28 Schneider Electric 28 - EU – UAG team, October 2009 How to do.. In UAG ●By right clicking on the equipment, open variable table by clicking on “OPEN VARIABLE” option: ●One can see the initial value of the variables have been updated

29 Schneider Electric 29 - EU – UAG team, October 2009 Conclusion ●User can define export format in style sheet to generate file in required format. ●Extension of exported files can be set: txt, csv etc in UAG customization. ●User can edit the value of variable using any text editor and import back the modified values back into UAG. ●There are many style sheet available with UAG installation files. These files are copied automatically under the folder containing libraries. Thanks for your attention!


Download ppt "Unity Application Generator How Can I… Export variables of a Control module with all parameters, modify the some of the parameters like Initial values."

Similar presentations


Ads by Google