Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
9 views14 pages

Cross Copying and Object Matching

Uploaded by

Gustavo Santana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views14 pages

Cross Copying and Object Matching

Uploaded by

Gustavo Santana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Document No.

Ver Date Status Page


N/A 1.0 2016-20-01 1 of 14
Type - Title
Manual

Cross Project Copying and Matching of Objects

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 2 of 14
Type - Title
Manual

Management of this document

Role Name
Signature Date
Responsibility Title
Author Jerlitschka, Stefan
Technical Engineer
Reviewed Theis, Axel
Technical Engineer
Reviewed Rasbach, Tobias
Technical Engineer

Document History

Version Date Description Author

1.0 2016-20-01 Version 1.0 Jerlitschka, Stefan

Table of Contents
1 INTRODUCTION ................................................................................................................. 3
1.1 OWNERSHIP, AUTHORITY & CONTRACTUAL STATUS ...................................................... 3
1.2 PURPOSE AND SCOPE .................................................................................................. 3
1.3 RELATIONSHIPS TO OTHER DOCUMENTS ....................................................................... 3
1.4 DESCRIPTION USE CASES ............................................................................................ 3
3 CROSS PROJECT COPYING ............................................................................................ 4
3.1 OPEN THE SOURCE PROJECT....................................................................................... 4
3.2 OPEN THE TARGET PROJECT ....................................................................................... 4
3.3 MAKE SURE THAT BOTH PROJECTS ARE OPEN................................................................ 5
3.4 OPEN THE CROSS PROJECT COPY FUNCTION ................................................................. 5
3.5 SELECT THE TARGET AND THE SOURCE OBJECT............................................................. 6
3.6 CHOOSE THE OBJECTS TO BE COPIED ........................................................................... 6
3.7 SETTINGS AND EXECUTE COPYING ................................................................................ 7
3.8 CONFIRM THE APPEARING WARNING ............................................................................. 8
3.9 RESULTS OF CROSS PROJECT COPYING ........................................................................ 9
4 MATCHING OBJECTS ..................................................................................................... 10
4.1 OPEN THE SOURCE PROJECT AND THE OBJECT MATCHER............................................. 10
4.2 SELECT SOURCE AND TARGET PROJECT ...................................................................... 10
4.3 SET SOURCE NOD ..................................................................................................... 11
4.4 SET TARGET NOD...................................................................................................... 11
4.5 COMPARED OBJECTS APPEAR .................................................................................... 11
4.6 MATCH THE OBJECTS ................................................................................................. 12
4.7 RESULTS OF MATCHING ............................................................................................. 13
5 CHALLENGES OBJECT MATCHER ............................................................................... 14

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 3 of 14
Type - Title
Manual

1 INTRODUCTION

1.1 OWNERSHIP, AUTHORITY & CONTRACTUAL STATUS


This document is produced by the Siemens AG.

1.2 PURPOSE AND SCOPE


This document describes how to copy objects cross projects and cross working layers.
Furthermore it gives a step by step description about how to match objects in different
projects.

1.3 RELATIONSHIPS TO OTHER DOCUMENTS


 Technical documentation COMOS, V10.1 SP3
 COMOS Platform Administration

1.4 DESCRIPTION USE CASES


 For copying the Library and the automation tree with all references to another
project, the cross copy function can be used
 For matching and complementing objects such as pictures or attributes, the
object matcher can be used.

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 4 of 14
Type - Title
Manual

3 CROSS PROJECT COPYING

It is possible to copy objects their corresponding references and attributes cross


projects and working layers.

The following step by step description shows how to proceed.

3.1 OPEN THE SOURCE PROJECT


 Make sure that you open the correct working layer of the source

figure 1 open source project

3.2 OPEN THE TARGET PROJECT


 Make sure that you open the correct working layer of the target

figure 2 open the target project

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 5 of 14
Type - Title
Manual

3.3 M AKE SURE THAT BOTH PROJECTS ARE OPEN

figure 3 both projects open

3.4 OPEN THE CROSS PROJECT COPY FUNCTION


 The function has to be opened when residing in the target project

figure 4 open cross project copy

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 6 of 14
Type - Title
Manual

3.5 SELECT THE TARGET AND THE SOURCE OBJECT


 Select the target project by drag and drop
 Select the source project and its working layer out of the list

figure 5 select target and source for copying

3.6 CHOOSE THE OBJECTS TO BE COPIED


 Select the objects via drag and drop to the column “Objects to be copied”
 Press the button “Extended” to do some settings

