Sei sulla pagina 1di 3

Upgrade Engineering Templates from SV 4.1 to SV 5.0 Upgrade Engineering Templates from SV 3.1 to SV 5.

Note:
Typical application for Engineering Templates is to use these from Scratch. In this case no upgrade is required; the installation of Engineering Studio SV 5.0 exchanges the Engineering Templates in \Documents and Settings\All Users\Desktop. The upgrade described here is required only if you have already put data into work-sheets based on Engineering Templates from Engineering Studio SV 3.1 / SV 4.1 and intend to use these worksheets in SV 5.0 and you had used one of the following templates o CBM_Applications.xls o CBM_ControlModules.xls o CBM_ControlModuleTypes.xls o CBM_FunctionBlocks.xls o CBM_FunctionBlockTypes.xls o CBM_HWUnits.xls o CBM_Programs.xls o CBM_SingleControlModule.xls o Log_Config.xls o TrendConfig.xls o BDM_DiagramRef_Var_Advanced.xls o BDM_DiagramRef_Var_Basic.xls

Note:
You can perform this procedure before or after upgrade.

Background
Engineering Templates are dealing internally with XML data. In SV4.1 and earlier versions the storage of these data has been modified internally some cell values containing XML data have been moved from hidden columns to a hidden Excel worksheet. Therefore existing data must be transferred to new locations in the workbook to work with Bulk Data Manager of SV5.0. If cell values are containing a link to a file please contact 800xA support line.

Upgrade Procedure
1. Backup your Excel workbooks for safety reasons 2. Open the Engineering Template with existing data of SV4.1 or SV3.1 versions; the worksheet has the name <NameOfSheet>. 3. Insert a new worksheet, rename it to XMLFor<NameOfSheet> 4. Unhide all rows and columns.

5. Select the entire column where the cell value XSDData appears and delete the entire column if exists. This column is a read-only column and is not used during write operations. 6. Select all cells with value below the column headline XMLData. 7. Cut all these cells and paste them into the new inserted worksheet to column B and row 3. Keep the existing cells selection and copy it again. 8. Go back to the previous worksheet and use menu Edit | Paste Special with paste option Comments to paste only the cell comments to it original place before the cells has been cut in step 7 (now the cells are empty but have only a comment). 9. Go back to the new inserted worksheet and check in column B if there are cell values containing a file link. Then the following steps must be executed for each of these kind of cell values: a. Navigate to the file on the disk (typically located in the same directory then your Excel file) and open it with Word text editor. b. Select the first 32.000 characters (use menu Tools | Word Count as a toolbar to press button Recount to see how many characters are selected), cut and copy them into the worksheet cell in column B at the same row where the file link appears. c. Repeat step b until all characters are used up in the Word document but use for each step the next column like C, D, E, etc. and keep the row number d. The external file is now distributes over cells and is not needed any more.

Example
The differences are marked in Figure 1: Example of CBM_HWUnit.xls in SV 4.1 and Figure 2: Example of CBM_HWUnit.xls in SV 5.0 Note that row 3 and columns E and F are hidden in the templates, to see it you have to manually unhide it..

Figure 1, Sheet CBM_HWUnit of SV4.1 or SV3.1.2

Figure 2, Sheet CBM_HWUnit of SV5.0 (new sheet)

Figure 3, Excel menu item Insert | Name | Define

Potrebbero piacerti anche