S2 Systemredundancy S7-1500H G220 DOC v10 en
S2 Systemredundancy S7-1500H G220 DOC v10 en
Industry
Online
Support
APPLICATION EXAMPLE
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without limitation, liability for the usability,
availability, completeness and freedom from defects of the application examples as well as for related information, configuration and
performance data and any damage caused thereby. This shall not apply in cases of mandatory liability, for example under the German
Product Liability Act, or in cases of intent, gross negligence, or culpable loss of life, bodily injury or damage to health, non-compliance
with a guarantee, fraudulent non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for damages
arising from a breach of material contractual obligations shall however be limited to the foreseeable damage typical of the type of
agreement, unless liability arises from intent or gross negligence or is based on loss of life, bodily injury or damage to health. The
foregoing provisions do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens against existing or
future claims of third parties in this connection except where Siemens is mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any damage beyond the liability provisions
described.
Other information
Siemens reserves the right to make changes to the application examples at any time without notice. In case of discrepancies between the
suggestions in the application examples and other Siemens publications such as catalogs, the content of the other documentation shall
have precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
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 constitute one element of such a
concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines and networks. Such systems, machines
and components should only be connected to an enterprise network or the internet if and to the extent such a connection is necessary
and only when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that
product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are
no longer supported, and failure to apply the 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 https://www.siemens.com/cert.
Table of contents
1. Introduction ...................................................................................................................................4
2. Engineering ...................................................................................................................................6
4. Appendix .....................................................................................................................................23
1. Introduction
1.1. Overview
The drives of the SINAMICS G220 family support PROFINET S2 system redundancy. Thanks to S2 system redundancy,
operation of the system is guaranteed even in the event of a defect or replacement of a controller, thus reducing
downtimes.
The prerequisite for S2 system redundancy is a so-called S7-1500 fault-tolerant system, also referred to as an H system.
An S7-1500 fault-tolerant system consists of 2 fault-tolerant controllers - the primary and backup CPU - that synchronize
via fiber optics. If one controller fails, the other automatically takes over.
Schematic diagram
Fault-tolerant system
Fiber-optic
PROFINET / IE
SINAMICS G220
Motor
Advantages
• No plant downtime in the event of a controller failure
• Hot-swappable components during operation
• Changes to the configuration during operation
• Automatic synchronization after replacement of components
Limitations of SINAMICS
• PROFINET-IRT is not supported
• No simultaneous operation of Shared Device and system redundancy
• Maximum of 2 cyclic PROFINET connections
• System redundancy only via the PROFINET X150 interface
• While switching from one controller to the other, the setpoints of the last connection remain frozen and valid.
Required knowledge
Basic knowledge of TIA Portal and SINAMICS G220 is required.
You can obtain the listed components from the Siemens Industry Mall, for example.
2. Engineering
2.1. Hardware setup
The following images show the hardware setup and the wiring of the application:
2 1 3 2 1 3
S7-1500H (1)
The S7-1500H redundant system should be mounted either on one shared rail or on two separate mounting rails. You will
connect the two CPUs with fiber-optic cables to two synchronization modules in each CPU. Set up the PROFINET ring via
the CPUs' X1 P1 R and X1 P2 R PROFINET interface.
2.2. Topology
In order to integrate the SINAMICS G220 into the system via PROFINET, the following topology is used in the application
example:
SIMATIC S7 SIMATIC S7
CPU 1517H CPU 1517H
CPU1 CPU2
X1 X1
IF1 IF2 P1 P2 IF1 IF2 P1 P2
P1 P2
X150
SINAMICS G220
2.3. Configuration
2.3.1. Configuration of the SIMATIC H system
Follow the steps listed in the following table to configure the SIMATIC S7-1500 H system in TIA Portal:
No. Action
1. Create a new TIA Portal project (1) and switch to the project view (2).
No. Action
3. In the dialog box, select the SIMATIC S7 H controller you are using (1) and confirm the selection with "OK" (2).
4. Note:
When a SIMATIC controller is created, the wizard for the controller's security settings is automatically opened.
For the example project, no controller security functions will be configured in the next 3 steps. A machine in your
project may require you to configure the security settings for the SIMATIC controller. Information on this can be
found in the manual "SIMATIC S7-1500/ET 200MP Automation system". (\4\)
For the sample project, disable the protection of confidential PLC data.
No. Action
No. Action
8. If necessary, assign the IP address for the first controller of the S7-1500 H system by opening the device
configuration (1), selecting the X1 PROFINET interface of the first SIMATIC S7 controller (2) and setting the desired IP
address in the properties under "Ethernet addresses" (3). The example project keeps the default address of
192.168.0.1.
No. Action
9. If necessary, assign the IP address for the second controller of the S7-1500 H system by selecting the X1 PROFINET
interface of the second SIMATIC S7 controller (1) and setting the desired IP address in the properties under "Ethernet
addresses" (2). For the sample project, the default address is 192.168.0.2.
10. Recommended:
Optionally, activate and assign the system IP address for the X1 and X2 interfaces of the controllers by activating the
option "Enable the system IP address for switched communication" (1) and adjusting the address if necessary (2).
No. Action
11. Configure the S7-1500 H system as "Manager (auto)" in "Advanced options" > "Media redundancy".
The SINAMICS G220 drive cannot be integrated directly into the redundant system with Startdrive. Instead, a GSDML file is
used to connect the drive to the redundant system. This also makes it possible to configure the drive via the web server or
in a separate TIA Portal project.
This example assumes basic configuration of the SINAMICS G220 drive is already complete, and the following table only
explains the additional steps that are necessary to integrate the SINAMICS G220 into the redundant system.
No. Action
2. Drag the GSDML for the SINAMICS G220 with the corresponding firmware version from the hardware catalog (Other
field devices -> PROFINET IO -> Drives -> SIEMENS AG -> SINAMICS) into the hardware configuration.
No. Action
3. Open the device view of the newly created SINAMICS G220 (1) via GSDML and drag and drop the used submodules
(telegrams) into the device overview of the GSDML (2).
Note:
You can find the telegrams used by the drive in the telegram configuration within the Startdrive configuration:
4. Switch back to the Network view (1), right-click on "Not assigned" on the GSDML of the SINAMICS G220 and select
"Assign to new IO controller".
No. Action
5. In the dialog, select both controllers of the S7-1500 fault-tolerant system (check for both CPUs).
6. Select the PROFINET interface of the SINAMICS G220 (1) and, if necessary, assign the IP address (2) and the PROFINET
device name (3). The IP address and the PROFINET device name of the GSDML must match the values in the drive
configuration. The example uses the default values "192.168.0.4" and "sinamics-g220-pn".
No. Action
7. Configure the SINAMICS G220 as a "Client" in the advanced settings of the GSDML under Media Redundancy
8. In the real-time settings, set the watchdog factor to the value calculated by TIA Portal. It is shown in the tooltip.
3. Example project
3.1. Commissioning
If you use the components listed in chapter 1.3 and you have set up and networked the hardware as described in chapter
2.1 and 2.2, you can put the sample project into operation.
NOTE In the hardware configuration of the sample project, the SINAMCIS G220 is included twice:
• As a configured GSDML file for connection to and communication with the redundant system
If you are using other hardware and have configured it as described in this document, you can also commission your own
project by following the steps below:
No. Action
No. Action
2. Download the configuration to the SIMATIC S7 H system by right-clicking on the system in the project tree (1),
selecting "Download to device" (2) and then clicking on "Hardware and software (only changes)" (3).
3. Download the configuration to the SINAMICS G220 drive by right-clicking to select the drive in the project tree (1)
and then clicking on "Download to device" (2).
Note:
In the example project, user management for the SINAMICS G220 is enabled. Therefore, you must use the following
access data for the download:
No. Action
4. Go online with all devices by selecting the project in the project tree (1), then clicking on "Go online", selecting all
devices in the dialog (3) and clicking on "Go online".
5. Open the diagnostics of the S7-1500 fault-tolerant system (1) and check that both controllers are paired (2). Once
the controllers are paired, set both controllers to "RUN" mode (3).
Note:
You may need to go online again after switching to "RUN" mode. Once the controllers are both in "RUN" mode, this
will be indicated in the diagnostics (4)
6. Acknowledge any errors that may have occurred by opening the diagnostics in the Inspector window (1), selecting all
devices (2), selecting the errors in the message pane (3) and clicking on "Acknowledge" (4).
NOTE For more information on the use of the SINAMICS G220 together with SIMATIC S7 controllers and
controlling a drive via the SinaSpeed block, please refer to the application example "Speed control of a
SINAMICS G220 with SIMATIC S7-1500 via PROFINET" (\5\)
When the drive is moving, you can test the S2 redundancy, for example, by turning off the power supply to the primary
controller in the redundant system. This process is described in the following table:
No. Action
1. Open the "G220_Control" data block and observe the current values by clicking on "Monitor all".
2. Double-click on "Speed" (1) and specify a desired setpoint speed (e.g. 180 rpm) (2). Confirm the setpoint speed
with "OK" (3).
No. Action
4. Turn off the power supply to the primary CPU while the drive is moving.
5. The drive continues to operate. The former backup CPU is now the primary CPU.
Switch the power supply back on. The former primary CPU boots up again as a backup CPU.
6. Go online again on the SIMATIC H system and stop the drive by double-clicking again on the current value of
"Enable".
4. Appendix
4.1. Service and support
SiePortal
The integrated platform for product selection, purchasing and support - and connection of Industry Mall and Online
support. The SiePortal home page replaces the previous home pages of the Industry Mall and the Online Support Portal
(SIOS) and combines them.
• Support
In Support, you can find all information helpful for resolving technical issues with our products.
• mySieportal
mySiePortal collects all your personal data and processes, from your account to current orders, service requests and
more. You can only see the full range of functions here after you have logged in.
You can access SiePortal via this address: sieportal.siemens.com
Technical Support
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.
Please send queries to Technical Support via Web form: support.industry.siemens.com/cs/my/src
\5\ Application example: "Speed control of a SINAMICS G220 with SIMATIC S7-1500 via PROFINET"
https://support.industry.siemens.com/cs/ww/en/view/109955055