Synchronizing control module types SIMATIC PCS 7 V8.2 https://support.industry.siemens.com/cs/ww/en/view/109737121 Siemens Industry Online Support
Synchronizing control module types
SIMATIC PCS 7 V8.2
https://support.industry.siemens.com/cs/ww/en/view/109737121
Siemens Industry Online Support
Siemens AG Division Digital Factory
Postfach 48 48 90026 NÜRNBERG Germany
V1.1
Ⓟ 04/2017 Subject to change
Copyright © Siemens AG 2017. All rights reserved 2
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Siemens AG Division Digital Factory
Postfach 48 48 90026 NÜRNBERG Germany
V1.1
Ⓟ 04/2017 Subject to change
Copyright © Siemens AG 2017. All rights reserved 3
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Security information
Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions only form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under http://www.siemens.com/industrialsecurity.
Table of contents
Synchronizing control module types 109737121, 04/2017 4
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Table of contents Legal information ..................................................................................................... 2
1 Synchronizing control module types ............................................................ 5
1.1 Introduction ....................................................................................... 5 1.2 Synchronizing control module types ................................................... 6
2 Synchronization behavior ............................................................................ 10
2.1 Editing objects in assigned CFC ...................................................... 11 2.2 Changing objects in the technological connections ........................... 12 2.3 Changing values or interconnections ............................................... 14 2.4 Changes to properties and attributes ............................................... 15
3 Comparison function "Installation position"............................................... 24
4 Comparison function “With graphic coordinates” ..................................... 27
5 Appendix ....................................................................................................... 28
5.1 Service and Support ........................................................................ 28 5.2 Related literature ............................................................................. 29 5.3 History ............................................................................................. 29
1 Synchronizing control module types
Synchronizing control module types 109737121, 04/2017 5
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
1 Synchronizing control module types This document describes how to synchronize control module types in a SIMATIC PCS 7 Engineering System.
1.1 Introduction
As of SIMATIC PCS 7 V8.0 there is a type concept available, consisting of the following elements
Control module (CM)
Control module type (CMT)
Abbreviation ISA 88
CM Control module Typically, this is a combination of measuring equipment, actuators and other control modules as well as the associated processing unit, which is operated as a single unit from the point of view of the control technology
CMT Control module type Type of a control module
CMs can be synchronized with their CMTs. This means that blocks, interconnections, connectors, and messages can be added or removed in an existing and already instantiated CMT. These changes can be passed on to the existing CM.
NOTE To synchronize CMTs in SIMATIC PCS 7 V8.2 a Version Cross Manager V8.2 License is required. For more information about VXM visit: https://support.industry.siemens.com/cs/ww/en/view/109485969
1 Synchronizing control module types
Synchronizing control module types 109737121, 04/2017 6
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
A CMT or a CM is composed of the conventional CFC part (1) and the technological connections (2).
1.2 Synchronizing control module types
Even when there are already one or more instances (CM) of a CMT in the project, changes can still be made to the CMT and transmitted to the existing instances.
Note Parameters and signals are not matched (synchronized) if
attribute "S7_mc" = true
they are present in the Technical connections
they are interconnected externally
Procedure
1. Start synchronization in the plant view of the project from shortcut menu "Plant Types > Synchronize..."
2
1
1 Synchronizing control module types
Synchronizing control module types 109737121, 04/2017 7
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
1 Synchronizing control module types
Synchronizing control module types 109737121, 04/2017 8
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
2. All the CMTs that are available in the master data library are displayed in the "Synchronize Plant Types" dialog. Choose the changed CMT that you want to synchronize.
3. Click the "Synchronize" button to start the comparison between the project (A) and the master data library (B).
The detailed result of the comparison is displayed automatically in dialog box "Data transfer - Synchronize templates".
4. For each instance, you can exclude from synchronization control modules, blocks, signals, parameters and messages that you do not want to compare by clearing the check box.
5. "Synchronize templates" synchronizes the changes from the CMT (master data library) to the CM/CMs (project).
Example 1: Instance-specific interconnection
Interconnection in instance
Interconnection in type
1 Synchronizing control module types
Synchronizing control module types 109737121, 04/2017 9
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Example 2: Block in Tech.IO
FB in instance (CFC part)
FB in type (Tech.IO)
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 10
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
2 Synchronization behavior The synchronization behavior depends on the following criteria:
Type of change (parameter, value, interconnection, …)
Place of change (type or instance)
Attributes of the changed parameters
– Green > Parameters are in the technological connections
– S7_m_c > OS relevant parameters
– Miscellaneous
The following generally applies for the synchronization behavior when inserting new objects (FB and/or FC):
When synchronizing to the CM, if the newly inserted objects in CMT are placed in the main sequence group, they are inserted directly behind the same predecessor blocks that are also available in the CMT.
The installation pointer in the CM is ignored and remains unchanged.
Deviations from this rule are described below.
Library - CMT
FB_1
FB_2
FB_3
FB_4
FB_5
FB_6
FB_7
Ablaufgruppe
Projekt – CM_1
FB_1
FB_2
FB_3
FB_4
FB_5
FB_6
FB_7
Ablaufgruppe
FB_N1
FB_N2
Library - CMT
FB_1
FB_2
FB_3
FB_4
FB_5
FB_6
FB_7
Ablaufgruppe
FB_X1
FB_X2
Copy/Paste
Projekt – CM_1
FB_1
FB_2
FB_3
FB_4
FB_5
FB_6
FB_7
Ablaufgruppe
FB_N1
FB_N2
FB_X1
FB_X2
synchro
Einfügen in CM
Einfügen in CM
Einfügen in CMT
Einfügen in CMT
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 11
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Explanation: The examples are to be read as follows:
Result after synchronization
Change in CMT Change in CM
In this cell, the result is described in the CM after synchronizing, if a change was carried out in the CMT
In this cell, the result is described in the CM after synchronizing, if a change was carried out in the CM
2.1 Editing objects in assigned CFC
Add block or chart-in-chart
Result after synchronization
Change in CMT Change in CM
Object is added in CM
The object has the same block in the CM as predecessors in the CMT
Object is retained in CM
Comment - There is no synchronization here.
The change is purely instance-specific
Remove block or chart-in-chart
Result after synchronization
Change in CMT Change in CM
Object is removed from CM Object is present in CMT > object has been created again in CM The object has the same block as predecessor in the CM and in the CMT.
Otherwise: Object has been removed
Change run sequence
Result after synchronization
Change in CMT Change in CM
This change is not synchronized. The different predecessor blocks can be made visible in the dialog. The change must be incorporated manually into the instances.
This change is not synchronized. The different predecessor blocks can be made visible in the dialog. The change must be incorporated manually into the instances.
Comment See Chapter 3 Comparison function "Installation position"
See Chapter 3 Comparison function "Installation position"
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 12
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Note Restrictions:
If an object is newly created in the CMT and set to the first position in a separate runtime group, then the new object has been incorrectly installed after synchronization.
If an object is newly created in CMT, marked as Optional, and set to any position in a separate runtime group, then the object has been incorrectly installed when activating the variant in the CM.
You must check the installation positions in the instances and adapt them if necessary.
2.2 Changing objects in the technological connections
Add a block/chart-in-chart in the technological connections
Result after synchronization
Change in CMT Change in CM
Object is added in CM Object is retained in CM
Comment
- When synchronizing, interconnections from a new object to internal objects are handled like external interconnections.
Important: Not a recommended application. If the object is present in the CMT and is added in the instance to the technical connections, the connection to the object in the CMT is separated at synchronization and the object from the CMT is created again. As a result, a duplicate object is present.
Remove block/chart-in-chart from the technological connections
Result after synchronization
Change in CMT Change in CM
Object is removed from CM Object is present in CMT > Object has been created again in CM
Otherwise: Object has been removed
Comment - -
Allocate "Optional" attribute to an existing object in the technological connections
Result after synchronization
Change in CMT Change in CM
Object remains visible in CM and is activated in the version
-
Comment - Cannot be executed in CM because the dialog is not available
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 13
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Drag an object that is present in CMT to technological connections and assign "Optional" attribute
Result after synchronization
Change in CMT Change in CM
Object remains visible in CM and is not activated in the version
If the version is activated > CMT and instance are synchronized.
-
Comment - Cannot be executed in CM because the dialog is not available
Remove "Optional" attribute from an object in the technological connections
Result after synchronization
Change in CMT Change in CM
Object remains visible in CM and is not activated in the version
If the version is activated > CMT and instance are synchronized.
-
Comment - Cannot be executed in CM because the dialog is not available
Add a signal/parameter in the technological connections
Result after synchronization
Change in CMT Change in CM
Signal/parameter is present in Tech.IO of the CM
Status is applied from CMT
Remove signal/parameter from the technological connections
Result after synchronization
Change in CMT Change in CM
Signal/parameter is removed from the Tech.IO.
Signal/parameter is present in CMT-Tech.IO > is created again in CM
Otherwise: Signal/parameter is removed from the Tech.IO
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 14
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
2.3 Changing values or interconnections
Add interconnection between CM (process tag)
Result after synchronization
Change in CMT Change in CM
- Interconnection is not changed
Comment Cannot be executed in CMT -
Change the value of an input parameter
Result after synchronization if parameters…
Change in CMT Change in CM
…in Technical I/Os
No change; Value in the CM is retained
Value in the CM is retained
…Attribute “S7_m_c”
No change; Value in the CM is retained
Value in the CM is retained
…Attribute “S7_contact”
No change; Value in the CM is retained
Value in the CM is retained
…Other Value is transferred from the CMT to the CM
Value is transferred from CMT to CM
Add internal interconnection
Result after synchronization if parameters…
Change in CMT Change in CM
…Technical I/Os No change in CM; Interconnection from CMT is not applied
No change in CM; Interconnection is not changed
…Attribute “S7_m_c”
Interconnection is accepted from CMT
Interconnection is accepted from CMT
…Attribute “S7_contact”
Interconnection is accepted from CMT
Interconnection is accepted from CMT
…Other Interconnection is accepted from CMT
Interconnection is accepted from CMT
Remove internal interconnection
Result after synchronization if parameters…
Change in CMT Change in CM
…Technical I/Os No change in CM; interconnection from CMT is not accepted
No change in CM; Interconnection is not changed
…Attribute “S7_m_c”
Interconnection in CM is removed
Interconnection in CM is removed
…Attribute “S7_contact”
Interconnection in CM is removed
Interconnection in CM is removed
…Other Interconnection in CM is removed
Interconnection in CM is removed
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 15
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
2.4 Changes to properties and attributes
Block comment and block group
Result after synchronization
Change in CMT Change in CM
Text in CM is always retained Text in CM is always retained
Comment No adjustment
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 16
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Changing an "Identifier"
Result after synchronization
Change in CMT Change in CM
If the "Identifier" field is blank in the CMT, the entry in the CM is always retained.
If the "Identifier" field is blank in the CMT, the entry in the CM is always retained.
Comment A numerical value in the CMT is always transferred.
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 17
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Change Text 0 or Text 1
Result after synchronization
Change in CMT Change in CM
If the "Text 0/1" field is blank in the CMT, the entry in the CM is always retained.
If the "Text 0/1" field is blank in the CMT, the entry in the CM is always retained.
Comment A value in the CMT is always transferred.
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 18
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Change units
Result after synchronization if parameter…
Change in CMT Change in CM
…in Tech.IO If the "Unit" field is blank in the CMT, the entry in the CM is always retained.
If the "Unit" field is blank in the CMT, the entry in the CM is always retained.
Comment A value in the CMT is always transferred.
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 19
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
"Visible" or "Hidden" attribute
Result after synchronization
Change in CMT Change in CM
Setting in the CMT is transferred to the CM.
Setting in the CMT is transferred to the CM (= RESET).
Change "Can be operated and monitored"
Result after synchronization
Change in CMT Change in CM
Setting in the CMT is not transferred to the CM.
Setting in the CM is retained.
Comment No adjustment No adjustment
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 20
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Change "block icon"
Result after synchronization
Change in CMT Change in CM
Setting in the CMT is not transferred to the CM.
Setting in the CM is retained.
Comment No adjustment
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 21
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Change "MES relevant" or "read back allowed"
Result after synchronization
Change in CMT Change in CM
Setting in the CMT is transferred to the CM
Setting in the CMT is transferred to the CM ( = RESET )
Comment No adjustment
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 22
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Change "Operator authorization level"
Result after synchronization
Change in CMT Change in CM
Setting in the CMT is not transferred to the CM.
Setting in the CM is retained.
Comment No adjustment
2 Synchronization behavior
Synchronizing control module types 109737121, 04/2017 23
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
Change message class
Result after synchronization
Change in CMT Change in CM
Setting in the CMT is not transferred to the CM.
Setting in the CM is retained.
Comment No adjustment
3 Comparison function "Installation position"
Synchronizing control module types 109737121, 04/2017 24
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
3 Comparison function "Installation position"
1. Start synchronization in the plant view of the project from shortcut menu "Plant Types > Synchronize..."
2. Choose the CMT you want to synchronize
3. Activate the check box "with run sequence"
4. Start the synchronization
5. Select the table view
6. Select only the differences
Display the differences Table view
3 Comparison function "Installation position"
Synchronizing control module types 109737121, 04/2017 25
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
7. Right-click on a folder in the table view and select the "Display Node Contents” command. This makes all the corresponding changes visible.
External comparison and analysis
If you want to compare and analyze the information externally, proceed as follows:
1. Click on the printer icon (at the top left) to highlight all the visible content
2. Copy it with "Ctrl + C"
3. Open Excel and paste the copied contents with "Ctrl + V"
In the synchronization dialog box, you will see the "Predecessor for the insertion position" for each object in the CM and CMT.
3 Comparison function "Installation position"
Synchronizing control module types 109737121, 04/2017 26
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
4. Using the shortcut menu of an insertion position you can open the CM and CMT in-parallel and edit the insertion position manually.
Example with Excel:
4 Comparison function “With graphic coordinates”
Synchronizing control module types 109737121, 04/2017 27
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
4 Comparison function “With graphic coordinates”
1. Start synchronization in the plant view of the project from shortcut menu "Plant Types > Synchronize..."
2. Choose the CMT you want to synchronize
3. Activate the check box "with run sequence"
4. Start the synchronization
5. If the block positions in the CMT have changed, the differences between the instance and the CMT are displayed
6. By synchronizing the blocks in the instances will be moved to the same coordinates as in the CMT
5 Appendix
Synchronizing control module types 109737121, 04/2017 28
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
5 Appendix
5.1 Service and Support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire service and support know-how and portfolio.
The Industry Online Support is the central address for information about our products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos – all information is accessible with just a few mouse clicks at: https://support.industry.siemens.com
Technical Support
The Technical Support of Siemens Industry provides you fast and competent support regarding all technical queries with numerous tailor-made offers – ranging from basic support to individual support contracts. You send queries to Technical Support via Web form: www.siemens.com/industry/supportrequest
Service offer
Our range of services includes, inter alia, the following:
Product trainings
Plant data services
Spare parts services
Repair services
On-site and maintenance services
Retrofitting and modernization services
Service programs and contracts
You can find detailed information on our range of services in the service catalog: https://support.industry.siemens.com/cs/sc
Industry Online Support app
You will receive optimum support wherever you are with the "Siemens Industry Online Support" app. The app is available for Apple iOS, Android and Windows Phone: https://support.industry.siemens.com/cs/ww/en/sc/2067
5 Appendix
Synchronizing control module types 109737121, 04/2017 29
S
iem
en
s A
G 2
01
7 A
ll ri
gh
ts r
ese
rve
d
5.2 Related literature
Topic
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
\2\ Download page of this entry https://support.industry.siemens.com/cs/ww/en/view/109737121
\3\ PCS 7 in Industry Online Support
https://support.industry.siemens.com/cs/ww/en/view/63481413
5.3 History
Version Date Modifications
V1.0 05/2016 First version
V1.1 04/2017 Additional note about type synchronization requirement in chapter 1