0% found this document useful (0 votes)
76 views24 pages

S2 Systemredundancy S7-1500H G220 DOC v10 en

Uploaded by

Muhammad Yanuar
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)
76 views24 pages

S2 Systemredundancy S7-1500H G220 DOC v10 en

Uploaded by

Muhammad Yanuar
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/ 24

Siemens

Industry
Online
Support

APPLICATION EXAMPLE

PROFINET S2 system redundancy


with SINAMICS G220 and
SIMATIC S7-1500H
SINAMICS G220 / SIMATIC S7-1500 / TIA Portal V19
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several components in the form of text,
graphics and/or software modules. The application examples are a free service by Siemens AG and/or a subsidiary of Siemens AG
(“Siemens”). They are non-binding and make no claim to completeness or functionality regarding configuration and equipment. The
application examples merely offer help with typical tasks; they do not constitute customer-specific solutions. You yourself are responsible
for the proper and safe operation of the products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the application examples used by technically
trained personnel. Any change to the application examples is your responsibility. Sharing the application examples with third parties or
copying the application examples or excerpts thereof is permitted only in combination with your own products. The application examples
are not required to undergo the customary tests and quality inspections of a chargeable product; they may have functional and
performance defects as well as errors. It is your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.

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.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 2


Table of contents

Table of contents
1. Introduction ...................................................................................................................................4

1.1. Overview ......................................................................................................................................................4


1.2. Principle of operation ....................................................................................................................................4
1.3. Components used .........................................................................................................................................5

2. Engineering ...................................................................................................................................6

2.1. Hardware setup ............................................................................................................................................6


2.2. Topology ......................................................................................................................................................7
2.3. Configuration ...............................................................................................................................................8
2.3.1. Configuration of the SIMATIC H system ..........................................................................................................8
2.3.2. Configuration of the SINAMICS G220 drive ................................................................................................... 14

3. Example project ...........................................................................................................................18

3.1. Commissioning ........................................................................................................................................... 18


3.2. Principle of operation .................................................................................................................................. 21

4. Appendix .....................................................................................................................................23

4.1. Service and support .................................................................................................................................... 23


4.2. Links and literature ..................................................................................................................................... 24
4.3. Change documentation ............................................................................................................................... 24

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 3


Introduction

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.

1.2. Principle of operation


S2 system redundancy
With system redundancy, a PROFINET device establishes several communication relationships to a redundant system. This
example describes S2 system redundancy, in which a SINAMICS G220 is operated as a PROFINET device on a fault-tolerant
system without the use of additional hardware.
The prerequisite for implementing system redundancy is the use of an S7-1500 fault-tolerant system. An S7-1500 fault-
tolerant system consists of two high-availability (fault-tolerant) controllers (primary and secondary CPU). If one of the H
CPUs fails, the other automatically takes over.

Schematic diagram

Fault-tolerant system

Fiber-optic

PROFINET / IE

SINAMICS G220

Motor

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 4


Introduction

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.

Limitations on the engineering system


Startdrive does not yet support the direct configuration of the drive as a client on a redundant system. Therefore, the
SINAMICS G220 must be integrated into the redundant system via a GSDML file in the project.

Limitations of the S7-1500 fault-tolerant system


Limitations of the S7-1500 fault-tolerant System can be found in the system manual "SIMATIC S7-1500 Redundant System
S7-1500R/H" (\3\).

Required knowledge
Basic knowledge of TIA Portal and SINAMICS G220 is required.

1.3. Components used


The following hardware and software components were used to create this application example:

Component Quantity Item number Note

CPU S7-1517H 1 6ES7 517-3HP00-0AB0 With Sync Modules


System Bundle

SINAMICS G220 1 6SL4112-0DA11-0AA0 Firmware V6.2

STEP 7 Professional V19 1 6ES7822-1AE23-0YA5 Engineering system in TIA Portal