figure 6 select objects

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 7 of 14
Type - Title
Manual

3.7 SETTINGS AND EXECUTE COPYING


 Set the options like shown in the following picture
 Press the button “Execute”

figure 7 Settings for cross project copying

Description of options
Option Description

With document revisions Revisions are included in copy quantity

Save automatically Project will automatically be saved after copying is finished

Database based technique A method for big amounts of data. References will be ignored

Include placed objects Objects on a report will be preserved

Below target The selected structure will be copied directly below the target nod

Create hierarchy The structure of the source will be created in the target
An object @COPYREF will be created, which contains all
Collect
references
Reproduce All references will be reproduced in the target

Ignore P-references will be lost when copying

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 8 of 14
Type - Title
Manual

3.8 CONFIRM THE APPEARING WARNING


 The warning only appears when working in the development database

figure 8 safety note

 After the copying is finished a report will open


 Close the report

figure 9 general functions

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 9 of 14
Type - Title
Manual

3.9 RESULTS OF CROSS PROJECT COPYING


 All objects and attributes have been copied to the target project
 All references in the target are the same as in the source

figure 10 results of cross project copying

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 10 of 14
Type - Title
Manual

4 MATCHING OBJECTS
If some attributes or objects were changed in the source object and have to be
matched, the object matcher can be used. It is recommended to generate a new
(parallel) working layer, bevor starting this function.
The following step by step description shows you how to match some different projects
in various working layers.

4.1 OPEN THE SOURCE PROJECT AND THE OBJECT MATCHER


 Open the source project in the correct working layer
 Open the object matcher like shown in the following picture

figure 11 open object matcher

4.2 SELECT SOURCE AND TARGET PROJECT


 The correct source project is selected automatically
 Select the correct target project out of the list
 Push the button “set target and source project in tree”

figure 12 select source and target for matching

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 11 of 14
Type - Title
Manual

4.3 SET SOURCE NOD


 Set the objects to be compared via drag and drop
 Set the nod directly out of the projects working layer!

figure 13 set source nod

4.4 SET TARGET NOD


 Open the target project in the correct working layer
 Set the objects to be matched via drag and drop
 Set the nod directly out of the projects working layer!
 Start object comparison

figure 14 set target nod

4.5 COMPARED OBJECTS APPEAR


 All compared objects appear on the right side
 A description of the colors is given in the following

figure 15 compare objects

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 12 of 14
Type - Title
Manual

Color Description

Red Object only in target project

Green Object only in source project

Yellow Objects are different

Blue Difference in lower structure

Grey Objects match

4.6 M ATCH THE OBJECTS


 Start the matching by pushing the button “ ”
 Select “Match and delete objects in target project” and press ok

figure 16 match objects

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 13 of 14
Type - Title
Manual

4.7 RESULTS OF MATCHING


 All Objects and attributes in the source nod will be matched to the target like
shown in the following pictures

Missing objects and attributes bevore matching Complemented project after matching

figure 17 missing objects figure 18 results of matching

N/A
Copyright © Siemens 2015
Document No. Ver Date Status Page
N/A 1.0 2016-20-01 14 of 14
Type - Title
Manual

5 CHALLENGES OBJECT MATCHER


If the matching mode “Match and retain objects in target project” is selected and some
attributes are different in the target, the function will overwrite the source with this
attributes!
For preventing this fault, please only use the “Match and delete objects in target
project” mode, when matching objects.

Table of Figures

figure 1 Open Source Project .........................................................................................4


figure 2 Open The Target Project ...................................................................................4
figure 3 both Projects open .............................................................................................5
figure 4 open cross project copy .....................................................................................5
figure 5 select target and source for copying ..................................................................6
figure 6 select objects .....................................................................................................6
figure 7 Settings for cross project copying ......................................................................7
figure 8 safety note .........................................................................................................8
figure 9 general functions ...............................................................................................8
figure 10 results of cross project copying ........................................................................9
figure 11 open object matcher ......................................................................................10
figure 12 select source and target for matching ............................................................10
figure 13 set source nod ...............................................................................................11
figure 14 set target nod .................................................................................................11
figure 15 compare objects ............................................................................................11
figure 16 match objects.................................................................................................12
figure 17 missing objects ..............................................................................................13
figure 18 results of matching .........................................................................................13

N/A
Copyright © Siemens 2015

You might also like