Startdrive V19 1 6SL3072-4KA02-0XG5 Engineering software for SINAMICS drives


in TIA Portal

You can obtain the listed components from the Siemens Industry Mall, for example.

This application example consists of the following components:

Component File name Note

Documentation 109926733_S2_Systemredundancy_ This document


S7-1500RH_G220_DOC_V10_en.pdf

Example project 109926733_S2_Systemredundancy_ Example project for TIA Portal V19


S7-1500RH_G220_PROJ_V10.zip

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 5


Engineering

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.

Power supply (2)


The peripheral power supply (PM) supplies the system power supply (PS) and core modules (CPU) with DC 24 V. For
peripheral power supplies, we recommend the devices of the SIMATIC series. These devices can be mounted on the
mounting rail.

Synchronization modules (S7-1500H only) (3)


You will create two redundancy connections between the H CPUs with fiber-optic cables using a total of four
synchronization modules (two in each H CPU).

Fiber-optic cables (S7-1500H only) (4)


You will connect the two synchronization modules for each CPU in a pair with fiber-optic cables.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 6


Engineering

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

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 7


Engineering

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).

2. Click on "Add new device" to create a new device in the project.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 8


Engineering

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.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 9


Engineering

No. Action

5. Also enable "legacy" communication on the controller

6. Disable UMAC (User Management and Access Control) on the controller.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 10


Engineering

No. Action

7. Confirm the dialog by clicking on "Finish".

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.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 11


Engineering

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).

Advantages over device IP addresses:


• The communication partner always communicates with the primary CPU of the S7-1500 fault-tolerant system via
the same IP, regardless of which CPU is currently the primary CPU.
• The communication of the redundant S7-1500 H system via a system IP address continues to work when the
primary CPU is changed.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 12


Engineering

No. Action

11. Configure the S7-1500 H system as "Manager (auto)" in "Advanced options" > "Media redundancy".

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 13


Engineering

2.3.2. Configuration of the SINAMICS G220 drive

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

1. Open the Network view in the hardware configuration

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.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 14


Engineering

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".

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 15


Engineering

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".

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 16


Engineering

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.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 17


Example project

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

• As an engineered drive in Startdrive without a communication connection, only for parameterization of


the drive.

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

1. Unzip and open the sample project in TIA Portal.

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 18


Example project

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:

User name: Siemens


Password: Siemens123

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 19


Example project

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).

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 20


Example project

3.2. Principle of operation


The example project uses the "SinaSpeed" block to control the drive. To control the block, the "G220_Control" data block
has been created in the project. It contains the necessary signals for controlling the drive.

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).

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 21


Example project

No. Action

3. Double-click on "Enable" to start the drive at the specified speed.

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".

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 22


Appendix

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.

• Products & Services


In Products & Services, you can find all our offerings as previously available in Mall Catalog.

• 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

SITRAIN – Digital Industry Academy


We support you with our globally available training courses for industry with practical experience, innovative learning
methods and a concept that’s tailored to the customer’s specific needs.
For more information on our offered trainings and courses, as well as their locations and dates, refer to our web page:
siemens.com/sitrain

Industry Online Support app


You will receive optimum support wherever you are with the "Industry Online Support" app. The app is available for iOS
and Android:

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 23


Appendix

4.2. Links and literature


No. Topic

\1\ Siemens Industry Online Support


https://support.industry.siemens.com

\2\ Link to the article page of the application example


https://support.industry.siemens.com/cs/ww/en/view/109926733

\3\ Manual: SIMATIC S7-1500 S7-1500R/H redundant system


https://support.industry.siemens.com/cs/ww/en/view/109754833

\4\ Manual: SIMATIC S7-1500/ET 200MP Automation system


https://support.industry.siemens.com/cs/ww/en/view/59191792

\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

4.3. Change documentation


Version Date Change

V1.0 03/2024 First version

Article ID: 109926733 | V1.0 | 03/2024 © Siemens 2024 | 24

You might also like